Hi Phil,
DiCorpo, Phillip wrote:
I'm using ODMG and OJB 1.0.4. Any reason why I would be seeing the
following exception? Looking at the code I could only see this possibly
happening if more than one thread is accessing the array of
temporateStateListeners. Thanks in advance for the help,
I
Hi Bruno,
Bruno CROS wrote:
Hi all, hi Armin,
Using TwoLevelCacheObjectImpl, i experienced some big troubles with a
delete sequence containing some flush() to avoid FK constraints errors.
Assume 2 classes A and B, with 1:n relation.
We can resume sequence as this :
- open tx
- read objec
hi hans,
please try the following count-query:
Criteria crit = new Criteria();
crit.addEqualTo("phoneNumber.rftelco.rftelcoId", new Integer(65));
broker.getCount(query);
the generated sql for hsqldb looks like this:
SELECT count(*) FROM CALLS A0 INNER JOIN PHONE_NUMBER A1 ON
A0.PHONE_NUMBER_I
Hi,
I was just wondering if somebody could tell me what
are the general techniques used when performing writes
and reads to optimize the performance (speed wise) of
OJB?
Or is anything said about it in the documentation (I
am having trouble finding it)?
The reason I am asking is because I am doi
hi alessandro,
relationships based on non primarykey fields are supported in ojb 1.x
but not in 1.0.x.
hth
jakob
Alessandro Vincelli schrieb:
Thanks,
I have already answered you on JIRA,
this is a problem in database design,
Therefore, Can I use a fk connected to a field not PK but only u
Hi all, hi Armin,
Using TwoLevelCacheObjectImpl, i experienced some big troubles with a
delete sequence containing some flush() to avoid FK constraints errors.
Assume 2 classes A and B, with 1:n relation.
We can resume sequence as this :
- open tx
- read object A
- read collection of object
Hi,
i give you this sample example :
in case A<>B [1:n] :
the mapping of this bidiractional navigation is guaranted by the use of
inverse-foreignkey :
Mapping A classe :
Mapping B class :
--
Thanks,
I have already answered you on JIRA,
this is a problem in database design,
Therefore, Can I use a fk connected to a field not PK but only unique?
Alessandro
Jakob Braeuchi ha scritto:
hi alessandro,
could you please set a breakpoint in
PlatformDefaultImpl#setObjectForStatement at