From: <leg...@at...> - 2003-11-23 02:25:24
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-492 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-492 Summary: serialize mappings Type: New Feature Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 beta 6 Assignee: Reporter: no_ejb Created: Sat, 22 Nov 2003 8:25 PM Updated: Sat, 22 Nov 2003 8:25 PM Environment: Any database Description: I have initiated a discussion about persist the mappings to avoid extra parsing each time starts up. Detail can be found at : http://forum.hibernate.org/viewtopic.php?t=925768&highlight= Here is the except: In my case, I have about 200 classes I am going to persist. The problem I am facing is that it takes about 1 minute for hibernate to parse all these .hbm.xml mappings (first phase and second phase) and my CPU pegged at 100%. Since my mappings rarely change, can I persist the mappings so the next time it just simple load the persisted version and bypass the first phase/second phase including xml validation etc? If in a rare chance, I do change my schema after the production I will let it reparse again of course. --------------------------------------------------------------------- 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 |