[OJB-developers] Problem with java.util.List not being stored.
Brought to you by:
thma
From: <tr...@th...> - 2002-05-17 04:40:07
|
I'm having a problem with a List I have in one of my classes, not being stored to the db. I just modified the tutorial app adding a List to the Product class. And a new Use case to add things to that list. When I do it and then list the products, the access rights are stored in the object, and i assume this is because the object is cached. But when close the app and open it again, the List data is gone. Has anyone had this issue before. I've set it up in repository_user.xml as this. <CollectionDescriptor id="11"> <cdfield.name>accesses</cdfield.name> <items.class>com.spaceprogram.users.UserItemAccess</items.class> <inverse_fk_descriptor_ids>4</inverse_fk_descriptor_ids> </CollectionDescriptor> But still no saves. I've even added another use case that just queries all UserItemAccess and lists those, but nothing comes up. That's why i assume that it's not being stored. Any help would be appreciated. Travis |