Tweaking POM and trying to fix weird SQL entity mapping