-->
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?
PostPosted: Fri Feb 25, 2011 3:44 pm 
Newbie

Joined: Fri Feb 25, 2011 3:37 pm
Posts: 1
Hello everybody.

How can I reference to a file *.hbm.xml in a external jar to my Hibernate.cfg.xml.

In general in the hibernate.cfg.xml we do:

<mapping resource="com/empresa/model/clave/Sobre.hbm.xml"/>

but in this case my config file is include in xxx project, but, the mapping file is in an external jar.

Can us help me?
Best regards.


Top
 Profile  
 
 Post subject: Re: Hibernate-mapping?
PostPosted: Fri Mar 04, 2011 8:05 pm 
Newbie

Joined: Fri Mar 04, 2011 7:47 pm
Posts: 2
Hello,
Did you find an answer? I am running into the same issue.

Thanks,
A


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.