Answer the question
In order to leave comments, you need to log in
What is the best lightweight orm to use?
Base - postgres. I liked morphia, but it's for mongo. Hibernate doesn't like it.
Answer the question
In order to leave comments, you need to log in
Spring Data JPA - for standard tasks it's nowhere easier...
https://habrahabr.ru/post/139421/
Particularly provides the ability to use dynamically generated methods like findByFirstnameStartingWith, findByStartDateBefore, etc., for which no implementation is needed.
docs.spring.io/spring-data/jpa/docs/current/refere...
I would advise you to take a closer look at MyBatis. easy and not forced)
If it's not a secret, why don't you like Hibernate? What specifically is not to your liking?
The most lightweight will be bare JDBC. And the most flexible.
It is better to refuse orm. Of course, it speeds up the development process, but only in prototypes. In production, it will be more difficult to scale, shard.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question