adding suport for jpa or hibernate url