-->
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: Possible to define fetch type for codegen in revent.xml?
PostPosted: Fri Feb 02, 2007 1:29 am 
Beginner
Beginner

Joined: Fri Jan 26, 2007 3:16 pm
Posts: 24
Hi,

I'm using hibernate.reveng.xml and the eclipse plugin to generate domain code from JDBC metadata.

This seems to work nicely, but now I want to tweak things like override lazy loading on certain things. I want to do this without manually editing either the generated java code or the generated hbm.xml files.

I'm guessing it is not possible to do this in hibernate.reveng.xml? Is the best place for this in persistence.xml?

Thx in advance,
Davis


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 4:00 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
lazy settings ain't exposed in reveng.xml yet.

you can though control it from a custom reverse engineering strategy.

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