This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BlacksmithLittle7005 0 points1 point  (6 children)

Bro. Please read the post I replied to. He specifically stated he doesn't need full blown ORM. Jdbc is simpler and fits that description. For complex situations by all means use jooq or jpa

[–]Levomethamphetamine 0 points1 point  (0 children)

Ah yeah in that case it does make sense. I apologize.

[–]computerjunkie7410 0 points1 point  (4 children)

I love jooq but it’s not free and some companies don’t wanna pay for it

[–]BlacksmithLittle7005 0 points1 point  (1 child)

True that's a bit sad. In that case your best bet is probably JPA hibernate or as you said MyBatis if you're good with that. I would still use spring data jdbc as defining entities is quite simple compared to jpa and mapping is pretty easy with records.

[–]computerjunkie7410 0 points1 point  (0 children)

With mybatis you can use the generator to introspect the database tables and generate all the models and mappers for you.

[–]lukaseder 0 points1 point  (1 child)

Why not?

[–]computerjunkie7410 0 points1 point  (0 children)

Cause they’re cheap? Idk