[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3883) Filter on List - null elements - very interesting
Sandeep Vaid (JIRA)
noreply at atlassian.com
Tue Apr 28 06:04:17 EDT 2009
Filter on List - null elements - very interesting
-------------------------------------------------
Key: HHH-3883
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3883
Project: Hibernate Core
Issue Type: Improvement
Affects Versions: 3.3.1
Reporter: Sandeep Vaid
Say i have one-to-many relationship between Product and ProductNames. So Product has a List of ProductNames.
Actually we are using List for productNames.and for list, in order to maintain the sequence, it stores the sequence in
extra seperate column in DB.
Now say, after applying the filer conditions, 0th, 2nd and 5th element (out of 10 )of the list gets selected..
Returned list size will of size 6 with 1st,3rd and 4th element as null and 0th,2nd and 5th element properly populated.
I guess this is done in hibernate for maitaining ordering of List.
What should i do if i don't want these null elements in the returned List?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list