-->
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.  [ 3 posts ] 
Author Message
 Post subject: Reverse Engineering Errors in Eclipse and Sybase
PostPosted: Tue Aug 29, 2006 4:21 pm 
Newbie

Joined: Tue Aug 29, 2006 3:56 pm
Posts: 2
Location: Fairfax, Va
Hello,
I'm using the Hibernate tools within Eclipse 3.2.0 in order to reverse engineer an existing database. When I try to run the tool, I get the exception noted below:

Hibernate version: 3.1

Full stack trace of any exception that occurs:org.hibernate.exception.GenericJDBCException: Error while reading column meta data for GMI.dbo.DOC_MGMT
com.sybase.jdbc2.jdbc.SybSQLException: The 'CREATE TABLE' command is not allowed within a muli-statement transaction in the 'tempdb'

Name and version of the database you are using: Sybase 12.5

Any ideas would be greatly appreciated.

Thanks,
Warren


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 30, 2006 1:23 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
answered too many times to count on the forum - use the search ;)

(hint: sybase for some reason report CREATE TABLE is used, but that is not something the tool does but the jdbc driver (apparently) when asking for metadata - enable autocommit when using the tools with sybase and you should be fine)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: That did the trick
PostPosted: Wed Aug 30, 2006 7:08 am 
Newbie

Joined: Tue Aug 29, 2006 3:56 pm
Posts: 2
Location: Fairfax, Va
Max,
Sorry, I thought I'd done a better job of checking before asking :-(
Anyway, your suggestion worked great!

Thanks :-)

-Warren-


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.