Hibernate. Convert HQL to Criteria API

Posted by isuruceanu on Stack Overflow See other posts from Stack Overflow or by isuruceanu
Published on 2010-03-19T16:18:27Z Indexed on 2010/03/19 16:21 UTC
Read the original article Hit count: 329

Filed under:
|
|

How to convert the following hql to Criteria API

var criteria = this.Session.CreateQuery("select m, m.Attachments.size from AdvanceMessage m");

? Thanks

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about hql