Feature Requests item #665231, was opened at 2003-01-09 11:13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428711&aid=665231&group_id=40712

Category: Interface Improvements (example)
Group: Next Release (example)
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Improved cacheing of collections.

Initial Comment:
Suppose you have to tables A and B such that B 
references A

A
id, name

B
id, a_ID, name

In such a case it is often usefull to declare a collection 
of B's in A (Common practice) and you can make the 
collection cachable in JCS.

Now if I do:
b = new B();
session.save(b);

I create a new B row in the DB. I would expect the the 
collection of B's in A to be updated but it is not. It is out 
of date.

What I have to do is this

b= new B();
a.addB(b);
session.save(b);

I find this combersome and prone to errors. After all 
hibernate has all of the information to automaticly 
update the collection.

[EMAIL PROTECTED]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428711&aid=665231&group_id=40712


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to