Home Discussion Discuss: Hibernate Max() Function (Aggregate Functions)

  • HQL Max() Function: Null ExceptionMasud Ikbal September 19, 2011 at 3:20 PM

    I'm getting Null exception during line 2: Query query = session.createQuery(SQL_QUERY); List list = query.list(); please advice me what to do?

  • HQL Max() Function: Null ExceptionMasud Ikbal September 19, 2011 at 3:23 PM

    I'm getting Null exception during Line 2: Query query = session.createQuery(SQL_QUERY); List list = query.list(); Please advice me what to do?

  • hibernatesubbu January 19, 2012 at 4:10 PM

    Ask Questions Discuss: Hibernate Function Post your Comment Your Name Your Email Subject Your Comment Reload Image

  • Feedback on Max()Selvini August 3, 2012 at 2:30 PM

    Material is really helpful for beginners..!!! Thanks a lot ! In the query, String SQL_QUERY = "select max(insurance.investementAmount)from Insurance insurance"; alias name i.e., insurance should be used .

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
DMCA.com