Skip to content

Commit

Permalink
HHH-7718 Support "import" in HBM mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
brmeyer committed Oct 25, 2012
1 parent 9fbfcdc commit 38b5367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -301,7 +301,7 @@ private void processImports() {
.qualifyClassName( importValue.getClazz() );
String rename = importValue.getRename();
rename = ( rename == null ) ? StringHelper.unqualify( className ) : rename;
metadata.addImport( className, rename );
metadata.addImport( rename, className );
}
if ( root.isAutoImport() ) {
processEntityElementsImport( root.getClazz() );
Expand Down
Expand Up @@ -52,7 +52,6 @@
*
* @author Emmanuel Bernard
*/
@FailureExpectedWithNewMetamodel
public class StatsTest extends BaseCoreFunctionalTestCase {
@Override
public String[] getMappings() {
Expand All @@ -67,6 +66,7 @@ public void configure(Configuration cfg) {

@Test
@SuppressWarnings( {"UnusedAssignment"})
@FailureExpectedWithNewMetamodel
public void testCollectionFetchVsLoad() throws Exception {
Statistics stats = sessionFactory().getStatistics();
stats.clear();
Expand Down

0 comments on commit 38b5367

Please sign in to comment.