Re: [JBoss-user] jbosscmp-jdbc.xml DTD?
Hmmm, also it looks like is an empty field, not as per the doc examples: order-has-lineitems lineitem-belongsto-order ordernumber ORDER_NUMBER Perhaps I'm beating a dead horse (sorry PITA), so if this is all supposed to be fixed soon, any chance I getting an early release of the examples? :) I'll keep plodding through. David Russel: If you have an example of a foreign-key-mapping one-to-many (or otherwise) of your jbosscmp-jdbc.xml and ejb-jar.xml that you got working on JBoss 3.0, would you be willing to share? Attachments are fine with me! :) -- -bk Quoting David Russell <[EMAIL PROTECTED]>: > The final DTD has and respectively as opposed to the > foreign-key-field versions. Just spent a little time finding that one > myself. > > David > > > David P. Russell > Lead Technical Consultant > Idea Integration > [EMAIL PROTECTED] > [EMAIL PROTECTED] > (585) 249-2600 > (585) 273-7728 > > >>> [EMAIL PROTECTED] 06/07/02 02:07PM >>> > I am looking at %JBOSS_HOME%/docs/dtd/jbosscmp-jdbc_3_0.dtd, is this the > correct > one? > > If so, the example with the CMP docs has the following excerpt: > > > > userId > USER_ID > > > > But there is no string matching "foreign-key-field" in that dtd. Am I > doing > something wrong? I'm willing to accept that!! :) > > [knitterb@zoot ~]$ grep foreign-key-field > ~/progs/jboss-3.0.0/docs/dtd/jbosscmp-jdbc_3_0.dtd > 0.010u 0.000s 0:00.00 0.0% 0+0k 0+0io 118pf+0w > [knitterb@zoot ~]$ > > Thanks, > > -- > -bk > > > Quoting Dain Sundstrom <[EMAIL PROTECTED]>: > > > The old docs are OLD. The correct dtd to use is the one included with > > the release in docs/dtd. Also type-mapping was changed to > > datasource-mapping between alpha and beta 2. > > > > -dain > > > > Brandon Knitter wrote: > > > > > I added the following to the top of my jbosscmp-jdbc.xml file and was > met > > with > > > TONS of errors, including errors from things I copied from the cmp2 > > commerce > > > example: > > > > > > > > > > > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> > > > > > > > > > I did check out the "patch for cmp documentation updates" in another > email > > (just > > > visually patched it), and even those may not meet the dtd that comes > with > > jboss > > > 3.0? Is this known? > > > > > > An example would be that the commerce example which comes with the cmp > > > documentation has the following excerpt in the jbosscmp-jdbc.xml file: > > > > > > > > > > > > java:/DefaultDS > > > Hypersonic SQL > > > true > > > true > > > true > > > false > > > 300 > > > false > > > true > > > foreign-key > > > true > > > > > > > > > > > > But according to the dtd, the field "type-mapping" isn't allowed. > > > > > > > > > > > > > > remove-table?, read-only?, read-time-out?, row-locking?, > > > pk-constraint?, fk-constraint?, preferred-relation-mapping?, > > > read-ahead?, list-cache-max?)> > > > > > > > > > > > > Sorry if this is a duplicate question, but I'm trying everything to see > if > > I > > > messed up my files...I'm still having my weird relationship problem. > > > > > > Thanks, > > > > > > > > > > > > > > ___ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___
Re: [JBoss-user] jbosscmp-jdbc.xml DTD?
The final DTD has and respectively as opposed to the foreign-key-field versions. Just spent a little time finding that one myself. David David P. Russell Lead Technical Consultant Idea Integration [EMAIL PROTECTED] [EMAIL PROTECTED] (585) 249-2600 (585) 273-7728 >>> [EMAIL PROTECTED] 06/07/02 02:07PM >>> I am looking at %JBOSS_HOME%/docs/dtd/jbosscmp-jdbc_3_0.dtd, is this the correct one? If so, the example with the CMP docs has the following excerpt: userId USER_ID But there is no string matching "foreign-key-field" in that dtd. Am I doing something wrong? I'm willing to accept that!! :) [knitterb@zoot ~]$ grep foreign-key-field ~/progs/jboss-3.0.0/docs/dtd/jbosscmp-jdbc_3_0.dtd 0.010u 0.000s 0:00.00 0.0% 0+0k 0+0io 118pf+0w [knitterb@zoot ~]$ Thanks, -- -bk Quoting Dain Sundstrom <[EMAIL PROTECTED]>: > The old docs are OLD. The correct dtd to use is the one included with > the release in docs/dtd. Also type-mapping was changed to > datasource-mapping between alpha and beta 2. > > -dain > > Brandon Knitter wrote: > > > I added the following to the top of my jbosscmp-jdbc.xml file and was met > with > > TONS of errors, including errors from things I copied from the cmp2 > commerce > > example: > > > > > > > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> > > > > > > I did check out the "patch for cmp documentation updates" in another email > (just > > visually patched it), and even those may not meet the dtd that comes with > jboss > > 3.0? Is this known? > > > > An example would be that the commerce example which comes with the cmp > > documentation has the following excerpt in the jbosscmp-jdbc.xml file: > > > > > > > > java:/DefaultDS > > Hypersonic SQL > > true > > true > > true > > false > > 300 > > false > > true > > foreign-key > > true > > > > > > > > But according to the dtd, the field "type-mapping" isn't allowed. > > > > > > > > > remove-table?, read-only?, read-time-out?, row-locking?, > > pk-constraint?, fk-constraint?, preferred-relation-mapping?, > > read-ahead?, list-cache-max?)> > > > > > > > > Sorry if this is a duplicate question, but I'm trying everything to see if > I > > messed up my files...I'm still having my weird relationship problem. > > > > Thanks, > > > > > > > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jbosscmp-jdbc.xml DTD?
I am looking at %JBOSS_HOME%/docs/dtd/jbosscmp-jdbc_3_0.dtd, is this the correct one? If so, the example with the CMP docs has the following excerpt: userId USER_ID But there is no string matching "foreign-key-field" in that dtd. Am I doing something wrong? I'm willing to accept that!! :) [knitterb@zoot ~]$ grep foreign-key-field ~/progs/jboss-3.0.0/docs/dtd/jbosscmp-jdbc_3_0.dtd 0.010u 0.000s 0:00.00 0.0% 0+0k 0+0io 118pf+0w [knitterb@zoot ~]$ Thanks, -- -bk Quoting Dain Sundstrom <[EMAIL PROTECTED]>: > The old docs are OLD. The correct dtd to use is the one included with > the release in docs/dtd. Also type-mapping was changed to > datasource-mapping between alpha and beta 2. > > -dain > > Brandon Knitter wrote: > > > I added the following to the top of my jbosscmp-jdbc.xml file and was met > with > > TONS of errors, including errors from things I copied from the cmp2 > commerce > > example: > > > > > > > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> > > > > > > I did check out the "patch for cmp documentation updates" in another email > (just > > visually patched it), and even those may not meet the dtd that comes with > jboss > > 3.0? Is this known? > > > > An example would be that the commerce example which comes with the cmp > > documentation has the following excerpt in the jbosscmp-jdbc.xml file: > > > > > > > > java:/DefaultDS > > Hypersonic SQL > > true > > true > > true > > false > > 300 > > false > > true > > foreign-key > > true > > > > > > > > But according to the dtd, the field "type-mapping" isn't allowed. > > > > > > > > > remove-table?, read-only?, read-time-out?, row-locking?, > > pk-constraint?, fk-constraint?, preferred-relation-mapping?, > > read-ahead?, list-cache-max?)> > > > > > > > > Sorry if this is a duplicate question, but I'm trying everything to see if > I > > messed up my files...I'm still having my weird relationship problem. > > > > Thanks, > > > > > > > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jbosscmp-jdbc.xml DTD?
The old docs are OLD. The correct dtd to use is the one included with the release in docs/dtd. Also type-mapping was changed to datasource-mapping between alpha and beta 2. -dain Brandon Knitter wrote: > I added the following to the top of my jbosscmp-jdbc.xml file and was met with > TONS of errors, including errors from things I copied from the cmp2 commerce > example: > > > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> > > > I did check out the "patch for cmp documentation updates" in another email (just > visually patched it), and even those may not meet the dtd that comes with jboss > 3.0? Is this known? > > An example would be that the commerce example which comes with the cmp > documentation has the following excerpt in the jbosscmp-jdbc.xml file: > > > > java:/DefaultDS > Hypersonic SQL > true > true > true > false > 300 > false > true > foreign-key > true > > > > But according to the dtd, the field "type-mapping" isn't allowed. > > > > remove-table?, read-only?, read-time-out?, row-locking?, > pk-constraint?, fk-constraint?, preferred-relation-mapping?, > read-ahead?, list-cache-max?)> > > > > Sorry if this is a duplicate question, but I'm trying everything to see if I > messed up my files...I'm still having my weird relationship problem. > > Thanks, > > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jbosscmp-jdbc.xml DTD?
I added the following to the top of my jbosscmp-jdbc.xml file and was met with TONS of errors, including errors from things I copied from the cmp2 commerce example: http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> I did check out the "patch for cmp documentation updates" in another email (just visually patched it), and even those may not meet the dtd that comes with jboss 3.0? Is this known? An example would be that the commerce example which comes with the cmp documentation has the following excerpt in the jbosscmp-jdbc.xml file: java:/DefaultDS Hypersonic SQL true true true false 300 false true foreign-key true But according to the dtd, the field "type-mapping" isn't allowed. Sorry if this is a duplicate question, but I'm trying everything to see if I messed up my files...I'm still having my weird relationship problem. Thanks, -- -bk ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jbosscmp-jdbc.xml
I'm looking for a short explanation of the section and the value in jbosscmp-jdbc.xml. Any pointers? -- Eric Jain ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user