Hi - I'm using Hibernate 3.0.2 (though 3.0.1 did the same thing) talking to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
Oracle JDBC driver
10.1.0.2.0
I'm getting the following:
Code:
DEBUG [org.hibernate.loader.Loader] result set row: 0
DEBUG [org.hibernate.type.LongType] returning '79' as column: PROMPT1_
DEBUG [org.hibernate.type.StringType] returning 'Test Prompt' as column: PROMPT2_
DEBUG [org.hibernate.type.StringType] returning 'Column data' as column: PROMPT3_
DEBUG [org.hibernate.type.StringType] returning 'M' as column: PROMPT4_
DEBUG [org.hibernate.type.StringType] returning 'FFFFTFF' as column: DFLT5_
DEBUG [org.hibernate.type.StringType] returning null as column: GROUP6_
DEBUG [org.hibernate.loader.Loader] result row: null
DEBUG [org.hibernate.loader.Loader] done processing result set (1 rows)
DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [org.hibernate.jdbc.AbstractBatcher] closing statement
DEBUG [org.hibernate.loader.Loader] total objects hydrated: 0
DEBUG [org.hibernate.engine.PersistenceContext] initializing non-lazy collections
I'm sure there is something I'm doing but basically the result of a session.createQuery() is returning null. If I change the query to return a list it returns a large list of null's. My query is just a "from ObjectName". It is obviously getting the data but it never creates the object for me. What part am I missing?
Any insight would be appreciated.