Hi Folks,
I'm developing a web application using Hibernate. During the scope of a single Hibernate Session & Transaction, objects may be created, persisted and subsequently queried for (using hql). This last bit presents a problem, since at the point these objects are queried for the session has not yet been flushed thus the hql query returns nothing.
Is there some way in which I can include these un-flushed objects, sitting in the Hibernate Session, in my hql queries?
Cheers,
Richard.
Hibernate version:
3.2.6
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
|