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 = retrieveSession().find("from " + HibernateSimpleUser.class.getName() + " su where su.name=?", userName, Hibernate.STRING);
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..?
Eric
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel