-->
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: Exception in reverse engineering
PostPosted: Fri Feb 02, 2007 5:25 am 
Newbie

Joined: Tue Jan 30, 2007 12:00 pm
Posts: 7
Hello,

Recently I have a problem in reverse engineering. The console shows the following exception after I clicked "Run" :

org.hibernate.cfg.JDBCBinderException: Duplicate class name 'AllRepcolumn' generated for 'org.hibernate.mapping.Table(SYS._ALL_REPCOLUMN)'. Same name where generated for 'org.hibernate.mapping.Table(SYS._ALL_REPCOLUMN)'
at org.hibernate.cfg.JDBCBinder.createPersistentClasses(JDBCBinder.java:168)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:91)
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate$2.execute(CodeGenerationLaunchDelegate.java:346)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:89)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.buildConfiguration(CodeGenerationLaunchDelegate.java:313)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.runExporters(CodeGenerationLaunchDelegate.java:221)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:130)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

Thank you for your reply.

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 5:26 am 
Newbie

Joined: Tue Jan 30, 2007 12:00 pm
Posts: 7
The version I use is 3.2.0 beta 9.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 6:45 am 
Newbie

Joined: Tue Jan 30, 2007 12:00 pm
Posts: 7
Actually the problem disappears when I redo my reverse engineering xml configuration. I had some tables excluded and now I delete them, and it works again :)

Issue closed.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 7:06 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the problem is you have the same table name in different schemas.....only select the schemas that make sense for you to reverse engineer.

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