ISPN-1068 Add usage support similar to the one included in Spring Data

Do not use DataAccessException from spring-jdbc. We do not want to force
users to pull in spring-jdbc.