logo       


RE: Hibernate DAO finder methods and QueryException: msg#00031

Subject: RE: Hibernate DAO finder methods and QueryException
Just as a follow up, an update from CVS fixed this
problem.

Thanks to whoever fixed it!


> -----Original Message-----
> From: middlegen-user-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:middlegen-user-admin@xxxxxxxxxxxxxxxxxxx
> et]On Behalf Of Stephen
> Bartlett
> Sent: Thursday, 24 March 2005 16:54
> To: middlegen-user@xxxxxxxxxxxxxxxxxxxxx
> Subject: [Middlegen-user] Hibernate DAO finder
> methods and
> QueryException
>
>
> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/middlegen-use
r



-------------------------------------------------------
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


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe