-->
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.  [ 4 posts ] 
Author Message
 Post subject: Duplicate class name '...CheckConstraints' generated
PostPosted: Sun Mar 13, 2011 4:42 am 
Newbie

Joined: Mon Feb 07, 2011 11:17 am
Posts: 5
Hibernate Tools plugin (version 3.4.0) for eclipse

Hi all,

I'm using the plugin to reverse engineer my POJOs from my DB-Schema

I used to work with the 3.2.4 version and everything went well, but when I updated to the latest version- 3.40, I suddenly got this error:

"org.hibernate.cfg.JDBCBinderException: Duplicate class name '...CheckConstraints' generated for 'org.hibernate.mapping.Table"

I tried to specify each table that ensteed of the whole schema and exclude all the other tables, but yet it didn't help.

when I downgrade back to 3.2.4 everything went well again.

any suggestions?

Thanks,
nebenzal


Top
 Profile  
 
 Post subject: Re: Duplicate class name '...CheckConstraints' generated
PostPosted: Tue Apr 12, 2011 9:18 am 
Senior
Senior

Joined: Tue Aug 04, 2009 7:45 am
Posts: 124
Could you please provide us with schema and DB name/version.


Top
 Profile  
 
 Post subject: Re: Duplicate class name '...CheckConstraints' generated
PostPosted: Tue Apr 12, 2011 9:56 am 
Newbie

Joined: Mon Feb 07, 2011 11:17 am
Posts: 5
Thank you for your response.

Sorry I can't provide it, it's company confidential data.
I think it's related to jdbc metadata being locked by mssql diagram tool, which throws hibernate off ( based on trials and errors).


Top
 Profile  
 
 Post subject: Re: Duplicate class name '...CheckConstraints' generated
PostPosted: Tue Apr 12, 2011 7:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
nebenzal wrote:
Thank you for your response.

Sorry I can't provide it, it's company confidential data.
I think it's related to jdbc metadata being locked by mssql diagram tool, which throws hibernate off ( based on trials and errors).


without a schema to reproduce the error we can't really help ?

can you try reduce it something sharable ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.