-->
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: middlegen exclude tables when parsing
PostPosted: Wed May 09, 2007 6:16 am 
Beginner
Beginner

Joined: Thu Jan 20, 2005 1:45 pm
Posts: 49
Hi all
I use middlegen for creating hbm hibernate files.
My problem is I want to exclude some tables during parsing.How do I configure build.xml for doing that?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 09, 2007 9:39 am 
Senior
Senior

Joined: Sat Apr 21, 2007 11:01 pm
Posts: 144
http://www.hibernate.org/211.html
Code:
<mapping dir="my_mapping_folder>
  <include name="**/*.hbm"/>
  <exclude name="**/Testtable.hbm"/>
</mapping>

or: http://www.google.co.uk/search?hl=en&q= ... ude+tables

Hope that helps.

_________________
Everytime you get an answer to your question without giving credit; god kills a kitten. :(


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.