if you have any inconsistencies in the contuinity of your index column, hibernate will insert nulls to fill those voids.
I don't know where that sentence came from but I'll explain it better. If for a specific collection, in your db you have the index column with values
0,1,2,3,4,5,6 you will get a list back with no nulls
if, however, your index column has the values
1,2,3,4,6
you will get a list back with null values in the '0' spot and the '5' spot.
Hibernate expects it to start at 0 and have a continuous set of integers
_________________ Chris
If you were at work doing this voluntarily, imagine what you'd want to see to answer a question.
|