From: <leg...@at...> - 2003-12-11 06:28:16
|
Message: The following issue has been closed. Resolver: Gavin King Date: Thu, 11 Dec 2003 12:27 AM I decided a while ago to not apply this patch, since it complexifies the build process. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-69 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-69 Summary: Refactoring of Environment Type: Patch Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: Igor Fedorenko Created: Sun, 11 May 2003 8:41 AM Updated: Thu, 11 Dec 2003 12:27 AM Description: As discussed on Hibernate mailing list few weeks back, it would be nice to have one master definition of all Hibernate properties. This master definition can be used to produce documentation, Properties- and JavaBean- style access to Hibernate properties, JCA deployment descriptor and so on. Because all this will be derived from the same source, consistency will be guaranteed and maintenance will be significantly simplified. This patch is the first step towards this goal. "Master" definition of Hibernate properties is defined as xml document and net.sf.hibernate.cfg.Environment has been refactored to use the master. Also, preliminary implementation of JavaBean-style access to the properties has been provided. Generation of java code is done using XSLT stylesheets. Once this patch is accepted I will provide the following patches I am planning to work on couple of follow-up patches (of course, if you decide to accept this patch) - SessionFactory#openSession(Properties) for session-level properties (see for example HB-46) - Configuration of all (relevant) Hibernate properties using JCA deployment descriptor PS: I would appreciate if somebody (Gavin?) commented on this patch, this will help me manage my time working on follow-ups. --------------------------------------------------------------------- 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 |