-->
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: Hibernate tools - reverse engeneering problem
PostPosted: Mon Jun 12, 2006 11:19 am 
Regular
Regular

Joined: Mon May 22, 2006 8:32 am
Posts: 67
Hello,

i am trying to use the hibernate tools and reverse engeneering to create files and clases through my jdbc connection.
I get the following error:
Code:
org.hibernate.exception.GenericJDBCException: Error while reading column meta data for ESDB.dbo.VIEW_GERMAN_INTERNALS_IDP
  com.sybase.jdbc2.jdbc.SybSQLException: The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'tempdb' database.

    com.sybase.jdbc2.jdbc.SybSQLException: The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'tempdb' database.



Do i need create rights or what is the problem? Thanks for advice,

regards,

a.k.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 5:33 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
search for sybase reverse engineering and you will see the known workarounds for it.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: sybase reverse engineering
PostPosted: Tue Jun 13, 2006 8:14 am 
Regular
Regular

Joined: Mon May 22, 2006 8:32 am
Posts: 67
Hi Max,
thanks for the answer.

max wrote:
search for sybase reverse engineering and you will see the known workarounds for it.


I found the needed hint:
<property name="hibernate.connection.autocommit">true</property>

I only need to read data so its ok for me.

Thanks a lot,

a.k.


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.