improving JPA Spring support and added db security provider