- 博客(8)
- 收藏
- 关注
原创 JBPM3.2.3 发送邮件配置及553 authentication is required错误
第一,要将jbpm.mail.template.xml文件放到工程目录classpath下,否则会出现can not parseXML 等错误。 第二,修改jbpm.cfg.xml,添加自己的邮箱信息,如163邮箱: <string name="jbpm.mail.smtp.host" value="smtp.163.com" /> <stri...
2011-04-13 22:54:45 507
原创 org.hibernate.PropertyAccessException: exception setting property value with CGL
查询结果中包含null的项 对于一些数字项包含null,定义该项时必须使用wrapper类型,而不能是primitive类型,例如使用Double、Float等,而不能是double、float否则会抛出如下错误: org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hib...
2010-09-06 21:56:47 173
原创 org.hibernate.QueryException: query must begin with SELECT or FROM
出现这样的错误是由于HQL解释器使用的是 2.x的版本。 2.x :hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory 3.x:hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTransla...
2010-09-02 10:36:16 147
原创 spring+hibernate配置文件映射不加载问题
spring整合hibernate配置文件中的sessionfactory中,配置映射文件有好多种方法: LocalSessionFactoryBean有好几个属性用来查找hibernate映射文件:mappingResources、mappingLocations、mappingDirectoryLocations与mappingJarLocations。 他们的区别:mappi...
2010-09-01 11:32:03 374
原创 org.springframework.orm.hibernate3.HibernateQueryException: is not mapped
原因一: 配置文件中 hbm.xml没有配置原因二(今天我遇到的):用myeclipse 自动生成的dao中sql用的 from users as users;查了很多资料才知道应该是from com.hibernate.Users as usersform后面跟的是个完整的类名,包括package 自动的东西只是大概啊,不能太相信!!...
2010-08-31 22:35:23 113
原创 org.hibernate.QueryException: query must begin with SELECT or FROM
出现这样的错误是由于HQL解释器使用的是 2.x的版本。 2.x :hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory 3.x:hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTransla...
2010-08-31 20:53:49 130
原创 An internal error occurred during: "JSP Semantics Validator (JSF)".
关于eclipse中组件冲突问题(转载)我的Eclipse 3.3.2 + MyEclipse 6.0.1在打开JSP文件时出现以下错误: An internal error occurred during: "Processing Dirty Regions". org/eclipse/wst/sse/ui/internal/reconcile/validator/Validat...
2010-08-25 12:07:49 178
oracle中date类型作为查询条件的处理方法(菜鸟版)
Oracle数据库中表的字段设置为:date类型(这里我不需要时间,因此采用了date型,如果需要时间似乎应采用timestamp类型);模型层表对应的pojo类及hibernate映射文件中属性的类型为java.util.Date;表现层采用Dorado处理,dataset中相应的字段也设置为:date类型;利用MyEclipse中自带的hibernate逆向工程自动生成DAO类。...
2010-07-28 14:59:38 3596
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人