When i am using session.get method by passing a serializable ID which does not exists, it is still returning the object.
More details can be found at https://forum.hibernate.org/viewtopic.php?f=1&t=1016995.
Hibernate 3.2.5.GA . AS400 Platform. DB2 ( built into AS400) database
I am wondering if any one is looking at this issue or not?. Since i have raised this issue a week back , now this is delaying our release and it is on a critical path.
Let me know if i need to provide more details on this issue.
Attached ZIP file contains entire code including test code.
Please let me know if anyone is bothered to look at this issue. This is a blocking issue for my release and in my product i had to put a limitation just because i used hibernate. I would'nt have faced this issue if i had used JDBC. Please let me know if you need more information about this issue.
in the attached zip file i also put a junit test case.
3.2 is years old and no longer maintained. I ran your test case on 4.1.x and it works as expected.