![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
文章平均质量分 61
lin213java
这个作者很懒,什么都没留下…
展开
-
java.sql.SQLException: ORA-01722: 无效数字
[eStore]2011-12-15 13:47:21,890 ERROR Probably an exception caught by Spring MVC, check the debug info which may help identifying the error. | reportError_jsp._jspService(121)[eStore]2011-12-15 13:4...原创 2011-12-15 13:58:06 · 2130 阅读 · 0 评论 -
Hibernate中execute、executeQuery和executeUpdate之间的区别
Statement 接口提供了三种执行 SQL 语句的方法:executeQuery、executeUpdate 和 execute。使用哪一个方法由 SQL 语句所产生的内容决定。 方法executeQuery 用于产生单个结果集的语句,例如 SELECT 语句。 被使用最多的执行 SQL 语句的方法是 executeQuery。这个方法被用来执行 SELECT 语句...原创 2012-05-03 18:23:17 · 152 阅读 · 0 评论 -
hibernate中SQLQuery
对原生SQL查询执行的控制是通过SQLQuery接口进行的,通过执行Session.createSQLQuery()获取这个接口。下面来描述如何使用这个API进行查询。标量查询(Scalar queries)最基本的SQL查询就是获得一个标量(数值)的列表。sess.createSQLQuery("SELECT * FROM CA...原创 2011-11-21 17:46:55 · 622 阅读 · 0 评论 -
org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException
org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.probiz.estore.point.model.PointProductchl#1062]; nested exception is org.hibe...原创 2011-11-24 16:15:33 · 324 阅读 · 0 评论 -
hibernate注解
进入:http://www.hibernate.org说明文档:英文:http://docs.jboss.org/hibernate/annotations/3.5/reference/en/html_single/中文:http://docs.jboss.org/hibernate/annotations/3.4/reference/zh_cn/html_single/...原创 2012-02-23 11:06:59 · 106 阅读 · 0 评论