3 ms·
JPA is just starting to show it's years. The standard hasn't kept up. For me personally, I'd like to see something like EntityFramework, but in Java. No annota
by vips7L 6y ago
JPA is just starting to show it's years. The standard hasn't kept up.
For me personally, I'd like to see something like EntityFramework, but in Java. No annotation hell, linq queries are amazing too.
I know a lot of people are moving to just using jOOQ as well.
- thom 6y agoThis is interesting to me because on the whole I feel like I was doing way more interesting things in Hibernate 15 years ago than I see people doing with ORMs today (batching, dictionaries with entity keys, custom type serializers etc). Linq is lovely of course but I’m intrigued to hear what other ways you feel the industry has moved on in this area.
- vips7L 6y agoUpserting, typesafe queries instead of raw strings, disconnecting my domain model from jpa, disconnecting my domain model from validation etc. It's also really difficult to use an EntityManager outside of a JEE/Spring/framework container. They're not thread safe and you have to manage their lifetimes manually.