[jboss-user] [JBoss Seam] - Re: Dependent Fields in 2 Classes Best Practice?

mgombocz do-not-reply at jboss.com
Fri Mar 16 19:06:22 EDT 2007


Hi Greg,

I am not if it works, because I haven't tried it yet:

Probably you could use the @javax.persistence.PrePersist and @javax.persistence.PreUpdate Callback Events in your Project Entity Bean for accumulating your expenses and then setting spentAmt.

HTH,
Manuel

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028976#4028976

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028976



More information about the jboss-user mailing list