Re: Installation of OJB

2004-02-03 Thread Ralf Bode
) foolishness) thanks for your patience! ralf --- Armin Waibel [EMAIL PROTECTED] schrieb: Hi Ralf, Ralf Bode wrote: hi ... again :-( it is really frustratingly... i turned OTM-true made: customer.setCar(car) broker.store(customer); I don't know what's wrong with your test

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
it is not allowed to declare a PK field anonymous. Recommend you to setup a test case similar to the examples in test suite or docu (http://db.apache.org/ojb/tutorial3.html#Mapping 1:1 associations). As recently as your test pass start to tweak ;-) regards, Armin Ralf Bode wrote

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
with OJB... a short, and last question, why doesn´t OJB1.0.rc5 not deal with anonymous-keys i thought its a nice feature! greetings ralf --- Armin Waibel [EMAIL PROTECTED] schrieb: Hi, Ralf Bode wrote: Hi Armin, thanks for your patience, first! but the things with declaring PK_Fields

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
to tweak ;-) regards, Armin Ralf Bode wrote: Hi Armin, again... ...sorry... i looked in samples you told me! (thanks for tipps!) but i have all so like 1:1-relationship org.apache.ojb.broker.ObjectRepository$Group org.apache.ojb.broker.ObjectRepository$Componente (access

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
Ralf, it does deal with anonymous fields, but only in conjunction with 1:1 references. Please post class-descriptor and source for Customer, Car. regards, Armin Ralf Bode wrote: Hi Armin. okay i didn´t know about 1.0rc5 isn´t dealing with anonymous-keys. so i do like

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
kunde = new Kunde(); kunde.setNachname(Bode); kunde.setVorname(Ralle); kunde.setAuto(auto); //OJB aktivieren! broker.beginTransaction(); broker.store(kunde); broker.commitTransaction(); --- Ralf Bode [EMAIL PROTECTED] schrieb: Hi Armin, Brain and the rest :-) hier is my code (a simple

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
auto = new Auto(); auto.setFarbe(blau); Kunde kunde = new Kunde(); kunde.setNachname(Bode); kunde.setVorname(Ralle); kunde.setAuto(auto); //OJB aktivieren! broker.beginTransaction(); broker.store(kunde); broker.commitTransaction(); --- Ralf Bode [EMAIL PROTECTED

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
Okay Armin, will deal now with src-dist but, why am i not able to use binary? only for enable p6spy ? or in generall better to use SRC? for Struts e.g. i allways use the binary-version greetings, --- Armin Waibel [EMAIL PROTECTED] schrieb: Hi, Ralf Bode wrote: Hi Armin, i used

Installation of OJB

2004-02-02 Thread Ralf Bode
Hi to all, just a question about to install OJB i read, that i have to load the sources and run some build-scripts okay. but is there an easy-way? i only need a build-script for the binary-version of OJB, that installs OJB-internal-tables into database. or is there a reason for building all ?

RE: Installation of OJB

2004-02-02 Thread Ralf Bode
/ojb/deployment.html -Original Message- From: Ralf Bode [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 08:19 To: [EMAIL PROTECTED] Subject: Installation of OJB Hi to all, just a question about to install OJB i read, that i have to load the sources and run some build-scripts

RE: Installation of OJB

2004-02-02 Thread Ralf Bode
? I'd be interested to see if this works. I myself would like to see a specific core-only build target. Although it's nice to see the junit tests run and verify that it all works, I don't want to deploy all the test tables with my final app... -Original Message- From: Ralf Bode

RE: Installation of OJB

2004-02-02 Thread Ralf Bode
Hi thank you, but i really do only search a small solution, whichs only builds my internal ojb-talbes. if was, i would load a deliverd obj-core.sql into my database. this would be enough, i am on a lerning-trip so tools like xdoclet seams to be overdosed greetings --- Thomas Dudziak [EMAIL

RE: Installation of OJB

2004-02-02 Thread Ralf Bode
and verify that it all works, I don't want to deploy all the test tables with my final app... -Original Message- From: Ralf Bode [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 09:55 To: OJB Users List Subject: RE: Installation of OJB Hi Brendan, yes i know

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
AM, Ralf Bode wrote: Hi to all, just a question about to install OJB i read, that i have to load the sources and run some build-scripts okay. but is there an easy-way? i only need a build-script for the binary-version of OJB, that installs OJB-internal-tables into database

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
CorrectThing(); If it is stored it has a valid value for it.pk -- 0 If ct is stored it has null for ct.pk, so will have a value assigned. -Brian On Feb 2, 2004, at 11:47 AM, Ralf Bode wrote: Thanks i am still dealing now without its internals ;-) i didn´t figured it out on page

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
Thanks Brian, but do you mean with anonymous keys ? now i have (in classes): CUSTOMER car: Car carId: int CAR: id: int (and the XML desc for it like in mail before) am i with anon.keys able to see car-fk in database-table CUSTOMER? after: broker.store(customer); ? thanks again, and thanks for

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
... ? :-) in table customer is: CREATE TABLE CUSTOMER ( ID INT PRIMARY KEY AUTO_INCREMENT, CARID INT, FOREIGN KEY (CARID) REFERENCES CAR(ID) ); thanks! --- Ralf Bode [EMAIL PROTECTED] schrieb: Thanks Brian, but do you mean with anonymous keys ? now i have (in classes

thread-safe

2004-01-15 Thread Ralf Bode
Hi, just a question about thread-safty. i use OJB to store business-objects in a webapp. in my struts-actions i use my own class called OJBDelegate. Its methods are not! delcared with synchronized. now my question: is ojb threadsafe? if two or more struts-actions call the same method of my