[hibernate-dev] how to disable the annotation where

Tiago Mesquita tiagomac at gmail.com
Thu Aug 27 09:53:04 EDT 2009


Hi Guys,
I'm making a soft delete using @SQLDelete and @Where with a flag called
"active"... when active = 1 the object is not deleted, else, the object was
removed and don't come back in the search queries... but i want to bring him
back even active = 0... so maybe i'll have to disable the @Where annotation
programmatically.

Someone know how to make it?

tnx all!!!


-- 
Utilize o "CCO" na hora de encaminhar suas msgs,
isso impossibilita que programas espiões capturem os
e-mails de seus contatos e façam deles alvo de Spam.

Atenciosamente,
Tiago Mesquita A. C.
http://twitter.com/tiagomac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20090827/58fab162/attachment.html 


More information about the hibernate-dev mailing list