Hi,
I have a case where Class B extends A and B contains a reference descriptor
with the following definition reference-descriptor name=super
when I update fields in which belong to Class A on instance of type B they are
not updated.
from looking at the Ojb source I see in class
,
which version of OJB do you use? Which sequence-manager?
regards,
Armin
Ziv Yankowitz wrote:
Hi,
I have a case where Class B extends A and B contains a reference descriptor
with the following definition reference-descriptor name=super
when I update fields in which belong to Class
Did You encountered with the problem I'm describing and if so is there a way I
can bypass the problem?
Thanks Ziv
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 5:19 PM
To: OJB Users List
Subject: Re: Reference 1:1
Ziv Yankowitz wrote
Yes we are creating class-descriptor at runtime, could this cause the problem?
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 5:49 PM
To: OJB Users List
Subject: Re: Reference 1:1
Ziv Yankowitz wrote:
Did You encountered with the problem
Hi,
we are using OJB 1.0.1 and
are trying to query all column in which a value is null using the ODMG Api
The query: select all from A where txt is null
the error is: txt unexpected token.
can someone please help as to what needs to be done.
Thanks Ziv.
Thanks for the quick response.
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 11:59 AM
To: OJB Users List
Subject: Re: query on null value
Ziv Yankowitz wrote:
Hi,
we are using OJB 1.0.1 and
are trying to query all column in which
Hi All,
we have class A, Class B extends A and has a super reference-descriptor to A,
Class C extends B and has a super reference-descriptor to B
when we retrieve an instance of C and update a field which is part of A class
it doesn't work.
I debugged OJB source and found out this happens
PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 2:39 PM
To: OJB Users List
Subject: Re: urgent 3 level Inheritance problem
Ziv Yankowitz wrote:
is it possible to configure OJB not to store the references in a Map.
Without going into your detailed question; I think you should
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 2:39 PM
To: OJB Users List
Subject: Re: urgent 3 level Inheritance problem
Ziv Yankowitz wrote:
is it possible to configure OJB not to store the references in a Map.
Without going into your detailed
Ziv.
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 3:32 PM
To: OJB Users List
Subject: Re: urgent 3 level Inheritance problem
Ziv Yankowitz wrote:
Hi Armin,
so is there a way to avoid the caching of references even in the cost
Hi All,
we are new to the OJB and we have the same problem.
we are using ojb 1.1 can someone please explain how can we implement the
two-level cache?
Thanks
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 5:16 PM
To: OJB Users List
Hi,
we are new to ojb and use version 1.0.1.
we have the sample problem can someone please explain how to implement the two
level cache?
Thanks
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 6:11 PM
To: OJB Users List
Subject: Re: Will a
Hi,
Is it possible to use ODMG api with the sql function to_date( ?
if so can someone provide me with an example please.
if not how can I compare dates with the ODMG api?
Thanks.
-
To unsubscribe, e-mail: [EMAIL
Hi Folks,
Assuming I have class B extends class A and I want both class to be mapped to the same
table
can same one please point to the best way of doing it.
Thanks ziv.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi Folks,
if I have a three level inheritance each mapped to it's own table,
where Class C extends Class B extends Class A
and I want to query Class C to bring all the data of all level is this possible?
I know in two level inheritance this works.
thanks.
Folks,
We are using ODMG local transaction is there any way to set timeout on the transaction?
thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Folks,
please help with an urgent problem.
we have the following mapping defined:
class-descriptor
class=Test1
table=A_TEST1
field-descriptor
name=id
column=ID
jdbc-type=INTEGER
primarykey=true
Folks,
once more inheritance issue:
we have a problem where updates on super class only, are not persist to the Database.
assuming we have the following classes:
class a{
id PK;
name;
}
class b extends a{
id2 PK;
name2;
}
and we have a super reference
Folks,
we need to map an abstract class and it's implementation to two different tables we
tried the following :
abstract class A {
private id
private valueA
protected ojbConcreteClass
}
class B extends A{
private id2
private valueB
}
the repository file:
(Advanced O/R) about this
restriction.
Regards,
Birgitta
Ziv Yankowitz wrote:
Folks,
we need to map an abstract class and it's implementation to two different
tables we tried the following :
abstract class A {
private id
private valueA
protected ojbConcreteClass
}
class B extends
Folks,
Is there any way to use observers in OJB so that they will be notified on an Object
update/insert ?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the response.
is it also possible if we are using the ODMG API.
-Original Message-
From: Peter Wieland [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Observers
You may register implementations of PBLifecycleListener
the
DB.
-Original Message-
From: Ziv Yankowitz [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 4:34 PM
To: OJB Users List; [EMAIL PROTECTED]
Subject: RE: Transaction Problem.
Hi,
Armin wrote:
No, problem is when object was only pushed to cache it's
not possible
Folks,
Is Nested Transaction supported within ODMG?
assuming we have the following :
within the same Thread.
Transaction1 start
Transaction2 start
Transaction2 finish
Transaction1 finish.
Thanks.
PROTECTED]
Sent: Wednesday, February 04, 2004 7:53 PM
To: OJB Users List
Subject: Re: OJb sequence manager - Force computation of unique values
Hi,
Ziv Yankowitz wrote:
Folks,
we are using the High/Low sequence manager implementation and we try to compute the
id in
advance with the following
://db.apache.org/ojb/sequencemanager.html#High/Low sequence manager
By the way, I will update SequenceManagerHighLowImpl to log a clear
error message.
regards,
Armin
Ziv Yankowitz wrote:
Hi Armin,
thanks for the response.
The complete stack trace
Folks,
we are using the High/Low sequence manager implementation and we try to compute the id
in
advance with the following code :
PersistenceBroker broker = ((HasBroker) tx).getBroker();
Identity oid = new Identity(object, broker);
we encounter in the following error error :
Hi All,
Can anyone point me to a documentation about OQL syntax.
thanks ziv.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
28 matches
Mail list logo