Re: AW: AW: AW: Two 1:N mappings to one table

2004-01-15 Thread Brian McCallister
store operation I have no id yet. hm. any idea? Dirk -Ursprüngliche Nachricht- Von: Brian McCallister [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Januar 2004 04:28 An: OJB Users List Betreff: Re: AW: AW: Two 1:N mappings to one table Hmm, fun one. I suspect you may have run

AW: AW: AW: AW: Two 1:N mappings to one table

2004-01-15 Thread Dirk Manske (Service Respond)
: AW: AW: AW: Two 1:N mappings to one table Ah hah! You are allowing DB2 to add the ID via a trigger, aren't you? OJB doesn't play super nicely with the database doing that for it behind the scenes, unfortunately. If you are allowed, try using one of the OJB auto increment modules. I suggest

Re: AW: AW: AW: AW: Two 1:N mappings to one table

2004-01-15 Thread Brian McCallister
to set autoincrement off in db2, because other apps might use these tables as well... -Ursprüngliche Nachricht- Von: Brian McCallister [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Januar 2004 16:44 An: OJB Users List Betreff: Re: AW: AW: AW: Two 1:N mappings to one table Ah hah! You

Re: AW: AW: AW: AW: Two 1:N mappings to one table

2004-01-15 Thread Armin Waibel
these tables as well... -Ursprüngliche Nachricht- Von: Brian McCallister [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Januar 2004 16:44 An: OJB Users List Betreff: Re: AW: AW: AW: Two 1:N mappings to one table Ah hah! You are allowing DB2 to add the ID via a trigger, aren't you? OJB

AW: AW: AW: AW: AW: Two 1:N mappings to one table

2004-01-15 Thread Dirk Manske (Service Respond)
thank you both. you helped me a lot in understanding ojb. I'll give it a try. Dirk -Ursprüngliche Nachricht- Von: Armin Waibel [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. Januar 2004 18:06 An: OJB Users List Betreff: Re: AW: AW: AW: AW: Two 1:N mappings to one table Hi Dirk

Re: AW: AW: AW: AW: AW: Two 1:N mappings to one table

2004-01-15 Thread Armin Waibel
: AW: AW: AW: AW: Two 1:N mappings to one table Hi Dirk, if you use Identity columns from database you can't use the default SequenceManager (SequenceManagerHighLowImpl). Have a look in http://db.apache.org/ojb/sequencemanager.html#nativeSequenceManager can all do for me. In the repository

AW: Two 1:N mappings to one table

2004-01-14 Thread Dirk Manske (Service Respond)
Hi, yes, i am using pb. Setting auto-retrieve=true in the collection-descriptor has not the desired effect, I still get the following two strange error messages: within browser it shows a null pointer execption for Venture when it tried to retrieve all venture objects associated with activity

Re: AW: Two 1:N mappings to one table

2004-01-14 Thread Brian McCallister
It sounds like there is actually a problem in the mapping from class - table where the activityId is listed. Any chance you could post the full mapping for these classes, along with the database schema? -Brian On Jan 14, 2004, at 11:33 AM, Dirk Manske (Service Respond) wrote: Hi, yes, i am

AW: AW: Two 1:N mappings to one table

2004-01-14 Thread Dirk Manske (Service Respond)
] Gesendet: Mittwoch, 14. Januar 2004 18:33 An: OJB Users List Betreff: Re: AW: Two 1:N mappings to one table It sounds like there is actually a problem in the mapping from class - table where the activityId is listed. Any chance you could post the full mapping for these classes, along

Re: AW: AW: Two 1:N mappings to one table

2004-01-14 Thread Brian McCallister
, Dirk -Ursprüngliche Nachricht- Von: Brian McCallister [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 14. Januar 2004 18:33 An: OJB Users List Betreff: Re: AW: Two 1:N mappings to one table It sounds like there is actually a problem in the mapping from class - table where the activityId