Hi,

Maybe what I'm going to ask doesn't make much sense but I'll ask
anyway ;)

I have a field 'scrapped' in my table which is set to true when the
user delete an entity. So instead of doind a DELETE, I do an UPDATE.
This way no records get deleted.

However when I do a SELECT I need to make sure that I only get the
records for which the field 'scrapped' is set to false.

I can add that Expression to my criteria in my query, but I wanted to
know if it was possible to do it in a more generic way ? Maybe in the
mapping ?

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to