I've run into a problem similar to the one described by
Johan Duflost titled "hibernatedao"

In addition to incorrect case being used in the finder
method's query, I also discovered the query is constructed
without an "=" operator.  This results in the following
exception:

net.sf.hibernate.QueryException: could not resolve
property: FirstName of: eg.User [from eg.User aTable WHERE
aTable.FirstName  ?]

There are two problems with the query:

1. The query is missing the '=' operator.
2. The property's case doesn't correspond to its mapping.
I expect it to begin with a lower case 'f'.




-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
middlegen-user mailing list
middlegen-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to