What are Java's Linq and Entity Framework equivalents?

entity-framework java linq

Question

Having played with Linq (to SQL and Objects) as well as the Entity Framework from Microsoft recently, I was wondering what the non-.Net (specifically Java) equivalents are?

1
30
7/4/2009 10:28:03 PM

Popular Answer

Consider using Querydsl : http://www.querydsl.com

It supports JPA/Hibernate, JDO, SQL and Collections.

Querydsl is fully type-safe, supports autocomplete in IDEs and provides a common querying syntax on top multiple backends.

I am the maintainer of Querydsl, and I wrote a comparison to other frameworks some time ago.

It is slightly biased, but shows the different emphasis

  • statically typed or not
  • which backends are supported
  • is the interface for query construction cascading or not

Newer frameworks experiment also with closure syntax.

21
8/6/2014 8:00:29 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow