Skip to content
Snippets Groups Projects
Commit a91fb94a authored by Goik Martin's avatar Goik Martin
Browse files

Comment for closing session

parent a5284aac
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,8 @@ public class CreateEntity {
log.info("Committed transaction");
em.close();
factory.close();
// See http://stackoverflow.com/questions/21645516/program-using-hibernate-does-not-terminate
factory.close();
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment