]
Steve Ebersole closed HHH-1318.
-------------------------------
Closing stale resolved issues
result of an imbed collection are dropped
-----------------------------------------
Key: HHH-1318
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1318
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.1
Environment: Tomcate 5.28 using sql 2003
Reporter: walter barnie
Attachments: Hibernate.zip
Walter Barnie
23 December 2005
Environment
Hibernate release 3.0
Spring Framework 1.2
JDTS release1.0.2
Microsoft SQL server 2003
Java jdk1.5.0_03
Files
PickListProducts.java - interface to product POJO
PickListProductsPOJO.java product POJO
PickListProductsUID.java - product unique id
PickListInventory.java - inventory interface
PickListInventoryPOJO.java - inventory POJO
PickListInventoryUID.java - inventory unique id
pickList.jsp - jsp page
PickList.hbm.xml hibernate mapping file. The table, view is PickListProductsPOJO, which
has a bag pickListInventory
stdout.log - tomcat log
Problem
Hibernate appears to be dropping records. We have a view of products that has an
imbedded collection of corresponding inventory. Using a profiler, we can see the query
being issued and the data is coming back as expected, however, the collection is empty.
Going though the log, it appears that all the corresponding items have been return and
there are entries that the appropriate collections have been hydrated with the number we
expect.
Product MOA-LJE-K 2 associated inventory items: GVELH12RMOALIBG and EVEL12ROUT
Product MOA-LGC-F has 1 inventory item GVELH12FMOALGCF
If there is anything else I can provide you with please let me know. I can be reach by
email: wbarnie(a)checkernet.com or phone (508) 438-2179. Thank you for your help.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: