Re: extents and mapping inheritence
I have inherence working for collection descriptors. I'm planning to add reference and field inherence too. When I have time :-( On Mon, 2003-06-23 at 16:02, Jakob Braeuchi wrote: hi scott, ojb does not support inheritence of field- and relationship-descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: extents and mapping inheritence
OJB will be the default persistence model within Jetspeed 2 and all my current posts have been spawned by my implementing of OJB in Jetspeed 2. I recently converted the entire object model from Castor to OJB (still in progress). So, you will probably be seeing more posts from me in the near future;) *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Thomas Mahler [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 1:47 AM To: OJB Users List Subject: Re: extents and mapping inheritence Hi Scott, Weaver, Scott wrote: Is there anyway I can remove the mapping for B entirely. It implements the interface AB and extends A. That should be good enough for OJB. However, when I try this, I get class B is not persistence capable. The reason I want to do this is B is a special case that may or may not be used and we would prefer to keep it out of the OJB mappings and rely entirely on dealing with AB and/or A. If you are using B instances you *must* provide a class-descriptor for B. OJB prints out the message you see when you try to call persistence operations on aclass that is not defined in the repository. Scott, I have one question regarding Jetspeed. I heared that there have been discussions to use OJB within Jetspeed. Are you working on this? Or do you anything about this topic? cheers, Thomas *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Weaver, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:21 PM To: 'OJB Users List' Subject: RE: extents and mapping inheritence Thanks Jakob. I Guess I'll have to use ENTITY references instead. Do you have any other work-arounds I might try? Thanks again, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:03 PM To: OJB Users List Subject: Re: extents and mapping inheritence hi scott, ojb does not support inheritence of field- and relationship-descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: extents and mapping inheritence
Hi again Scott I was looking at the DescriptorRepository class and I feel I could easily patch it to walk the inheritance tree for invisible mappings via inheritance. I will patch it if this functionality desired. Sure, just give it a try. We are happy to review the patch. cheers, Thomas *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:28 AM To: OJB Users List Subject: Re: extents and mapping inheritence I have inherence working for collection descriptors. I'm planning to add reference and field inherence too. When I have time :-( On Mon, 2003-06-23 at 16:02, Jakob Braeuchi wrote: hi scott, ojb does not support inheritence of field- and relationship-descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: extents and mapping inheritence
Please, see if this patch can help you ! It changes RepositoryXmlhandler to make collection descriptors avaible to extents. On Tue, 2003-06-24 at 10:17, Weaver, Scott wrote: I was looking at the DescriptorRepository class and I feel I could easily patch it to walk the inheritance tree for invisible mappings via inheritance. I will patch it if this functionality desired. *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:28 AM To: OJB Users List Subject: Re: extents and mapping inheritence I have inherence working for collection descriptors. I'm planning to add reference and field inherence too. When I have time :-( On Mon, 2003-06-23 at 16:02, Jakob Braeuchi wrote: hi scott, ojb does not support inheritence of field- and relationship-descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net Index: src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java === RCS file: /home/cvspublic/db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java,v retrieving revision 1.43 diff -u -b -B -r1.43 RepositoryXmlHandler.java --- src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java 10 Jun 2003 20:42:09 - 1.43 +++ src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java 24 Jun 2003 14:27:33 - @@ -59,11 +59,19 @@ import org.apache.ojb.broker.util.ClassHelper; import org.apache.ojb.broker.util.logging.Logger; import org.apache.ojb.broker.util.logging.LoggerFactory; +import org.apache.ojb.broker.util.ClassHelper; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; import org.xml.sax.helpers.DefaultHandler; +//JDK +import java.util.Iterator; +import java.util.Vector; +import java.util.Map; +import java.util.HashMap; + + /** * The handler catches Parsing events raised by the xml-parser * and builds up the DescriptorRepository that is used within the @@ -106,6 +114,12 @@ private RepositoryTags tags = RepositoryTags.getInstance(); /** + * PARENT-CHILD map + * + */ +private Map parent_child_map = new HashMap(); + +/** * returns the XmlCapable id associated with the literal. * OJB maintains a RepositoryTags table that provides * a mapping from xml-tags to XmlCapable ids. @@ -294,7 +308,8 @@ //set initializationMethod attribute String initializationMethod = atts.getValue(tags.getTagById(INITIALIZATION_METHOD)); -if (isDebug) logger.debug( + tags.getTagById(INITIALIZATION_METHOD) + : + initializationMethod); +if (isDebug) logger.debug( + tags.getTagById(INITIALIZATION_METHOD
RE: extents and mapping inheritence
Will this patch correctly into rc3 or should I check out the HEAD and patch it there? *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 10:32 AM To: OJB Users List Subject: RE: extents and mapping inheritence Please, see if this patch can help you ! It changes RepositoryXmlhandler to make collection descriptors avaible to extents. On Tue, 2003-06-24 at 10:17, Weaver, Scott wrote: I was looking at the DescriptorRepository class and I feel I could easily patch it to walk the inheritance tree for invisible mappings via inheritance. I will patch it if this functionality desired. *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:28 AM To: OJB Users List Subject: Re: extents and mapping inheritence I have inherence working for collection descriptors. I'm planning to add reference and field inherence too. When I have time :-( On Mon, 2003-06-23 at 16:02, Jakob Braeuchi wrote: hi scott, ojb does not support inheritence of field- and relationship- descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net
RE: extents and mapping inheritence
working against CVS HEAD is prefered as it make the committers life easier :-) -Original Message- From: Weaver, Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 5:24 PM To: 'OJB Users List' Subject: RE: extents and mapping inheritence Will this patch correctly into rc3 or should I check out the HEAD and patch it there? *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 10:32 AM To: OJB Users List Subject: RE: extents and mapping inheritence Please, see if this patch can help you ! It changes RepositoryXmlhandler to make collection descriptors avaible to extents. On Tue, 2003-06-24 at 10:17, Weaver, Scott wrote: I was looking at the DescriptorRepository class and I feel I could easily patch it to walk the inheritance tree for invisible mappings via inheritance. I will patch it if this functionality desired. *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:28 AM To: OJB Users List Subject: Re: extents and mapping inheritence I have inherence working for collection descriptors. I'm planning to add reference and field inherence too. When I have time :-( On Mon, 2003-06-23 at 16:02, Jakob Braeuchi wrote: hi scott, ojb does not support inheritence of field- and relationship- descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net
RE: extents and mapping inheritence
CVS HEAD On Tue, 2003-06-24 at 12:24, Weaver, Scott wrote: Will this patch correctly into rc3 or should I check out the HEAD and patch it there? *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 10:32 AM To: OJB Users List Subject: RE: extents and mapping inheritence Please, see if this patch can help you ! It changes RepositoryXmlhandler to make collection descriptors avaible to extents. On Tue, 2003-06-24 at 10:17, Weaver, Scott wrote: I was looking at the DescriptorRepository class and I feel I could easily patch it to walk the inheritance tree for invisible mappings via inheritance. I will patch it if this functionality desired. *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:28 AM To: OJB Users List Subject: Re: extents and mapping inheritence I have inherence working for collection descriptors. I'm planning to add reference and field inherence too. When I have time :-( On Mon, 2003-06-23 at 16:02, Jakob Braeuchi wrote: hi scott, ojb does not support inheritence of field- and relationship- descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: extents and mapping inheritence
Well, I'll do anything to make a committer's life easier since I can sympathize with your pain ;) *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Mahler Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:20 AM To: 'OJB Users List' Subject: RE: extents and mapping inheritence working against CVS HEAD is prefered as it make the committers life easier :-) -Original Message- From: Weaver, Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 5:24 PM To: 'OJB Users List' Subject: RE: extents and mapping inheritence Will this patch correctly into rc3 or should I check out the HEAD and patch it there? *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 10:32 AM To: OJB Users List Subject: RE: extents and mapping inheritence Please, see if this patch can help you ! It changes RepositoryXmlhandler to make collection descriptors avaible to extents. On Tue, 2003-06-24 at 10:17, Weaver, Scott wrote: I was looking at the DescriptorRepository class and I feel I could easily patch it to walk the inheritance tree for invisible mappings via inheritance. I will patch it if this functionality desired. *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:28 AM To: OJB Users List Subject: Re: extents and mapping inheritence I have inherence working for collection descriptors. I'm planning to add reference and field inherence too. When I have time :-( On Mon, 2003-06-23 at 16:02, Jakob Braeuchi wrote: hi scott, ojb does not support inheritence of field- and relationship- descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net
Re: extents and mapping inheritence
Hi Scott, Weaver, Scott wrote: Is there anyway I can remove the mapping for B entirely. It implements the interface AB and extends A. That should be good enough for OJB. However, when I try this, I get class B is not persistence capable. The reason I want to do this is B is a special case that may or may not be used and we would prefer to keep it out of the OJB mappings and rely entirely on dealing with AB and/or A. If you are using B instances you *must* provide a class-descriptor for B. OJB prints out the message you see when you try to call persistence operations on aclass that is not defined in the repository. Scott, I have one question regarding Jetspeed. I heared that there have been discussions to use OJB within Jetspeed. Are you working on this? Or do you anything about this topic? cheers, Thomas *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Weaver, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:21 PM To: 'OJB Users List' Subject: RE: extents and mapping inheritence Thanks Jakob. I Guess I'll have to use ENTITY references instead. Do you have any other work-arounds I might try? Thanks again, *===* * Scott T Weaver* * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:03 PM To: OJB Users List Subject: Re: extents and mapping inheritence hi scott, ojb does not support inheritence of field- and relationship-descriptors. but there are some discussions going on regarding this feature. hth jakob Weaver, Scott wrote: Is there anyway to have a class-descriptor inherit the mappings of a previously defined class-descriptor? Example: AB is an interface. A implements AB and B extends A. class-descriptor class=AB extent-class class-ref=A / extent-class class-ref=B / /class-descriptor class-descriptor class=A table=AB field-descriptor name=idcolumn=ID jdbc-type=INTEGER primarykey=true autoincrement=true / field-descriptor name=name column=NAME jdbc-type=VARCHAR/ /class-descriptor The question: How can define the class-descriptor for B without having to copy the identical mappings from A? I tried using the extends attribute of class-descriptor on hunch that's what it was for, however, no dice. There has got to be a simple way to accomplish this, however, I have yet to find it. Using 1.0rc3. Thanks, *===* * Scott T Weaver * * Jakarta Jetspeed Portal Project * * [EMAIL PROTECTED] * *===* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]