-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Reverse Engineering of java objects and hbm files
PostPosted: Wed Mar 06, 2013 10:49 am 
Newbie

Joined: Tue Mar 05, 2013 6:44 pm
Posts: 3
Hi All,

I am trying to generate the POJOs and corresponding hbm mapping files using the Hibernate Tool provided by JBoss.

Somehow I get this error message during generation
com.sybase.jdbc3.jdbc.SybSQLException: The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'tempdb' database.

I am using hibernate-release-4.1.10.Final API and tool plugin from Hibernate tools - http://download.jboss.org/jbosstools/updates/stable/juno/

I hope I have the latest hibernate stuff.
After reading various articles, it seems that this issue is green for Hibernate Tool+Sybase

Do you have any suggestions?

Please advise.

Regards,
Ankit


Top
 Profile  
 
 Post subject: Re: Reverse Engineering of java objects and hbm files
PostPosted: Wed Mar 06, 2013 11:17 am 
Newbie

Joined: Tue Mar 05, 2013 6:44 pm
Posts: 3
Common mistake committed. Not searching the forum topics!
Answer: setautocommit to true in cfg will do the job


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.