Entries Categorized as 'JPA'

Tuning Queries when using Pagination with JPA and Hibernate

Date March 12, 2010

In recent performance tuning of some EJBQL search queries, I’ve had a lot of discussions with other developers on database pagination. There are some definite nuances that you have to be aware of when using Hibernate’s pagination feature, so I thought I would explain them here.
Quick Introduction to Database Pagination with JPA
Database pagination allows […]

Getting Groovy with Seam after TSSJS

Date April 1, 2008

TSSJS was a great conference this year. Neal Ford, well-known author and ThoughtWorker, initiated the conference by delivering an inspiring keynote address discussing dynamic languages, DSLs (Domain-specific languages), and their role in the evolution of software development. Matt Raible blogged about the presentation and you can find a brief summary here. Polyglot […]

Extending query by example through annotation

Date December 4, 2007

Query by example (QBE) is a great feature for easily executing Criteria using Hibernate. By simply filling in an object and submitting it, Hibernate automatically generates the query based on the values set in the object. While this is an attractive option, in my experience it usefulness quickly becomes limited. In many cases, specifying Restrictions […]