JPA Identity generation strategy

Also added logger conf. for JUnit tests