摘要:
今天使用Hibernate出个奇怪的错误,第一次碰到Remember that ordinal parameters are 1-based!原因是问题发生的原因是:hql语句里不需要参数,却添加了一个参数,删掉添加参数的语句就可以了!我的HQL语句:String hql="from Users a... 阅读全文
摘要:
As I was going through the various inheritance strategies in Hibernate, I came across the ‘class’ element’s attribute,polymorphism=”implicit|explicit”... 阅读全文