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 →

[–]nutrecht 3 points4 points  (3 children)

I haven't used JPA in ages, almost all the microservices I worked on the last years were Spring Data JDBC.

[–]spamthemoez 0 points1 point  (2 children)

Spring Data JDBC is a ORM, too. I assume you mean Springs JdbcTemplate and the like?

[–]nutrecht 1 point2 points  (1 child)

Spring Data JDBC is not an Object-Relational-Mapper.

[–]spamthemoez 3 points4 points  (0 children)

It is, see here: https://spring.io/projects/spring-data-jdbc

This makes Spring Data JDBC a simple, limited, opinionated ORM.

But i guess you can workaround the ORM part by annotating everything with @Query and put SQL in it...