Community
Participate
Working Groups
Set up a canonical metamodel generation source folder for a JPA project with the following 2 classes and orm.xml file. The generated source has compiler errors because Bar_.java is generated into the model package. package com.model; public class Bar { private int id; } package com.model; public class Foo { private int id; private Bar bar; } orm.xml contains: <package>com</package> <entity class="model.Bar"> <attributes> <id name="id"> </id> </attributes> </entity> <entity class="com.model.Foo"> <attributes> <id name="id"> </id> <one-to-one name="bar"> </one-to-one> </attributes> </entity>
We should try to fix this in 2.3.2.
I fixed this back in March not realizing there was a bug for it. GenericOrmPersistentType.getName() was edited on March 2nd fixing this issue.