Hey I am writing an JSP based web application for maintaing and keep inventory of 2000+ books.
The data will be store persistent in a MySQL or PostgreSQL DB (have not decide yet), and I am use to doing things by JPA and String based SQL statements.
But a friend of mind told me about Hibernate and I find the idea of an ORM thingy intriguing, but is it worth the time to set up?
The classes I will be working with is:
User
Book
BookExtra
Author
Publisher
more about the model
A Book contains title, ISBN and so one and foreign keys to BookExtra, Author and Publisher, a user can rent a book to another user.