-->
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: Hibernate mapping files from dependent jar
PostPosted: Fri Apr 03, 2009 11:49 am 
Newbie

Joined: Fri May 25, 2007 3:58 pm
Posts: 10
I am using xDoclet 2 with Hibernate 3 to generate my mapping files. I am starting to have multiple web apps which each require some base domain objects.
I would like to pull my shared domain objects into a separate project and jar them up, for distribution to my multiple web apps. The problem I'm running into is in the shared objects. One of them is an audit trail object which is extended by many other domain objects unique to each web app. Since the audit class is extended and not a table, no mapping file is created for it specifically. How can I have my individual web apps create the necessary mapping files using xdoclet, when the extended class is actually in the jar (it is already compiled)? What options are available to me?

Thanks for the help.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 15, 2009 8:46 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Sorry, I don't use Xdoclet so can't really help.

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