-->
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: Extending a hibernate configartion with a second config?
PostPosted: Tue Feb 07, 2012 11:37 am 
Newbie

Joined: Thu Oct 06, 2011 10:43 am
Posts: 3
Not sure if what I want to do is possible, but in a nutshell what I'm looking to do is create a base application API using hibernate then have other applications extend or build on the base configuration.

For example a base User pojo, mapped in the initial API, and then incorporated into another mapping as a child object of a more robust SomthingUser pojo in a seperate application.

Can one import a hibernate.cfg.xml file into another configuration file to support the cross mapping (if necessary) between them or to expose the base object's mapping to the more advanced object?

Am I completely out to lunch in thinking of trying to do something like this?


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.