DSetImpl how to implement ManageableCollection ?

2003-03-28 Thread
Hi! I try to design a user-define collection that extends DSetImpl, because I need a auto-update set. I see the DListImpl has implemented ManageableCollection , but DSetImpl hasn't. I code a class PersonSet like as:

Re: DSetImpl how to implement ManageableCollection ?

2003-03-28 Thread Armin Waibel
Hi Dogie, you have to declare class PersonSet in repository too. Take a look in repository_internal.xml regards, Armin - Original Message - From: ½²³Õ¦Ü [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:32 AM Subject: DSetImpl how to implement

RE: OJB and getting a PersistenceBroker instance for a second non-default database

2003-03-28 Thread Mark Rowell
Hi Armin Oh, on temporarily switching to RC1 my userID/pw problem went away -- they are specified in the repository file -- I guess that when PBKey was supplied with null userID and password this is what appears in the debut output for the repository in 0.9.9. Many thanks Mark -Original

How to manage criteria entries

2003-03-28 Thread Sylvain.Thevoz
Hello, I'm working on a Search web form and I'm using OJB to retrieve data from my database. I have three criteria on my form: - name (String) - dhcp (boolean) - status (int) The user has 2 choices: enter a data in the form fields or not. I want to retrieve: - all (no criteria in the query) if

RE: How to manage criteria entries

2003-03-28 Thread Sylvain.Thevoz
Hi Charles, Criteria crit = new Criteria(); if(!this.getName()==null){ crit.addEqualTo(name, this.getName()); } if(!this.getDhcp()==null){ crit.addEqualTo(dhcp, this.getDhcp()); } if(!this.this.getStatus()==null){ crit.addEqualTo(status, this.getStatus()); } I think that's the best

Re: using OJB's JDO api from enterprise beans.

2003-03-28 Thread Shyam
Thanks for the Info Armin. when is the expected OJB2.0 release ? in June'03 ? - Shyam On Friday 28 March 2003 03:58 pm, Armin Waibel wrote: Hi Shyam, currently JDO-api implementation is a prototype, thus we do not add any support for j2ee appServer integration. When we finished OTM-api

RE: primary key initialisation

2003-03-28 Thread Lance Eason
Empirically if the value is 0 then OJB will assign it a unique id. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: None To: [EMAIL PROTECTED] Subject: primary key initialisation I am sorry if this has already been answered on this list, but the list archives

RE: regression test errors

2003-03-28 Thread Bonnie MacKellar
I was not at Mobius before 1999, so I really would not know... Yes, this is for an important project and I am not feeling very good about this. The alternatives though, are to buy something or do it ourselves. Our company tends to be of the do it yourself mentality. Since what we need is exactly

RE: PersistenceBroker State Question

2003-03-28 Thread Lance Eason
It all depends on the cache you use (specified in OJB.properties). ObjectCacheDefaultImpl will never get flushed automatically (which can be problematic for transactional isolation). ObjectCachePerBrokerImpl will get flushed on broker.close(). -Original Message- From: Jacob Hookom

Re: Deploy OJB in WebLogic Server

2003-03-28 Thread Jem McCombe
Hi, At 22:36 18/03/2003 +0100, you wrote: Just to complete the information provided by Lucy, you can find here how to deploy OJB (PB) on weblogic. It is quite similar to Jboss. I think Thomas should be interested to receive this small install guide for weblogic (Tested only on Weblogic 7):

RE: PersistenceBroker State Question

2003-03-28 Thread Jacob Hookom
Thanks! I had just noticed it seemed to be different from earlier releases (unless I missed something) with transaction state and closing. -Jacob | -Original Message- | From: Lance Eason [mailto:[EMAIL PROTECTED] | Sent: Friday, March 28, 2003 12:25 PM | To: OJB Users List | Subject: RE:

Mapping compound primary key in OJB

2003-03-28 Thread Chiah Tong Kiat
Hi I’m trying to map table that contains compound keys. I cant’ seems to find any documentation in regards to this. Could anyone tell me or refer me to the correct documentation for it? Thanks Tong Kiat - To

ejb deployment: reasons for binding the factories?

2003-03-28 Thread Vincenz Braun
Hello, I wonder why the PBFactory or ODMG Implementation is bound to a Context. For OMDG this would make sense to me if there were a TransformFactory like interface for getting the implementation class (so one can transparently use another implementation). What are the reasons why not simply use