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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Sep 20 22:39:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-227?page=comments#action_24570 ] 

Emmanuel Bernard commented on EJB-227:
--------------------------------------

it is enabled what are you talking about. Did you provide a schema?

> 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