HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml
This commit is contained in:
parent
31d0ca2f0f
commit
635ee5a0ec
|
@ -369,7 +369,7 @@ public class MockHelper {
|
|||
method = getterMethod( clazz, name );
|
||||
if ( method == null ) {
|
||||
throw new HibernateException(
|
||||
"Unable to load method "
|
||||
"Unable to load property "
|
||||
+ name
|
||||
+ " of class " + clazz.getName()
|
||||
);
|
||||
|
|
|
@ -29,7 +29,6 @@ public class BasicMockerTest extends AbstractMockerTest {
|
|||
assertEquals( 1, index.getKnownClasses().size() );
|
||||
DotName itemName = DotName.createSimple( Item.class.getName() );
|
||||
assertHasAnnotation( index, itemName, JPADotNames.ENTITY );
|
||||
assertHasAnnotation( index, itemName, JPADotNames.TABLE );
|
||||
assertHasAnnotation( index, itemName, JPADotNames.ID, 2 );
|
||||
assertHasAnnotation( index, itemName, JPADotNames.GENERATED_VALUE, 2 );
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
|
|
Loading…
Reference in New Issue