I am implementing a project with rest web services and mongodb , I would be useful to use JPA for database operations . Necessarily I need to use Hibernate ?, it would be optimal with some other lighter framework. The database is small few entities , but many records, if possible also will insert images , if the OpenShift permits. Is best used as framewrork persistence in this case?
1 Answer
A question as old as databases. IMHO, there is nothing wrong with writing a few simple Data Access Objects. Stackoverflow may offer a few helpful posts.
Spring DAO vs Spring ORM vs Spring JDBC.