Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.2.5
Mapping documents:
Code between sessionFactory.openSession() and session.close():
sessionFactory.getCurrentSession().beginTransaction();
System.out.println(""+sessionFactory.getCurrentSession().createQuery("select NOW() from Quest q").uniqueResult());
Full stack trace of any exception that occurs: getting null value
Name and version of the database you are using: hsqldb 1.8.0.7 for Unit testing and MYSQL for Production
The generated SQL (show_sql=true): Hibernate: select now() as col_0_0_ from Quest quest0_
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html