Hibernate version 3.2.6
Oracle 10g
Hi,
I'm trying to perform a simple
Code:
List list=session.createQuery("from MyJavaObject").list();
but Hibernate is not returning the expected results. I have the "show_sql" enabled and when I execute the SELECT sql statement that Hibernate prints to the console it shows a different resultset than the one returned by createQuery through the
Code:
list
object.
Could this be a mapping configuration problem? This is my first time using Hibernate but so far I have the same setup as all the sample codes I've found. If someone knows any possible reasons or any "must" please reply to this post.
Any help will be really appreciated! Thanks!