Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Dev List »

[hibernate-dev] how to disable the annotation where

Tiago Mesquita

2009-08-27


Author LoginPost Reply

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
_______________________________________________
hibernate-dev mailing list
hibernate-dev@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-dev
©2008 gg3721.com - Jax Systems, LLC, U.S.A.