摘要: 今天使用Hibernate出个奇怪的错误,第一次碰到Remember that ordinal parameters are 1-based!原因是问题发生的原因是:hql语句里不需要参数,却添加了一个参数,删掉添加参数的语句就可以了!我的HQL语句:String hql="from Users a... 阅读全文
posted @ 2015-07-26 03:02 遥望星空 阅读(1628) 评论(0) 推荐(0) 编辑
摘要: As I was going through the various inheritance strategies in Hibernate, I came across the ‘class’ element’s attribute,polymorphism=”implicit|explicit”... 阅读全文
posted @ 2015-07-26 00:58 遥望星空 阅读(682) 评论(0) 推荐(0) 编辑