Skip to content

Commit

Permalink
HHH-7518
Browse files Browse the repository at this point in the history
  • Loading branch information
U-MateusPimenta\Mateus Pimenta authored and stliu committed Sep 5, 2012
1 parent 072e64d commit 401d490
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -149,7 +149,7 @@ private SessionFactory locateSessionFactory() {
throw new RuntimeException( "Expected 'sessionFactoryMap' field on " + SessionFactoryRegistry.class.getName() ); throw new RuntimeException( "Expected 'sessionFactoryMap' field on " + SessionFactoryRegistry.class.getName() );
} }
instancesField.setAccessible( true ); instancesField.setAccessible( true );
Map map = (Map) instancesField.get( null ); Map map = (Map) instancesField.get( SessionFactoryRegistry.INSTANCE );
if ( map == null ) { if ( map == null ) {
return null; return null;
} }
Expand Down

0 comments on commit 401d490

Please sign in to comment.