mapping classes on multiple joined tables

2005-05-26 Thread Ryan Vanderwerf
Hi, I'm having a problem with mapping classes on multiple joined tables on OJB 1.0.3. I am following the 'Advanced O/R' tutorial in the section 'Mapping Classes on Multiple Joined Tables'. I have 2 tables, one table is a child of the other: parent -- class-descriptor class

Re: Mapping Classes on Multiple Joined Tables

2005-04-21 Thread Jakob Braeuchi
hi armin, Armin Waibel schrieb: Stefan Walkner wrote: hello, we start working on this issue. Hope till next release this will be fixed. thank you for the info! I really was searching long and was not able to find any information about that, so I'm glad to hear any response from you. The issue

Re: Mapping Classes on Multiple Joined Tables

2005-04-21 Thread Armin Waibel
Jakob Braeuchi wrote: The issue is noted in the release-notes: snip - When a class mapped on multiple joined tables was used in a reference only objects of the base type class will be instantiated, e.g. a Company class has a 1:n reference 'employees' to a base class Employee and class

RE: Mapping Classes on Multiple Joined Tables

2005-04-21 Thread Gelhar, Wallace Joseph
- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 12:16 PM To: OJB Users List Subject: Re: Mapping Classes on Multiple Joined Tables Jakob Braeuchi wrote: The issue is noted in the release-notes: snip - When a class mapped on multiple joined tables was used

Mapping Classes on Multiple Joined Tables

2005-04-20 Thread Stefan Walkner
hello, I use Mapping Classes on Multiple Joined Tables to map an Object which inherits from another into two tables. BUT: is there a way to get the different objects back, when querying? I mean, I have following mappings: -- class-descriptor class

Re: Mapping Classes on Multiple Joined Tables

2005-04-20 Thread Armin Waibel
Hi Stefan, Stefan Walkner wrote: hello, I use Mapping Classes on Multiple Joined Tables to map an Object which inherits from another into two tables. BUT: is there a way to get the different objects back, when querying? I mean, I have following mappings: we start working on this issue. Hope till

Re: Mapping Classes on Multiple Joined Tables

2005-04-20 Thread Stefan Walkner
hello, we start working on this issue. Hope till next release this will be fixed. thank you for the info! I really was searching long and was not able to find any information about that, so I'm glad to hear any response from you. Thank you, stefan walkner

Re: Mapping Classes on Multiple Joined Tables

2005-04-20 Thread Armin Waibel
Stefan Walkner wrote: hello, we start working on this issue. Hope till next release this will be fixed. thank you for the info! I really was searching long and was not able to find any information about that, so I'm glad to hear any response from you. The issue is noted in the release-notes:

Re: Is Mapping Classes on Multiple Joined Tables supported?

2005-01-04 Thread Thomas Dudziak
I'm sorry, I forgot to add Collection of A's in C (see above). With this collection, xdoclet fails - for both 1.0.1 release and 1.0.x branch (I'm working off the branch as mentioned above). Ok, right, in this case I too get the error that you described. Yes, it is not: first, you have to

RE: Is Mapping Classes on Multiple Joined Tables supported?

2004-12-30 Thread Nils Liebelt
Hi Vadim, Stick to the Repository file I posted earlier! If you don't use the abstract modifier for the super class it works. Regards, Nils - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Is Mapping Classes on Multiple Joined Tables supported?

2004-12-30 Thread Thomas Dudziak
Vadim Gritsenko wrote: Hey All, [Using OJB_1_0_RELEASE branch from CVS] As other users here, I'm also struggling with mapping class hierarchy on multiple joined tables, and can't figure out what's wrong and whether it is working at all or not. Consider this slightly modified (added relation to

Re: Is Mapping Classes on Multiple Joined Tables supported?

2004-12-30 Thread Vadim Gritsenko
Thomas Dudziak wrote: Vadim Gritsenko wrote: Hey All, [Using OJB_1_0_RELEASE branch from CVS] As other users here, I'm also struggling with mapping class hierarchy on multiple joined tables, and can't figure out what's wrong and whether it is working at all or not. Consider this slightly

Re: Is Mapping Classes on Multiple Joined Tables supported?

2004-12-30 Thread Vadim Gritsenko
Nils Liebelt wrote: Hi Vadim, Stick to the Repository file I posted earlier! If you don't use the abstract modifier for the super class it works. I don't have abstract classes anywhere - my case is a bit different. It's about mapping classes A and B, where B extends A, to two tables, and class C

Re: Question - Mapping Classes on Multiple Joined Tables

2004-06-16 Thread Armin Waibel
-update/delete 'true' or 'object' so I think it could be work. regards, Armin Thanks in advance, Colin Armin Waibel wrote: Hi Luis, Luis Cruz wrote: Hello, Is mapping classes on multiple joined tables compatible with the use of ODMG? I ask because according to the documentation, auto-update must be set

Re: Question - Mapping Classes on Multiple Joined Tables

2004-05-11 Thread Armin Waibel
Hi Luis, Luis Cruz wrote: Hello, Is mapping classes on multiple joined tables compatible with the use of ODMG? I ask because according to the documentation, auto-update must be set to true in order to achieve such a mapping, however, ODMG is only guaranteed to work with auto-update set to false

Question - Mapping Classes on Multiple Joined Tables

2004-05-10 Thread Luis Cruz
Hello, Is mapping classes on multiple joined tables compatible with the use of ODMG? I ask because according to the documentation, auto-update must be set to true in order to achieve such a mapping, however, ODMG is only guaranteed to work with auto-update set to false. Thanks in advance, Luis

Re: Mapping Classes on Multiple Joined Tables

2004-05-06 Thread Jakob Braeuchi
III wrote: Hello. The other day I embarked on a little journey by mapping classes on multiple joined tables. It went really well. I am very excited to see it working and to see it working so well. One question though, and I can use the example on the site to demonstrate. !-- Definitions

Mapping Classes on Multiple Joined Tables

2004-05-05 Thread Charles N. Harvey III
Hello. The other day I embarked on a little journey by mapping classes on multiple joined tables. It went really well. I am very excited to see it working and to see it working so well. One question though, and I can use the example on the site to demonstrate. !-- Definitions

mapping classes on multiple joined tables

2004-04-03 Thread [EMAIL PROTECTED]
Hello, I'm trying to map classes on multiple joined tables as described in OJB tutorial. This is my situation: I have a class A that extends a class B that in turn extends a class C that extends a fourth class D. In the classes A, B and C there is an attribute referring to the super class's

Re: Problem with mapping classes on multiple joined tables

2003-09-13 Thread Jakob Braeuchi
hi christof, have you tried auto-update=true ? the problem is imo that this must be false for odmg :( jakob Necro wrote: Jakob Braeuchi wrote: hi christof, this is a problem with your auto-update setting in the reference-desriptor pointing to the superclass. auto-update should be true.

Re: Problem with mapping classes on multiple joined tables

2003-09-13 Thread Necro
Jakob Braeuchi wrote: hi christof, hi, have you tried auto-update=true ? Yes i already set auto-update=true as you mentioned in your last mail. This made it possible to store objects of type B (the repository.xml is shown in one of my last mails). when auto-update is set to false, only parts

Re: Problem with mapping classes on multiple joined tables

2003-09-11 Thread Necro
Jakob Braeuchi wrote: hi christof, this is a problem with your auto-update setting in the reference-desriptor pointing to the superclass. auto-update should be true. Hi, thanks, now inserting a value works just fine. But now I got another problem. When I select an object of class B only

Re: Problem with mapping classes on multiple joined tables

2003-09-05 Thread Necro
Jakob Braeuchi wrote: hi christof, have you tried the latest from repository. imo the path provided by kurt hoehn solves this problem. Thanks for that advice. Now the select statements seem to work. But there seems to be another problem. When I save an instance of class B, only the table b

Re: Problem with mapping classes on multiple joined tables

2003-09-05 Thread Jakob Braeuchi
hi christof, this is a problem with your auto-update setting in the reference-desriptor pointing to the superclass. auto-update should be true. hth jakob Necro wrote: Jakob Braeuchi wrote: hi christof, have you tried the latest from repository. imo the path provided by kurt hoehn solves

Problem with mapping classes on multiple joined tables

2003-09-04 Thread Necro
Hi, I have got another problem. Let's say i have a class A and a subclass B and both implement interface C. class-descriptor class=C extent-class class-ref=B / /class-descriptor class-descriptor class=A extent-class class-ref=B / /class-descriptor class-descriptor class=A table=a

Re: Problem with mapping classes on multiple joined tables

2003-09-04 Thread Jakob Braeuchi
hi christof, have you tried the latest from repository. imo the path provided by kurt hoehn solves this problem. jakob Necro wrote: Hi, I have got another problem. Let's say i have a class A and a subclass B and both implement interface C. class-descriptor class=C extent-class class-ref=B /