[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Delayed insert

2006-03-16 Thread Raist_Majere
If the creation operations have no transaction Requires New attribute, then the transaction in which you do the three creates and the final select are in the same transaction, so there has been no commit after the three created beans and so the select returns null. View the original post : htt

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Delayed insert

2006-03-16 Thread Roberto72
Thanks for your reply. I putted this line: @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) before stateless-session-bean method which execute the INSERTs/SELECT. But after running code I have obtained the same result. :( View the original post : http://www.jboss.com/index.htm