From: <leg...@at...> - 2003-10-30 16:11:13
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- 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 |