jOOQ (Java Object Oriented Querying, http://www.jooq.org/) is an Open Source library that provides a DSL to use SQL as it were natively supported by Java and treated in a object oriented way.
A SQL statement like this:
in jOOQ DSL becomes:
But jOOQ isn't just a DSL. It provides also other important features:
jOOQ could be a powerful option to Hibernate or JPA.
Tomorrow I am going to publish a post about the integration between Spring and jOOQ.
Stay tuned!
A SQL statement like this:
SELECT * FROM BOOK WHERE PUBLISHED_IN = 2011 ORDER BY TITLE
in jOOQ DSL becomes:
create.selectFrom(BOOK) .where(PUBLISHED_IN.equal(2011)) .orderBy(TITLE)
But jOOQ isn't just a DSL. It provides also other important features:
- Code Generation
- Active records
- Typesafe SQL
- SQL standard
- Vendor-specific feature support
jOOQ could be a powerful option to Hibernate or JPA.
Tomorrow I am going to publish a post about the integration between Spring and jOOQ.
Stay tuned!
Comments
Post a Comment