Hibernate
iteye_5362
这个作者很懒,什么都没留下…
展开
-
[Hibernate 3] bug about string "call"
Once there's a string "call" involved in an hql, hibernate will throw an exception like the one below:HibernateSystemException: ordinal parameter mismatchThis is an open bug reported here:...2009-09-01 18:56:16 · 79 阅读 · 0 评论 -
[Hibernate 3] Index not created by SchemaUpdate
A normal index like the one below won't get created automatically if hibernate.hbm2ddl.auto is set to [b]update[/b].[code="xml"] [/code]If the property is a primary key or it's unique, the...2009-09-30 16:55:57 · 91 阅读 · 0 评论 -
[Hibernate] one cause of LazyInitializationException
Sometimes a LazyInitializationException will be thrown on getHibernateTemplate().load(). Reason being when using load(), Hibernate simply retrieves you a Proxy, which has only the id set, rest of ...原创 2010-10-19 16:08:36 · 60 阅读 · 0 评论