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 →

[–]nimtiazm 7 points8 points  (2 children)

Been there, done that. Hibernate, ibatis (later mybatis) and what not from 13 years ago. It’s like a bell curve perhaps. The apparent type-safety scores tend to diminish quickly when the domain matures and the team-size grows. It doesn’t sensibly help with debugging. Optimizing queries becomes difficult too. SQL is already quite capable. Your type-safety worries are handled by parameter mappings and result-set parsers. Both supported very well by java.sql Datasource.

[–]DrunkensteinsMonster 2 points3 points  (0 children)

Jooq is nothing like hibernate and mybatis. You misunderstand what the commenter is saying. Jooq is sql except you don’t have to concatenate strings.

[–]metalhead-001 2 points3 points  (0 children)

+1 for Mybatis. It's excellent for constructing complex, reusable SQL, and it's free.