[
https://hibernate.onjira.com/browse/HHH-6271?page=com.atlassian.jira.plug...
]
Hardy Ferentschik commented on HHH-6271:
----------------------------------------
As Steve is saying in the mentioned email thread. orm.xml in version 1 is still supported.
There is also a test (not direct one) in
_org.hibernate.test.annotations.xml.ejb3.Ejb3XmlTest_.
I added a dedicated testcase which can currently be found here -
https://github.com/hferentschik/hibernate-orm/tree/HHH-6271
The problem is that per default an attempt is made to parse against orm version 2 and if
it fails it uses orm version 1. In the failure case it also is also prints out the seen
error message. We should somehow delay the error message and not print it if can
successfully parse orm version 1.
Looking into it ...
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