Java bootstrap for spring security + jpa (hibernate and mysql)