Bug tracker seems to be down, will file once it is up. Thanks, Kishore
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Brandon Sent: Monday, May 02, 2005 6:56 PM To: [email protected] Subject: Re: [Andromda-user] RE: hibernate session not flushed in HibernateSessionBean.vsl It actually sounds like a bug, it should flush regardless (the only time it shouldn't flush is when an exception occurs), can you file a bug and mark it as a blocker and I'll make sure this is fixed? Kishore Thalari wrote: > Could someone (Chad?) please help me understand the following issue? > > Thanks, > > Kishore > > -----Original Message----- > *From:* Kishore Thalari > *Sent**:* Tuesday, April 26, 2005 9:33 PM > *To:* '[email protected]' > *Subject:* hibernate session not flushed in HibernateSessionBean.vsl > > Hi, > > I have just started using RC2 and I found that hibernate session is > not flushed for EJB methods with return type. As a result, when I > model EJB methods that perform updates and return something, the data > is not getting committed to the database. In earlier versions of the > hibernate catridge, session.flush was always called before session.close. > > From the template HibernateSessionBean.vsl: > > #if ($operation.returnTypePresent) > > return handle${stringUtils.capitalize($operation.name)}($parameters); > > #else > > handle${stringUtils.capitalize($operation.name)}($parameters); > > session.flush(); > > #end > > Now I am beginning to wonder.. Won't JBoss call session.flush/close > based on the declarative transactions? > > Thanks, > > Kishore > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
