From: <leg...@at...> - 2003-10-15 15:18:11
|
The following comment has been added to this issue: Author: David Morris Created: Wed, 15 Oct 2003 10:12 AM Body: In some cases I have configurations that only have dynamically configured mappings using Config.addClass(Class). I find this works very well and is more flexible. I haven't tested to confirm, but I suspect this reduces startup overhead for small standalone applications. --------------------------------------------------------------------- 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 |