mybatis-config.xml中主要是配置一些环境变量和mybatis-config分页控件的配置 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.…
mybatis-config.xml中主要是配置一些环境变量和mybatis-config分页控件的配置 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.…
1)基于druid连接池的数据源配置 2)mybatis的sqlSessionFactory配置和mybatis-config的引用 3)声明式事务的配置 4)hibernate3 自动建表的配置 5)spring quartz 的配置与规则详解 6)druid 监控jdbc的配置 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.sprin…
框架的web.xml文件 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http…
框架的pom.xml文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.…
基于maven freemarker 2.3.20 spirngmvc 3.2.9.RELEASE spring 3.2.9.RELEASE Hiberante 3.6.9.Final(自动建表) mybatis 3.2.7 数据交互 druid 连接池 cxf3.0.0 发布webservice …
在使用SHH进行J2EE轻量级项目开发时,用到了oracle11g的数据库,但是在对表中的数据进行排序分页时,有时会莫名其妙的出现排序错乱,翻页后数据显示重复的问题。开始以为是hibernate的问题,跟踪代码将hibernate生成的sql语句输出到控制台然后在PL/SQL中执行,发现生成的sql语句有点问题,执行的结果数据集根本就不对,就是Hibernate的问题,但是这个问题很容易就被发现,毕竟hibernate作为开源项目,并且应用广泛,如果是BUG,早就应该被fix掉…
在使用springmvc使用freemarker的时候,表单里有一个时间类型的字段,保存的时候,点击一下没有任何的反应,断点进不去,监控端也没有看到sql打印。刚开始以为是url的问题,我把url拿出来,单独访问,能进断点。于是我就debug了跟踪了访问信息 DEBUG - No property editor [java.util.DateEditor] found for type j…
$('#file_upload').uploadify({ //一属性详解 id: jQuery(this).attr('id'),//绑定的input的ID langFile:'/assets/uploadify/uploadifyLang_en.js',//语言包的…
解决了Warning: mysqli_connect(): (HY000/1045): Access denied for user ‘root’@’localhost’ (using password: YES)还是登录不了bugfree3,到登录界面总是提示 Database connected successfully 没有找到问题原因,但是找到了解决方法.具体操作如下: (1)进入安装目录里面的/protected/config/,找到文件main.php (2)在main.php中将下面的部分屏蔽掉,或者…
今天安装bugfree,发现创建数据库以后到登录页面报Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) ; 这个错误是因为密码是空的 编辑mysql配置文件my.ini(不知道在哪请搜索),在[mysqld]这个条目下加入 skip-grant-tables 保存退出后重启mysql &nb…