On Sat, 29 Jan 2005 09:56:35 +1100, Gavin King <[EMAIL PROTECTED]> wrote:
I guess this is the database, not us
No - sorry for not attaching the stacktrace.
If the query matches something I get this error:
org.hibernate.QueryException: could not resolve property: courseCode of:
org.hibernate.test.
AM
To: Hibernate development
Subject: [Hibernate] Criteria curiosity...
Hi,
while working on Critiera i "bumped" into this funny behavior:
Doing the following Critieria on an empty db gives no error:
s.createCriteria(Student.class)
.add( Expression.like
I guess this is the database, not us
Max Rydahl Andersen wrote:
Hi,
while working on Critiera i "bumped" into this funny behavior:
Doing the following Critieria on an empty db gives no error:
s.createCriteria(Student.class)
.add( Expression.like("name", "Gavin", MatchMode.START) )
From: Max Rydahl Andersen [mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005 2:30 PM
To: Steve Ebersole; Hibernate development
Subject: Re: [Hibernate] Criteria curiosity...
but this check is something hibernate generates. its not db dependent
AFAIK.
Not sure which DB you are using, but for ex
: Max Rydahl Andersen [mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005 2:30 PM
To: Steve Ebersole; Hibernate development
Subject: Re: [Hibernate] Criteria curiosity...
but this check is something hibernate generates. its not db dependent
AFAIK.
> Not sure which DB you are using,
et no errors. Specifically I have seen this with correlated
sub-queries.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max
Rydahl Andersen
Sent: Friday, January 28, 2005 9:56 AM
To: Hibernate development
Subject: [Hibernate] Criteria curiosity...
Hi,
Hi,
while working on Critiera i "bumped" into this funny behavior:
Doing the following Critieria on an empty db gives no error:
s.createCriteria(Student.class)
.add( Expression.like("name", "Gavin", MatchMode.START)
)
.addOrder( Order.asc("name") )