Re: [Hibernate] Criteria curiosity...

2005-01-31 Thread Max Rydahl Andersen
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.

Re: [Hibernate] Criteria curiosity...

2005-01-28 Thread Max Rydahl Andersen
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

Re: [Hibernate] Criteria curiosity...

2005-01-28 Thread Gavin King
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) )

Re: [Hibernate] Criteria curiosity...

2005-01-28 Thread Max Rydahl Andersen
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

RE: [Hibernate] Criteria curiosity...

2005-01-28 Thread Steve Ebersole
: 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,

RE: [Hibernate] Criteria curiosity...

2005-01-28 Thread Steve Ebersole
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,

[Hibernate] Criteria curiosity...

2005-01-28 Thread Max Rydahl Andersen
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") )