Re: misleading documentation regarding auto settings in refence andcollection descriptors

2003-03-30 Thread Thomas Mahler
The default settings auto-update=false and auto-delete=false must be used in ODMG and JDO. Vincenz Braun wrote: Hello, the advanced o/r tutorial says: These default settings are mandatory for proper operation of the ODMG and JDO implementation. In the following code sample, a

Re: regression test errors

2003-03-30 Thread Thomas Mahler
Hi again Michael, Michael Duffy wrote: Thanks to both Thomas and Armin for their replies on this thread. Speaking for myself, I'm nervous about using OJB on my current project, too, but I don't think the source is entirely OJB. A big part of it is fear of what I DON'T know. I very much liked

Re: new to the api and have a question

2003-03-30 Thread Ron Gallagher
Hello all, I'm new as of today, to this api. I sat down Friday to write one ;) and then though someone else must have tried this already... and here it is! Anyway, I'm going through the documentation now, but I wanted to know if its possible to make an object immutable... for instance,

[jBoss] p6spy settings for OJB

2003-03-30 Thread Phil Warrick
Hi all, A solution rather than a question for a change. I had been able to get p6spy to run fine with OJB standalone and as usual, moving p6spy logging to a jBoss environment was not completely obvious. The instructions on the p6spy site were helpful but still left out some crucial details.

newbie questions about ojb setup with my database

2003-03-30 Thread Michael Harrison
Hello, all. I'm very new to OJB, and I'm very excited about it. I've been reading the extensive documentation at db.apache.org, and I've managed to get OJB set up. I have a question, however, about configuring OJB to work with my MySQL database. I'm not only new to OJB, but new to Ant and

ODMG's site

2003-03-30 Thread Oki DZ
Hi, It seems the site has been down for days. (The machine is up, but no pages supplied.) What's up? Oki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DMapImpl how to implement ManageableCollection ?

2003-03-30 Thread
Hi Armin: I try to implement ManageableCollection via DMapImpl,but it can't work. I don't know what's worng with it. I design a PersonMap class that extends DMapImpl and implement ManageableCollection, as like: package com.dsc.nana.domain.organization; import

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

2003-03-30 Thread Shyam
Armin / Thomas thanks for your info. - Shyam On Friday 28 March 2003 05:16 pm, Armin Waibel wrote: Thanks for the Info Armin. when is the expected OJB2.0 release ? in June'03 ? OJB 2.0 will be include a full JDO support, thus it's difficult to make a reliable prognose. I think

something not working as I expect it to

2003-03-30 Thread Brill Pappin
I have a fairly simple object, who's ID I need to access. in my descriptor for the object, I have the id field set to auto-increment and as a primary key. In the class, the id is initialized to -1 (All my classes, in all my libraries initialize all instance members, even if only to null. this is

RE: newbie questions about ojb setup with my database

2003-03-30 Thread Lance Eason
Bill, You're connection descriptor needs to be filled out with real values. The templated version is used by OJB's build process, depending on the database you specify it grabs the values from one of the '.profile' files in the profiles directory and generates a populated version of

Re: something not working as I expect it to

2003-03-30 Thread Brill Pappin
Thanks for the info. I change the default values, and am now getting: ERROR: Can not get next org.apache.ojb.broker.util.sequence.HighLowSequence for next scope of keys null in my tests... any ideas? - Brill Pappin - Original Message - From: Lance Eason [EMAIL PROTECTED] To: OJB Users

Re: newbie questions about ojb setup with my database

2003-03-30 Thread Oki DZ
On Sun, Mar 30, 2003 at 06:22:07PM -0500, Michael Harrison wrote: When I want to use OJB to connect to my own production db, do I need to run the build again, against a new build.xml file; or is it already set No, you don't need to run the build again. up to use MySQL, and I only have to

Antwort: Re: client / server through ejb

2003-03-30 Thread Jurgen . Richtsfeld
hi! i also agree that discontinuing the old client/server implementation is a good step. my question was just because i don't have experience with ejb. now i think i understand the idea a bit more, and with you explanation i understand, why you use SessionBeans instead of EntityBeans. as a ejb

how to create dynamic criteria?

2003-03-30 Thread Sylvain.Thevoz
Hello, I have this problem: I have a Collection that contains n String (I don't know the number in advance). These n String are used to construct some criteria. Each String is used for one criteria. I need OR statements between criteria, like: crit1 OR crit2 OR crit3 OR ... critn The criteria

RE: how to create dynamic criteria?

2003-03-30 Thread Charles Anthony
Hi Sylvain, I assume the collection contains all or values for a given column - in your example, packageOwner. You could do what you are trying to do like Criteria mainCriteria = new Criteria(); Iterator iterator = collection.iterator(); while (iterator.hasNext()) { String owner =

RE: Antwort: Re: client / server through ejb

2003-03-30 Thread Thimo König
Hi Jürgen, with some reading. there is only one problem left, and that is my need to use a http connection because of proxies and firewalls. but i already fond a library called jproxy, that can tunnel rmi calls through http. I don't think you need to use an external lib to tunnel rmi