RE: Changing object properties outside the transaction ...

2003-12-01 Thread Hal Arnold
Not to be a prig, but the term "value object" has a specific meaning and is not the same as a data transfer object. This confusion has been amended in the J2EE patterns book (Alur/Malks/Crupi) in the second edition because of all the confusion it caused. see: http://martinfowler.com/eaaCatalog/v

RE: Contributing code and fixes

2003-11-21 Thread Hal Arnold
Wouldn't: Boolean b = Boolean.TRUE; be even better (uses the immutable version) and clearer? hba -Original Message- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 9:57 AM To: OJB Users List Subject: Re: Contributing code and fixes -BEGIN PGP SIGNE

help for init problem

2003-10-21 Thread Hal Arnold
Folks, I have an object; Advertiser that has an object; Account. The advertiser also has an AdvertiserState object (created on the fly, not in storage) that represents the status of the advertiser/account combo (the account actually holds the currentStatus as a string, for persistance. I'm usin

RE: 1:1 mapping

2003-08-01 Thread Hal Arnold
ional association OJB will evaluate this association and insert Objects in the correct order. If there is a birectional association specified OJB does not know which side is the master that must be inserted first! cheers, Thomas hal arnold wrote: > Folks, > > We have a simple parent-child relati

1:1 mapping

2003-08-01 Thread hal arnold
Folks, We have a simple parent-child relationship mapping with navigability in both directions (parent has association for child and vice-versa), with fk references in both repository descriptors pointing to the other. Everything seemed to be working (as far as autoupdate) except that today, we tu

RE: RepositoryXmlHandler

2003-07-25 Thread Hal Arnold
I'd be suspicious of the 'last-ish' error message in the stack trace: "java.lang.NumberFormatException: null" What'ya think? hba -Original Message- From: Roland Carlsson [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 10:18 AM To: OJB Users List Subject: RepositoryXmlHandler Hi

RE: [OT] Re: OJB IDE Plugins?

2003-07-24 Thread Hal Arnold
I'd love to see a pluggin. The repository (even after working with it for months) still have me foaming at the mouth. It's always something simple, but it's a pain in the hiney. If anyone hears of a pluggin for Idea (I let the poor slobs on my team use Eclipse, they really don't know any better, he

1:1 creates

2003-07-16 Thread hal arnold
I just want to make sure that I'm doing the right thing here, since I've not been able to find a unit test for the simple case of a 1:1 association create. Heres what I had to do to get it working. The navigation is from the child to the parent, one way: 1. create the parent and the child objects

oracle woes

2003-06-22 Thread hal arnold
Has anybody seen this error: Caused by: java.util.NoSuchElementException: Could not obtain next object: null at org.apache.ojb.broker.accesslayer.RsIterator.next(Unknown Source) at org.apache.ojb.broker.accesslayer.ChainingIterator.next(Unknown Source) at org.apache.ojb.bro

Help on 1:1 associations

2003-05-29 Thread Hal Arnold
GentleFolk, I'd love someone to point me to the junit example of the 1:1 association, particularily one that stores the associated object tree. I've looked at the OneToOneTest,PersistenceBrokerTest, and BrokerExamples without a clue as to how it should be done. Maybe I don't understand, but I'd