From: <leg...@at...> - 2003-10-15 11:54:20
|
The following issue has been updated: Updater: Gavin King (mailto:ga...@in...) Date: Wed, 15 Oct 2003 6:54 AM Comment: What exactly is the reason for a session factory with no mappings?? Seems a bit strange.... Changes: type changed from Bug priority changed from Major --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-397&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-397 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-397 Summary: Hibernate configuration DTD should not require mapping(s) Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: David Morris Created: Tue, 14 Oct 2003 12:24 AM Updated: Wed, 15 Oct 2003 6:54 AM Description: The hibernate-configuration dtd defines mapping as a 1-many relationship to mappings. This makes it impossible to use a session configuration without at least one mapping defined. I have attached a patch, however the change is trivial, just change mapping+ to mapping* in http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd (will this become 2.1?). --------------------------------------------------------------------- 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 |