Hibernate logs only error messages.
JDBC-URL for In-Memory H2 added as comment.
An entity can be persisted/merged without being committed automatically. Method for finding an entity added.
Test added: A can be persisted when detached B is merged before.