0 Replies Latest reply on Jan 18, 2009 3:31 AM by tbsalling

    Calling schemaUpdate from CMT context?

    tbsalling

      My JEE-applikation runs under Jboss 5GA and the built-in hibernate3 with Hibernate Annotations.

      JBoss runs with container-managed transactions, which is fine - except that it prevents me from having Hibernate execute or update its schema. I have not been able to find any way for Hibernate to run SchemaUpdate.execute or SchemaExport.create with getting an exception that I cannot commit in CMT.

      Does anyone know, how I can run SchemaUpdate.execute under JBoss 5 ?

      Thanks in advance,
      /Thomas.