-->
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: Generating hibernate mappings at run time
PostPosted: Sun Apr 18, 2004 7:02 pm 
Senior
Senior

Joined: Sun Jan 04, 2004 2:46 pm
Posts: 147
To what extent can hibernate persistant/root classes be generated at runtime? What I want to do is generate a complete class with id/version/properties/relationships etc at runtime on top of a predefined mappings file.

I've looked at the available classes and all I need seems to be available in the .cfg and .mappings packages. However looking at the code I have some concerns that the Binder class that does the construction of the mappings in code adds to Maps/Lists such as table, imports and so on. Are these required for the construction of the session factory and subsequent use of the class in hibernate sessions or are these used for schema export and such like?

Cheers.

Myk.


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.