[
https://jira.jboss.org/jira/browse/JBPM-2049?page=com.atlassian.jira.plug...
]
Heiko Braun resolved JBPM-2049.
-------------------------------
Resolution: Done
The Db gets created externally and shipped with jpdl-config.jar. The installer then copies
it server/default/data/hypersonic
hbm2ddl.auto doesn't work within AS
-----------------------------------
Key: JBPM-2049
URL:
https://jira.jboss.org/jira/browse/JBPM-2049
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Engine
Reporter: Heiko Braun
Assignee: Heiko Braun
Fix For: jBPM 4.0.0 Alpha2
The enterprise tests fail against hypersonic because the tables cannot generated:
2009-02-18 20:53:38,181 INFO [org.hibernate.tool.hbm2ddl.SchemaExport]
(http-127.0.0.1-8080-1) Running hbm2ddl schema expo
rt
2009-02-18 20:53:38,213 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport]
(http-127.0.0.1-8080-1) import file not found: /imp
ort.sql
2009-02-18 20:53:38,213 INFO [org.hibernate.tool.hbm2ddl.SchemaExport]
(http-127.0.0.1-8080-1) exporting generated schema
to database
2009-02-18 20:53:38,215 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport]
(http-127.0.0.1-8080-1) schema export unsuccessful
java.sql.SQLException: You cannot set autocommit during a managed transaction!
at
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.setJdbcAutoCommit(BaseWrapperManagedConnection.java
:598)
at
org.jboss.resource.adapter.jdbc.WrappedConnection.setAutoCommit(WrappedConnection.java:458)
at
org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnecti
onHelper.java:60)
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:252)
at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:211)
at
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:343)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira