database project: using spring and hibernate. Proof of concept