[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-227) persistence.xml should be validated by the parser
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Nov 30 22:57:04 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-227?page=all ]
Emmanuel Bernard resolved EJB-227:
----------------------------------
Fix Version: (was: 3.2.1)
Resolution: Won't Fix
Unfortunately,
metadata.setExcludeUnlistedClasses(!"false".equalsIgnoreCase(element.getTextContent()));
is not possible, there is no way to differenciate a default value from an explicit one. If you know how to, please provide a patch :-)
> persistence.xml should be validated by the parser
> -------------------------------------------------
>
> Key: EJB-227
> URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-227
> Project: Hibernate Entity Manager
> Type: Improvement
> Components: EntityManager
> Versions: 3.2.0.cr2
> Reporter: Philippe Lefebvre
> Priority: Minor
>
>
> I had an error in my persistence.xml file that triggered some weird behavior from hibernate. It took me a long time figuring out what was going on (had to go in the sources to see). All this could have been avoided if XML validation had been turned on. It's a one liner with almost no perfomance hit (it's on startup!).
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list