[hibernate-issues] [Hibernate-JIRA] Created: (EJB-227) persistence.xml should be validated by the parser

Philippe Lefebvre (JIRA) noreply at atlassian.com
Wed Sep 20 18:04:24 EDT 2006


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