Skip to content

Commit

Permalink
other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreab8 authored and sebersole committed May 6, 2016
1 parent 37fc401 commit b77626d
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -212,6 +212,7 @@ public void testExcludeHbmPar() throws Exception {
emf = Persistence.createEntityManagerFactory( "excludehbmpar", new HashMap() );
}
catch ( PersistenceException e ) {
emf.close();
Throwable nested = e.getCause();
if ( nested == null ) {
throw e;
Expand All @@ -224,6 +225,7 @@ public void testExcludeHbmPar() throws Exception {
throw e;
}
fail( "Try to process hbm file: " + e.getMessage() );

}
EntityManager em = emf.createEntityManager();
Caipirinha s = new Caipirinha( "Strong" );
Expand Down

0 comments on commit b77626d

Please sign in to comment.