don't time for any major changes right
now.
Greg
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 12:42 PM
To: OJB Users List; Plummer, Greg; Janssen, Roger
Subject: Suspected Junk Mail: Re: [rc5 / bug / MetadataManager] Memory
leak using
Hi All,
Has there been any activity to resolve this problem. This is a big
show-stopper for us. It only takes a few minutes with a handful of users
before we run out of memory. If we can't get a resolution fairly soon,
we might be forced to abandon OJB (even though I think it's a great
product).
Hi Peter,
You might want to try declaring PersonAddress as an extend in the
class-descriptor for Address (see the Advanced OR Mapping Tutorial on
the website). I haven't tried this myself, but I was reading that
section of the tutorial last night and I think an extent might solve
your problem.
8:26 PM
To: OJB Users List
Subject: Re: Collection in superclass not saving correctly
Hi again,
Plummer, Greg wrote:
Hi Armim,
Thanks for the quick reply.
batch-mode is false.
Here's my DB definition:
jdbc-connection-descriptor
jcd-alias=ADMSTDDE
default
You could consider changing your design to use delegation rather than
inheritance. Let's say you have class A that contains all the data and
subclasses A1 through A30 that contain the different behavior. You could
move the data to class B and have class A hold on to an instance of
class B. So in
). Stay tuned.
regards,
Armin
Plummer, Greg wrote:
I tried changing the sequence manager to SequenceManagerInMemoryImpl
as you suggested. My test died, but it looks like the plan_id that
used to get stored as -1 is now getting stored as a positive int, but
it's not be the correct id. I think
Hi All,
I have a superclass, PayrollDeductionPlan, that contains a collection of
PayPlanAssociation objects. The foreign key in the PayPlanAssociation
table that points back to the PayrollDeductionPlan table is not getting
stored correctly. See the snapshots of the tables below, don't know
where
used id. Normally OJB creating
and handling id's before an object was written
to DB. When using identity columns the id can
only be read after the object was stored to DB.
hmm, do you use batch-mode 'true'?
regards,
Armin
Plummer, Greg wrote:
Hi All,
I have a superclass, PayrollDeductionPlan
Hi All,
I'm new to OJB. I'm getting the following stack trace when trying to insert an object.
The primary key field in the object has a value of 0, which I assume is valid, but in
the PersistenceBrokerImpl.storeToDb method, the pkValues variable contains a null
rather than a 0. Any ideas on