Hi all.
I'm using Hibernate 3.0.5, Oracle 10g. I'm having trouble reading results from list returned by SQLQuery.list().
The code is:
Code:
query.addEntity("sa", ServiceAgreement.class)
.addScalar("status_hour", Hibernate.LONG)
.addScalar("status_day", Hibernate.LONG)
.addScalar("status_week", Hibernate.LONG)
.addScalar("status_month", Hibernate.LONG)
.addScalar("status_quarter", Hibernate.LONG);
Returned list ,of course, contains list of arrays.
Under Windows XP, first five elements are scalars and the last one is entity.
Under Linux Fedora Core 4, first element is entity, and the next five are scalars!
So you see the problem. The jdbc driver is 10.2.0.3.0
Could this be the problem with the driver?
Thanks.