i'm using 4.0.4.GA now with no issues and i found the answer i was looking for 
by updating my persistence.xml properties with the correct flush modes: auto 
and commit.

<persistence>
  |   <persistence-unit name="gwigPersistence">
  |     <jta-data-source>java:/MySqlDS</jta-data-source>
  | 
  |     <properties>    
  |       <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |       <property name="hibernate.transaction.flush_before_completion" 
value="commit"/>
  |       <property name="hibernate.transaction.auto_close_session" 
value="true"/>
  |     </properties>
  | 
  |   </persistence-unit>
  | </persistence>

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to