openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <>
Subject Re: Code organization
Date Mon, 08 Jun 2009 14:36:53 GMT
On Fri, Jun 5, 2009 at 5:47 PM, Michael Dick <>wrote:

> I think the query isn't compiled until the first time you use it and then
> it's cached by its string form. Might have to look at that code again to
> verify though.


> I don't think there's a significant performance difference between the two
> (if the annotation worked). The annotations might be more expressive
> though..

I'm a bit confused. Are named queries a feature that exists solely for the
purpose of reuse or is there a performance advantage?

Daryl Stultz
6 Degrees Software and Consulting, Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message