openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <awh...@bea.com>
Subject Re: Possible performance concerns?
Date Fri, 03 Nov 2006 18:08:37 GMT
> I did a little playing around, in my non-exhaustive testing it  
> seemed to
> call classForName each time you accessed a field on an Entity.
>
> "Select p.firstName from Person p where p.id = 1" called
> QueryImpl.classForName twice.

QueryImpl.classForName uses the MethodDataRepository method I  
mentioned before doing anything else, so counting calls to that  
method is not the same as couting Class.forName calls.
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Mime
View raw message