Josh,

Some code and a copy of the exception message would allow everyone to
help you better.

Cheers,
John

On Jul 2, 5:34 am, jobsamuel <[email protected]> wrote:
> I thought that since you are using db generated identity, your save
> would result in a db call and your further call to criteria query
> would work. Even if you are not using db generated id the session
> would automatically flush upon a query and your criteria query should
> still work. I think this is mentioned in the document that in flush
> mode auto firing a query happens to be a flush point.
> Is my understanding wrong, if it correct then your criteria query
> should have worked, what is the reason for it to fail?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to