[
https://hibernate.onjira.com/browse/HHH-6271?page=com.atlassian.jira.plug...
]
Hardy Ferentschik commented on HHH-6271:
----------------------------------------
One approach could be to just not log an error:
{code}
public void error(SAXParseException error) {
//LOG.parsingXmlError(error.getLineNumber(), error.getMessage());
// if error has not been set yet, keep the first error
if ( this.error == null ) {
this.error = error;
}
}
{code}
If there was an error we will later wrap the error anyways in a _MappingException_. I
pushed this approach to
https://github.com/hferentschik/hibernate-orm/tree/HHH-6271.
Thoughts?
deploying with a 1.0 orm.xml, gets unexpected error HHH00196
------------------------------------------------------------
Key: HHH-6271
URL:
https://hibernate.onjira.com/browse/HHH-6271
Project: Hibernate ORM
Issue Type: Bug
Components: entity-manager
Reporter: Scott Marlow
Assignee: Hardy Ferentschik
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira