-->
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 tool reverse engine problem
PostPosted: Tue Jul 28, 2009 9:27 am 
Newbie

Joined: Mon May 29, 2006 6:14 am
Posts: 17
Hello;

I am using Hibernate Tools 3.2.4GA(Last version) and my database is firebird.

When I work reverse engine error is occured

org.hibernate.cfg.JDBCBinderException: Duplicate names found for primarykey. Existing name: PK1 JDBC name: PK_TBL_CYCLEGROUP on table org.hibernate.mapping.Table(TBL_CYCLE)
Duplicate names found for primarykey. Existing name: PK1 JDBC name: PK_TBL_CYCLEGROUP on table org.hibernate.mapping.Table(TBL_CYCLE)

what is the problem. I could work reverse with previous hibernate tool.

By the way when I change the table name that one of them reverse engine is normally working.

I think problem that There are two table and both of them are start with same text. (TBL_CYCLE and TBL_CYCLEGROUP)

How can I find a solition

Thank you for your help


Top
 Profile  
 
 Post subject: Re: Hibernate tool reverse engine problem
PostPosted: Fri Jul 31, 2009 6:41 pm 
Newbie

Joined: Fri Jul 31, 2009 6:39 pm
Posts: 1
Hi I'm also looking for the answer to this problem

_________________
cell phone numbers reverse search


Top
 Profile  
 
 Post subject: Re: Hibernate tool reverse engine problem
PostPosted: Sat Aug 01, 2009 6:41 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
void wrote:
Hello;

I am using Hibernate Tools 3.2.4GA(Last version) and my database is firebird.

When I work reverse engine error is occured

org.hibernate.cfg.JDBCBinderException: Duplicate names found for primarykey. Existing name: PK1 JDBC name: PK_TBL_CYCLEGROUP on table org.hibernate.mapping.Table(TBL_CYCLE)
Duplicate names found for primarykey. Existing name: PK1 JDBC name: PK_TBL_CYCLEGROUP on table org.hibernate.mapping.Table(TBL_CYCLE)

what is the problem. I could work reverse with previous hibernate tool.

By the way when I change the table name that one of them reverse engine is normally working.

I think problem that There are two table and both of them are start with same text. (TBL_CYCLE and TBL_CYCLEGROUP)


looks like firebird does not have unique names for their primarykeys...there should only be one.

Please report in jira with schema that gives the error.

_________________
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.  [ 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.