Hi,
I am facing the following problem. Can anybody suggest me to over come this problem.?
Problem Statement: When a HQL query issued on session for a dirty objects, the query object is fetching the dirty objects from the session, but other entities available in the session are been flushed, which should not happen for my case.
• To overcome the above mentioned case FLUSHMODE.COMMIT is being set in the session object. • Due to FLUSHMODE.COMMIT statement, the dirty entities are not been flushed from the session, but when a query is issued on the session, the dirty objects are not been fetched but which was been expected.
Thanks in Advance........!
|