db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <mccallis...@forthillcompany.com>
Subject OTM Collection/Dependent Question
Date Fri, 10 Oct 2003 15:29:22 GMT
Working on an OTM tutorial and I have a fairly important question...

Foo and Bar are persistent classes

Foo contains a collection of Bar instances (collection is mapped)

You have an already persistent Foo which you queried for and you...

	Foo foo = findMyFoo(tx); // goes and gets a foo in context of the 
	Bar = new Bar();

Should bar be inserted?


To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message