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
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo