Hi all,
Using CMP Entity beans with a Session facade. I would like to have an event/trigger 
happen when a specific field is changed in my database, but I don't want to use 
db-specific triggers.

As an example, when setStartDate is changed, have it automatically call the 
'setDeadlineDate' with 5 days more than StartDate.  

I know this is an easy thing to do in the Session methods, but I have many methods 
that may modify the StartDate field, and rather have this trigger/event be consistent 
no matter who/what changes that field (within my application, obviously if an external 
app changes the field in the database I'm out of luck).

Any ideas or suggestions please? Looking for best solution instead of working around 
the problem. Using CMP 2 entity beans with xDoclet on Jboss 3.2RC4.
thanky!
-D



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to