-->
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: Suggstion: Make mapping optional in configuration-DTD
PostPosted: Wed Oct 29, 2003 1:46 pm 
Newbie

Joined: Wed Oct 29, 2003 1:21 pm
Posts: 1
Hi!

When I create Configurations in more than one EJB in JBoss, there seem to occur a confusion that makes all the different EJB:s pick the hibernate.cfg.xml from the same ejb-jar.

To get around that I use addClass() to define all the mappings in each EJB, but I still use the xml for the rest of the definitions. They are the same for all the EJB:s.

This works fine, but I get a SAXParserWarning telling me that I must have at least one mapping in the xml. This seem to be an estethical problem, but still...

/ Perre


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 29, 2003 7:21 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Submit this to JIRA please.


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.