Hi all,

I have the following problem with JBoss 3.2.7:

When I create a new instance of an entity bean, it is written to the database 
without the ejbStore() method being called. I verified this by inserting debug 
messages in my ejbCreate() and ejbStore() method. As I'm setting the value of 
one field (called timestam_last_change) in my ejbStore(), my code is not 
working correctly any more. It worked with JBoss 3.2.1 though.
Of course I could work around this problem by setting my timestam_last_change 
in the ejbCreate() method too, but I'm just wondering if this is a bug in jboss 
or if I misunderstood the meaning of ejbStore. I always thought ejbStore is 
alway called before the database is updated.

Any help is greatly appreciated.

Reguards,
Stefan

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to