Beginner |
|
Joined: Sat Dec 03, 2005 11:12 am Posts: 27
|
Hi,
I am using Hibernate 3.1 version.
Is it possible that hibernate can return a collection in which some of the elements are null?
I am experiencing a strange problem. I have one-to-many relationship between A and B and when I do A.getB() hibernate is giving me a collection of B. Hibernate is returning a collection with expected results but also with one null element in the collection.
Why is it inserting a null element in the collection. What is causing this? How can I avoid this.
Thanks,
csr
|
|