-->
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.  [ 1 post ] 
Author Message
 Post subject: Generate DDL for all but one mapping?
PostPosted: Sat Apr 29, 2006 4:25 pm 
Regular
Regular

Joined: Tue Mar 21, 2006 11:01 am
Posts: 65
Hibernate version: 3.05

Given a hibernate-config.xml with several 1-per-class mapping files named as <mapping> elements, suppose I want to use schema generation, for all but one of the named mapping files (let's say that this mapping is to a legacy table and all the rest are new). Is there a convenient way to specify in the mapping files that DDL for this one table should not be generated when schema generation is run? Or must I manually remove this from the generated ddl (or comment it out of the hibernate-config)?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.