fix Hibernate logging and upgrade JTA lookup