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 Bo

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
spy in build.properties file. > > regards, > Armin > > Ralf Bode wrote: > > > hallo armin, > > it is the same behavor! > > field "autoid" in table "kunde" > > is also "null" ... > > > > mmm (1.0rc5 - downlo

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
ew 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 PROTE

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
ptor 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 suggested in 1:1-mapping. > > > >

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
o 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 > > >

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! > &

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
. As recently as your test pass start > 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

Re: Installation of OJB

2004-02-03 Thread Ralf Bode
not blow up list with my (i think) 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 > > mad

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
ched to Customer. This > *can* actually be > done in the OTM if Car is a truly dependent object > (otm-dependent > attribute), but in the PB an object must be made > explicitly persistent. > > broker.store(ca); > broker.store(cu); > > -Brian > > On Feb 2, 2

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
, 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): > CUSTOMER > car: Car > carId: int > > CAR: > id: int &

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

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
; >> since it is the > >>> default sequence manager). > >>> > >>> What are thoughts on including the torque > >> generator stuff in > >>> ojb-blank? The ojb-core schema is already > included > >> in the src/schema > >>

Re: Installation of OJB

2004-02-02 Thread Ralf Bode
, so that is a > > certain argument in favor. > > > > In the short term, Thomas D has has a nice little > walkthrough on > > getting torque from OJB setup in the xdoclet docs, > but that is sort of > > hidden =) (note, we should probably move that into >

RE: Installation of OJB

2004-02-02 Thread Ralf Bode
ge... > > > -Original Message- > From: Ralf Bode [mailto:[EMAIL PROTECTED] > Sent: 02 February 2004 10:43 > To: OJB Users List > Subject: RE: Installation of OJB > > Thanks Brendan, > > but it doesn´t work! > but this would be the way i likded ;-) >

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 <[E

RE: Installation of OJB

2004-02-02 Thread Ralf Bode
27;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

RE: Installation of OJB

2004-02-02 Thread Ralf Bode
to-use-db-sequences.html > > This doc more specifically covers what you need for > deployment: > http://db.apache.org/ojb/deployment.html > > -Original Message- > From: Ralf Bode [mailto:[EMAIL PROTECTED] > Sent: 02 February 2004 08:19 > To: [EMAIL PROTECTED] &

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

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 o