-->
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: Error generating artifacts: JDBCBinderException
PostPosted: Mon Aug 22, 2005 5:55 am 
Senior
Senior

Joined: Mon Aug 22, 2005 5:45 am
Posts: 146
Hi,

I just downloaded hibernate-tools-3.1.0.alpha5 and followed the doc as well as the flash presentation.

However I get following error when trying to generate articacts (hbm or java):

org.hibernate.cfg.JDBCBinderException:org.hibernate.mapping.Column(OBJ_ID) already exists in DMSYS.DM_ALGORITHM_SETTINGS

Evironment:
Eclipse 3.1, Java 1.5.0_04, Oracle 10g, ojdbc14.jar

btw, the same problem occurs with the alpha4 edition!

Anybody having any idea what this is due to?
Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 22, 2005 6:05 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you need to limit the reverse engineering so it doesnt go into system tables.

either setup default schema/catalog in hibernate.cfg.xml and/or create a reveng.xml that excludes the parts that is not relevant.

/max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: reveng.xml: how to exclude ALL ?
PostPosted: Mon Aug 22, 2005 7:37 am 
Senior
Senior

Joined: Mon Aug 22, 2005 5:45 am
Posts: 146
thanks, that's certainly an issue, especially also to exclude the BIN$.* tables.

However I'm having the problem, that the plugin is including tables which are not in the include-list. Do I really have to exclude every single catalog/schema which I do not want to be included ?

What I need is very simple:

exclude="all"
include="only this table in that schema/catalog"

Is this currently possible? How do I specify it?



max wrote:
you need to limit the reverse engineering so it doesnt go into system tables.

either setup default schema/catalog in hibernate.cfg.xml and/or create a reveng.xml that excludes the parts that is not relevant.

/max


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 22, 2005 7:47 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
first hit wins - meaning, at the top you include stuff and then at the bottom you add a exclude with .* in all three match attributes.

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