Reference 1:1

2005-04-18 Thread Ziv Yankowitz
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

RE: Reference 1:1

2005-04-18 Thread Ziv Yankowitz
, 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

RE: Reference 1:1

2005-04-18 Thread Ziv Yankowitz
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

RE: Reference 1:1

2005-04-18 Thread Ziv Yankowitz
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

query on null value

2005-04-12 Thread Ziv Yankowitz
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.

RE: query on null value

2005-04-12 Thread Ziv Yankowitz
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

urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
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

RE: urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
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

RE: urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
- 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

RE: urgent 3 level Inheritance problem

2005-03-22 Thread Ziv Yankowitz
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

RE: Will a two-level cache solve this problem?

2005-03-20 Thread Ziv Yankowitz
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

RE: Will a two-level cache solve this problem?

2005-03-20 Thread Ziv Yankowitz
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

date query

2004-10-27 Thread Ziv Yankowitz
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

Map all classes onto one table

2004-06-07 Thread Ziv Yankowitz
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

RC6 inheritance question.

2004-04-11 Thread Ziv Yankowitz
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.

Transaction Question

2004-03-18 Thread Ziv Yankowitz
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]

Reference Descriptor Question

2004-03-01 Thread Ziv Yankowitz
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

Update Inheritance Problem.

2004-02-26 Thread Ziv Yankowitz
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

Inheritance Problem.

2004-02-25 Thread Ziv Yankowitz
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:

RE: Inheritance Problem.

2004-02-25 Thread Ziv Yankowitz
(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

Observers

2004-02-18 Thread Ziv Yankowitz
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]

RE: Observers

2004-02-18 Thread Ziv Yankowitz
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

RE: Transaction Problem.

2004-02-09 Thread Ziv Yankowitz
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

Transaction Question.

2004-02-09 Thread Ziv Yankowitz
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.

RE: OJb sequence manager - Force computation of unique values

2004-02-05 Thread Ziv Yankowitz
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

RE: OJb sequence manager - Force computation of unique values

2004-02-05 Thread Ziv Yankowitz
://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

OJb sequence manager - Force computation of unique values

2004-02-04 Thread Ziv Yankowitz
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 :

OQL documentation

2004-01-25 Thread Ziv Yankowitz
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]