Re: possible newbie Question; Wrong Long id when fetching..

2006-01-17 Thread Armin Waibel
Hi Christian, Christian Vejrich wrote: When inserting a new object, mysql db with autoincrement the database stores the object correct and sets an correct id, but when fetching all the stored objects( ojb does a select *) , the ids in the objects returned from ojb are completly different ones?

Re: Writing to database question.

2006-01-17 Thread Armin Waibel
Hi, Milisic Aleksandar wrote: Hi guys, there is one thing that is confusing me at the moment when it comes to making an object persistent. Let's say I have a Person object and a PersonContainer object. The PersonContainer object contains a list of Person object, so it's a 1 to many

Re: [Fwd: SV: possible newbie Question; Wrong Long id when fetching..]

2006-01-17 Thread Armin Waibel
Hi, Im using, db-obj-1.0.3.jar metadata mapping: class-descriptor class=AdvertisementType table=ADVERTISEMENTTYPE field-descriptor name=id column=ID jdbc-type=BIGINT nullable=false primarykey=true

SV: [Fwd: SV: possible newbie Question; Wrong Long id when fetching..]

2006-01-17 Thread Christian Vejrich
Hi, -Ursprungligt meddelande- Från: Armin Waibel [mailto:[EMAIL PROTECTED] Skickat: den 17 januari 2006 12:03 Till: OJB Users List Ämne: Re: [Fwd: SV: possible newbie Question; Wrong Long id when fetching..] Hi, Im using, db-obj-1.0.3.jar metadata mapping: class-descriptor