Changed test to reproduce HHH-4261

This commit is contained in:
amkad 2013-02-12 17:21:06 +07:00 committed by Brett Meyer
parent 3a07c28c08
commit 0aa4d6cfb5
2 changed files with 12 additions and 0 deletions

View File

@ -187,4 +187,9 @@ public class AnyTest extends BaseCoreFunctionalTestCase {
"org.hibernate.test.annotations.any"
};
}
@Override
protected String[] getXmlFiles() {
return new String[] { "org/hibernate/test/annotations/any/orm.xml" };
}
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="2.0">
<package>org.hibernate.test.annotations.any</package>
</entity-mappings>