Hello,
Hibernate version: 3
Mapping documents:
Code between sessionFactory.openSession() and session.close(): result = session.createQuery("from MyClazz where myProperty='someValue'" ) .list();
HibernateUtil.closeSession();
System.out.println(result.size());
for(Iterator iter = result.iter(); iter.hasNext();){
MyClazz clazz = (MyClazz)iter.next(); System.out.println("property value: " + clazz.getSomeValue()); }
Full stack trace of any exception that occurs:
Name and version of the database you are using:Oracle 9i
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
I'm a hibernate newbie and I'm to be running into an issue where my query result list.size() is 1, but when I try to print the property values in that single object, all the values are null. Any ideas or suggestions would be appreciated.
Thank you in advance.
|