-->
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.  [ 2 posts ] 
Author Message
 Post subject: exclude the schema name?
PostPosted: Mon Jul 17, 2006 3:35 am 
Regular
Regular

Joined: Mon Mar 06, 2006 6:18 am
Posts: 95
Location: Bern, Switzerland
Hi all

i'm using hibernate tools 3.2.0 beta6. Is there a possibily to exclude the generation of the schema name in the mapping files (for examle a tag in hibernate.reveng.xml) ? I know that one possibility is to adjust the ftl template)

Code:
  <class name="najsre7.model.Benutzer" table="TBENUTZER" >


instead of :

Code:
  <class name="najsre7.model.Benutzer" table="TBENUTZER" schema="NAJSRE7_WEB">


Does this version also support many-to-many relationships? If yes how do i have to define them in hibernate.reveng.xml?

regards
Angela


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 17, 2006 4:16 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
set the default schema name and it will not be set.

many-to-many is not yet supported in reveng.

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