Implemented EntityManager, moved to Hibernate 4.2.2.FINAL. Need to test everything more times.