On 30 Oct (21:40), Eric Pugh wrote:
If I use the second method, then I don't have to worry when I move my class
around, versus the first method I have to keep the classpath up to date in
the queries..?
It shouldn't make any difference.
[-- Attachment #2: winmail.dat --]
Please stop that.
, October 31, 2003 10:21 AM
To: Eric Pugh
Cc: [EMAIL PROTECTED]
Subject: Re: [Hibernate] Performance Difference in HQL?
On 30 Oct (21:40), Eric Pugh wrote:
If I use the second method, then I don't have to worry when
I move my class
around, versus the first method I have to keep
Hi all,
Is this any faster (in a real world sense):
users = retrieveSession().find(from
org.apache.fulcrum.security.spi.hibernate.HibernateSimpleUser su where
su.name=?, userName, Hibernate.STRING);
then this:
users = retrieveSession().find(from + HibernateSimpleUser.class.getName()
+ su where
No. String concatenation is very fast in Java.
Eric Pugh wrote:
Hi all,
Is this any faster (in a real world sense):
users = retrieveSession().find(from
org.apache.fulcrum.security.spi.hibernate.HibernateSimpleUser su where
su.name=?, userName, Hibernate.STRING);
then this:
users =