File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/org/hibernate/metamodel/internal/source/hbm
test/java/org/hibernate/test/stats Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ private void processImports() {
301
301
.qualifyClassName ( importValue .getClazz () );
302
302
String rename = importValue .getRename ();
303
303
rename = ( rename == null ) ? StringHelper .unqualify ( className ) : rename ;
304
- metadata .addImport ( className , rename );
304
+ metadata .addImport ( rename , className );
305
305
}
306
306
if ( root .isAutoImport () ) {
307
307
processEntityElementsImport ( root .getClazz () );
Original file line number Diff line number Diff line change 52
52
*
53
53
* @author Emmanuel Bernard
54
54
*/
55
- @ FailureExpectedWithNewMetamodel
56
55
public class StatsTest extends BaseCoreFunctionalTestCase {
57
56
@ Override
58
57
public String [] getMappings () {
@@ -67,6 +66,7 @@ public void configure(Configuration cfg) {
67
66
68
67
@ Test
69
68
@ SuppressWarnings ( {"UnusedAssignment" })
69
+ @ FailureExpectedWithNewMetamodel
70
70
public void testCollectionFetchVsLoad () throws Exception {
71
71
Statistics stats = sessionFactory ().getStatistics ();
72
72
stats .clear ();
You can’t perform that action at this time.
0 commit comments