N
N
nuclear_kote2016-09-14 21:17:16
PostgreSQL
nuclear_kote, 2016-09-14 21:17:16

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

5 answer(s)
M
mv200580, 2016-09-15
@nuclear_kote

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...

A
Anton, 2016-09-15
@MrJcnby

I would advise you to take a closer look at MyBatis. easy and not forced)

E
Eugene, 2016-09-15
@zolt85

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.

E
Eugene Ray, 2016-09-22
@firezhek

Hibernate. I don't know why it looks bad to you. Never failed.

A
Alibek Beldinov, 2016-09-22
@Neuyazvimy1

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 question

Ask a Question

731 491 924 answers to any question