Adding hibernate with postgresql.

Adding insert function.