openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
Subject Re: Code organization
Date Mon, 08 Jun 2009 14:36:53 GMT
On Fri, Jun 5, 2009 at 5:47 PM, Michael Dick <michael.d.dick@gmail.com>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.
http://www.6degrees.com
mailto:daryl@6degrees.com

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