diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/MockHelper.java b/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/MockHelper.java index 4c0cc7bca3..802d01af81 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/MockHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/MockHelper.java @@ -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() ); diff --git a/hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/mocker/BasicMockerTest.java b/hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/mocker/BasicMockerTest.java index 1b72ff72f5..6a1f39e2a1 100644 --- a/hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/mocker/BasicMockerTest.java +++ b/hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/mocker/BasicMockerTest.java @@ -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 ); } diff --git a/hibernate-core/src/test/resources/org/hibernate/metamodel/source/annotations/xml/orm.xml b/hibernate-core/src/test/resources/org/hibernate/metamodel/source/annotations/xml/orm.xml index fd9c53fd48..87d19123b9 100644 --- a/hibernate-core/src/test/resources/org/hibernate/metamodel/source/annotations/xml/orm.xml +++ b/hibernate-core/src/test/resources/org/hibernate/metamodel/source/annotations/xml/orm.xml @@ -1,4 +1,3 @@ -