zno2

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页

2016年8月6日 #

oracle问题:新建了一个PDM文件,建表后生成的sql语句中含有clustered

摘要: 问题描述 为了在oracle中新增表,在PDM中建表,使用其生成的sql语句,但是建表不能成功,提示 ORA-00906: 缺失左括号 原因是多了clustered 关键字 情景重现 1. 新建一个pdm文件 2. 建表后预览sql 是有clustered 这个关键字的 3. 建表时报错 问题解决 阅读全文

posted @ 2016-08-06 07:56 zno2 阅读(548) 评论(0) 推荐(0) 编辑

google/protobuf hello world

摘要: /(ㄒoㄒ)/~~ 官网被墙 1. github > Search > protobuf or protocol buffers 2.https://github.com/google/protobuf 3. releases 4. protoc-3.0.0-alpha-2-win32.zip re 阅读全文

posted @ 2016-08-06 07:56 zno2 阅读(1045) 评论(0) 推荐(0) 编辑

Introduction MBG

摘要: 文档地址 http://www.mybatis.org/generator/configreference/xmlconfig.html 源码地址 https://github.com/mybatis/generator 阅读全文

posted @ 2016-08-06 07:55 zno2 阅读(112) 评论(0) 推荐(0) 编辑

从命令行运行 MyBatis Generator

摘要: ? ? 一、准备 1. 获取最新jar包 2. 获取xml dtd <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed under the Apache License, Version 2.0 (the "License"); you may 阅读全文

posted @ 2016-08-06 07:55 zno2 阅读(908) 评论(0) 推荐(0) 编辑

Introduction mybatis

摘要: 项目地址 https://github.com/mybatis/mybatis-3 英文官网 http://mybatis.github.io/mybatis-3/ 中文官网 http://mybatis.github.io/mybatis-3/zh/index.html 生成工具 https:// 阅读全文

posted @ 2016-08-06 07:55 zno2 阅读(138) 评论(0) 推荐(0) 编辑

spring 整合 mybatis (不含物理分页)

摘要: http://www.mybatis.org/spring/mappers.html http://www.mybatis.org/spring/zh/mappers.html 关于 basePackage 第一,支持正则: 如果 value 为 com.lzkj.zsl.clubber.serve 阅读全文

posted @ 2016-08-06 07:54 zno2 阅读(172) 评论(0) 推荐(0) 编辑

mybatis insert 自动生成key

摘要: SYS_GUID (),是Oracle 8i 后提供的函数。 阅读全文

posted @ 2016-08-06 07:54 zno2 阅读(207) 评论(0) 推荐(0) 编辑

mybatis 配置延迟加载 和 缓存

摘要: cglib cglib-nodep 3.1 阅读全文

posted @ 2016-08-06 07:54 zno2 阅读(163) 评论(0) 推荐(0) 编辑

mybaits foreach

摘要: 结果: 补充:diseaseIds : "8,19" 阅读全文

posted @ 2016-08-06 07:54 zno2 阅读(239) 评论(0) 推荐(0) 编辑

2015-08-13T17:39:15

摘要: ACTION里 Date upateTime; 有setter getter 页面字符串 是'2015-08-13T17:39:15' 该字符串可以直接映射成Date 。 阅读全文

posted @ 2016-08-06 07:53 zno2 阅读(115) 评论(0) 推荐(0) 编辑

Introduction

摘要: 官方网站: http://www.mybatis.org/mybatis-3/index.html http://www.mybatis.org/spring/ http://www.mybatis.org/mybatis-3/java-api.html 阅读全文

posted @ 2016-08-06 07:53 zno2 阅读(110) 评论(0) 推荐(0) 编辑

mybatis 存储过程调用

摘要: 接口 UserInfoMapper.java xml UserInfoMapper.xml 如何关联 方法 调用 阅读全文

posted @ 2016-08-06 07:53 zno2 阅读(352) 评论(0) 推荐(0) 编辑

mybatis 简单实现 left join

摘要: sql xml 内部调用不需要在mapper接口中定义(getTbNameById 只写到mapper.xml 中即可) 注:resultType or resultMap 和 association的property类型保持一致。 association 传多个参数 parameterType=" 阅读全文

posted @ 2016-08-06 07:53 zno2 阅读(3194) 评论(0) 推荐(0) 编辑

ORA-00911 无效字符

摘要: ORA-00911 无效字符 调查发现用plsql 写语句,把分号; 带进了mybatis 的mapper中 蛋都碎了。。。。 去掉; 一切ok 阅读全文

posted @ 2016-08-06 07:53 zno2 阅读(181) 评论(0) 推荐(0) 编辑

七)oracle 2 mysql

摘要: /* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50527 Source Host : localhost:3306 Source Database : test Target Server Type : MYSQL Ta... 阅读全文

posted @ 2016-08-06 07:52 zno2 阅读(190) 评论(0) 推荐(0) 编辑

8) Struts2 2 SpringMVC

摘要: git@github.com:witaste/smse.git 数据库脚本: ps:目前是角色-菜单(受保护urls) 左 阅读全文

posted @ 2016-08-06 07:52 zno2 阅读(183) 评论(0) 推荐(0) 编辑

什么是MVC

摘要: .pdm PowerDesigner's physical data model (relational model) file format mvc Model–view–controller, a software architecture used in software engineerin 阅读全文

posted @ 2016-08-06 07:52 zno2 阅读(157) 评论(0) 推荐(0) 编辑

五)使用 easyui-tabs 遭遇错误 Unexpected Exception caught setting '_' on

摘要: 产生原因是使用href 原因不明。 解决办法: 不使用href ,使用 content 阅读全文

posted @ 2016-08-06 07:51 zno2 阅读(596) 评论(0) 推荐(0) 编辑

六)iframe 及父子页面之间获取元素、方法调用

摘要: http://www.w3school.com.cn/tags/tag_iframe.asp father.html san.html 补充: jQuery选择元素用: jQuery(expression, [context]) 返回值:jQuery 效果图: 阅读全文

posted @ 2016-08-06 07:51 zno2 阅读(203) 评论(0) 推荐(0) 编辑

七)如何实现权限控制

摘要: 1. 为每个菜单绑定角色 2. 为用户绑定角色,用户只能看到自己角色下的菜单 3. root 用户可以查看所有菜单。 阅读全文

posted @ 2016-08-06 07:51 zno2 阅读(154) 评论(0) 推荐(0) 编辑

二)手动添加基础数据

摘要: 基础数据: 删除sql: 系统管理数据: 阅读全文

posted @ 2016-08-06 07:50 zno2 阅读(211) 评论(0) 推荐(0) 编辑

三)EasyUI layout

摘要: 参考文档 http://www.jeasyui.com/documentation/layout.php 阅读全文

posted @ 2016-08-06 07:50 zno2 阅读(94) 评论(0) 推荐(0) 编辑

四)绘树

摘要: 实测代码: 打印结果: 格式化结果: 实际项目应用见:SMSE 为 easyui-tree 阅读全文

posted @ 2016-08-06 07:50 zno2 阅读(204) 评论(0) 推荐(0) 编辑

一)6张表

摘要: 1用户表 SMSE_USER 2角色表 SMSE_ROLE 3菜单表 SMSE_MENU 4用户角色关联表 SMSE_USER_ROLE_LINK 5角色菜单关联表 SMSE_ROLE_MENU_LINK 6进入权限表 SMSE_ACCESS_PERMISSION sql: 阅读全文

posted @ 2016-08-06 07:49 zno2 阅读(191) 评论(0) 推荐(0) 编辑

RollingFileAppender

摘要: http://logback.qos.ch/manual/appenders.html#RollingFileAppender 1.基于时间的滚动策略 TimeBasedRollingPolicy 就好比一个小车,推着走。车身所压的时间就是要保留日志的时间。 2.基于大小和时间的文件命名和触发策略 阅读全文

posted @ 2016-08-06 07:48 zno2 阅读(564) 评论(0) 推荐(0) 编辑

SMTPAppender

摘要: SMTP(Simple Mail Transfer Protocol)即简单邮件传输协议,它是一组用于由源地址到目的地址传送邮件的规则,由它来控制信件的中转方式。 http://logback.qos.ch/manual/appenders.html#SMTPAppender http://pop- 阅读全文

posted @ 2016-08-06 07:48 zno2 阅读(302) 评论(0) 推荐(0) 编辑

单级别过滤器

摘要: https://logback.qos.ch/manual/filters.html 就可以专心接受ERROR 错误信息了,然后生成相应的文件或发邮件,供查询。 意为:这个appender 接受哪个级别的event (精确匹配) 如果有需求需要接受 WARN 及 以上的,可以使用 Threshold 阅读全文

posted @ 2016-08-06 07:48 zno2 阅读(147) 评论(0) 推荐(0) 编辑

多级别过滤器

摘要: 1. <logger name="cn.zno" level="WARN" /> 作用是配置Logger类,在调用.trace .debug 等信息时进行拦截 依据以下代码 位于ch.qos.logback.classic.Logger.class : effectiveLevelInt 可能的值是 阅读全文

posted @ 2016-08-06 07:48 zno2 阅读(609) 评论(0) 推荐(0) 编辑

MongoDBAppender

摘要: 分三步: 1. client 2. appender 3. 配置文件 logback-test.xml <configuration> <appender name="MONGO" class="cn.zno.mongodb.MongoDBAppender"> <filter class="ch.q 阅读全文

posted @ 2016-08-06 07:48 zno2 阅读(714) 评论(0) 推荐(0) 编辑

org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

摘要: 查看日志信息: 解释: SLF4J: 类路径包含多个SLF4J绑定 SLF4J: —— SLF4J: —— SLF4J: —— SLF4J: 实际绑定的是类型[org.slf4j.impl.SimpleLoggerFactory] 解决办法,移除slf4j-simple-1.6.4.jar 如何发现 阅读全文

posted @ 2016-08-06 07:47 zno2 阅读(2359) 评论(0) 推荐(0) 编辑

简单引入logback

摘要: pom.xml Test.java 控制台打印: 阅读全文

posted @ 2016-08-06 07:47 zno2 阅读(221) 评论(0) 推荐(0) 编辑

Logback configuration

摘要: 官方指导 http://logback.qos.ch/manual/configuration.html 规则 ch.qos.logback.core.joran.JoranConfiguratorBase.java (位于 core) ch.qos.logback.classic.joran.Jo 阅读全文

posted @ 2016-08-06 07:47 zno2 阅读(890) 评论(0) 推荐(0) 编辑

ConsoleAppender

摘要: http://logback.qos.ch/manual/appenders.html#ConsoleAppender STDOUT means standard out 阅读全文

posted @ 2016-08-06 07:47 zno2 阅读(479) 评论(0) 推荐(0) 编辑

FileAppender

摘要: http://logback.qos.ch/manual/appenders.html#FileAppender 这个testFile.log 会默认生成到项目根目录不推荐这样设置。 明确指定普通项目和WEB项目的日志文件位置: <file>E:${file.separator}logs${file 阅读全文

posted @ 2016-08-06 07:47 zno2 阅读(220) 评论(0) 推荐(0) 编辑

PatternLayoutEncoder 输出格式

摘要: ch.qos.logback.classic.encoder.PatternLayoutEncoder ch.qos.logback.classic.PatternLayout ch.qos.logback.core.pattern.PatternLayoutBase PatternLayoutBa 阅读全文

posted @ 2016-08-06 07:47 zno2 阅读(1636) 评论(0) 推荐(0) 编辑

linux 下运行 tomcat

摘要: 一开始找不到表名,原来mysql 表名区分大小写。 修改参数 lower_case_table_names=1 成功运行后不能通过浏览器访问! 开启8080端口 一、关闭防火墙 firewall-cmd --state 查看状态 systemctl disable firewalld.service 阅读全文

posted @ 2016-08-06 07:46 zno2 阅读(157) 评论(0) 推荐(0) 编辑

linux find

摘要: find / -name nginx.conf 在根目录下寻找nginx.conf 文件 find -help 举例: find / -name java find [path...] [expression] find [path...] -name [PATTERN] 阅读全文

posted @ 2016-08-06 07:46 zno2 阅读(184) 评论(0) 推荐(0) 编辑

Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError.

摘要: 查看日志 查看Java Build Path - Maven Dependencies C:\Documents and Settings\Administrator\.m2\repository\org\slf4j\slf4j-log4j12\1.7.2\slf4j-log4j12-1.7.2.j 阅读全文

posted @ 2016-08-06 07:46 zno2 阅读(476) 评论(0) 推荐(0) 编辑

Linux 查看是64位还是32位

摘要: [root@VM_7_88_centos ~]# uname -a Linux VM_7_88_centos 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 阅读全文

posted @ 2016-08-06 07:45 zno2 阅读(129) 评论(0) 推荐(0) 编辑

linux 的各个文件夹都是干什么用

摘要: http://www.ruanyifeng.com/blog/2012/02/a_history_of_unix_directory_structure.html http://www.pathname.com/fhs/pub/fhs-2.3.html http://lists.busybox.ne 阅读全文

posted @ 2016-08-06 07:45 zno2 阅读(403) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页

导航