The following comment has been added to this issue:
Author: Per-Erik Lindskog
Created: Thu, 30 Oct 2003 10:13 AM
Body:
Accidentally this issue was tagged as Hibernate 1.2, it should really be 2.1
/ Perre
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HBI-15
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HBI-15
Summary: Suggstion: Make mapping optional in configuration-DTD
Type: Improvement
Status: Unassigned
Priority: Trivial
Project: Hibernate 1.2
Assignee:
Reporter: Per-Erik Lindskog
Created: Thu, 30 Oct 2003 10:09 AM
Updated: Thu, 30 Oct 2003 10:09 AM
Description:
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
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|