RE: Suspected Junk Mail: Re: [rc5 / bug / MetadataManager] Memory leak using dynamic mapping o n per thread bases

2003-12-22 Thread Plummer, Greg
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

RE: [rc4 / BUG] major memory leak in MetadataManager

2003-12-17 Thread Plummer, Greg
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).

RE: Problem mapping inheritance hierarchy using joined tables for subclasses

2003-12-04 Thread Plummer, Greg
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.

RE: Collection in superclass not saving correctly

2003-10-31 Thread Plummer, Greg
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

RE: mapping many classes to one table

2003-10-31 Thread Plummer, Greg
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

RE: Collection in superclass not saving correctly

2003-10-31 Thread Plummer, Greg
). 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

Collection in superclass not saving correctly

2003-10-30 Thread Plummer, Greg
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

RE: Collection in superclass not saving correctly

2003-10-30 Thread Plummer, Greg
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

assertValidPkFields

2003-08-10 Thread Plummer, Greg
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