-->
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: hbm2ddl filtering
PostPosted: Tue May 05, 2009 1:12 pm 
Newbie

Joined: Tue May 05, 2009 12:41 pm
Posts: 1
I have multiple components (jars with sets of hbm files) imported into a project. The project build script runs ant task hibernatetool with hbm2ddl to generate the db creation sql, however I'd like to control which tables are included in the generated sql script.

I was hoping to use something like a hbm2ddl child element fileset/patternset of hbm files (eg com/mycomp/component1/**/*.hbm) but filtering based on the hibernate-mapping class name or even the table name would work fine.

Any suggestions how I do this without having to write a custom exporter?


Top
 Profile  
 
 Post subject: Re: hbm2ddl filtering
PostPosted: Tue May 05, 2009 1:53 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
No such feature exist - patches welcome.

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