Java 基于sybase的Hibernate逆向工程

Java 基于sybase的Hibernate逆向工程,java,hibernate,Java,Hibernate,我正在尝试使用sybase数据库实现Hibernate反向工程,但我一直遇到以下错误: Caused by: java.sql.SQLException: The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'tempdb' database. 我看到它正在我的数据库上执行以下过程 devConfig..sp_jdbc_primarykey 'devConfig','dbo'

我正在尝试使用sybase数据库实现Hibernate反向工程,但我一直遇到以下错误:

Caused by: java.sql.SQLException: The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'tempdb' database.
我看到它正在我的数据库上执行以下过程

devConfig..sp_jdbc_primarykey 'devConfig','dbo','Customer' 
如果我从任何数据库工具(如squirrel或DBArtisan)执行此命令,该命令运行良好,但通过hibernate失败

我在想我是否可以以某种方式禁用Hibernate事务,但我没有找到任何这样的方法


有人能帮我一下吗?

hibernate是否在链式事务模式下运行(例如,autocommit=false)?如果是这样,你能禁用它吗(例如,autocommit=true)?