[Hibernate] New error on Annotation query

2006-06-18 Thread Emmanuel Bernard
Has something changed that I haven't propagated in my code? org.hibernate.HibernateException: cannot perform autodiscovery on queries with non-scalar results at org.hibernate.loader.custom.CustomLoader$NonScalarResultColumnProcessor.performDiscovery(CustomLoader.java:453) at org.hibern

Re: [Hibernate] New error on Annotation query

2006-06-19 Thread Steve Ebersole
anuel Bernard Sent: Sunday, June 18, 2006 10:21 PM To: Hibernate development Subject: [Hibernate] New error on Annotation query Has something changed that I haven't propagated in my code? org.hibernate.HibernateException: cannot perform autodiscovery on queries with non-sca

Re: [Hibernate] New error on Annotation query

2006-06-19 Thread Max Andersen
Title: Re: [Hibernate] New error on Annotation query >From my understanding in discussions with Max, auto-discovery is illegalonce any returns have been defined/added.Max, can you clarify here?  Thinking some more about it, maybe you justmeant the column name discovery (as it should

Re: [Hibernate] New error on Annotation query

2006-06-20 Thread Max Rydahl Andersen
ay, June 18, 2006 10:21 PM > To: Hibernate development > Subject: [Hibernate] New error on Annotation query > > Has something changed that I haven't propagated in my code? > > > org.hibernate.HibernateException: cannot perform autodiscovery on > queries with non-scalar resul

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Steve Ebersole
Try it again from SVN. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Sunday, June 18, 2006 10:21 PM To: Hibernate development Subject: [Hibernate] New error on Annotation query Has something changed that I haven't propagat

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Emmanuel Bernard
ry it again from SVN. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Emmanuel Bernard > Sent: Sunday, June 18, 2006 10:21 PM > To: Hibernate development > Subject: [Hibernate] New error on Annotation query > > Has so

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Max Rydahl Andersen
-Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Emmanuel Bernard >> Sent: Sunday, June 18, 2006 10:21 PM >> To: Hibernate development >> Subject: [Hibernate] New error on Annotation query >> >> Has som

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Max Rydahl Andersen
[EMAIL PROTECTED] On Behalf Of >> Emmanuel Bernard >> Sent: Sunday, June 18, 2006 10:21 PM >> To: Hibernate development >> Subject: [Hibernate] New error on Annotation query >> >> Has something changed that I haven't propagated in my code? >> >&g

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Steve Ebersole
I am creating a similar test in the core testsuite and see if I can reproduce. -Original Message- From: Max Andersen Sent: Wednesday, June 21, 2006 3:53 PM To: Emmanuel Bernard; Steve Ebersole Cc: Hibernate development Subject: Re: [Hibernate] New error on Annotation query This should

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Steve Ebersole
Behalf Of Steve Ebersole Sent: Wednesday, June 21, 2006 3:55 PM To: Max Andersen; Emmanuel Bernard Cc: Hibernate development Subject: Re: [Hibernate] New error on Annotation query I am creating a similar test in the core testsuite and see if I can reproduce. -Original Message- From: Max

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Emmanuel Bernard
ndersen; Emmanuel Bernard > Cc: Hibernate development > Subject: Re: [Hibernate] New error on Annotation query > > I am creating a similar test in the core testsuite and see if I can > reproduce. > > -Original Message- > From: Max Andersen > Sent: Wednesday, June 21,

Re: [Hibernate] New error on Annotation query

2006-06-22 Thread Steve Ebersole
eries... -Original Message- From: Emmanuel Bernard [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 4:59 PM To: Steve Ebersole Cc: Hibernate development Subject: Re: [Hibernate] New error on Annotation query My description was too generic. I've updated the GeneralTest b

Re: [Hibernate] New error on Annotation query

2006-06-22 Thread Steve Ebersole
, 2006 3:37 PM To: Hibernate development Subject: Re: [Hibernate] New error on Annotation query On Oracle10g it actually returns String for both of the scalars. Not sure what you want to have happen here. The ResultSetMetaData explicitly reports columnType = 12 (java.sql.Types.VARCHAR) for both of