RE: Cayenne Newbe Question

From: JR Ruggentaler (j..pv.com)
Date: Mon Aug 05 2002 - 11:25:26 EDT

  • Next message: JR Ruggentaler: "RE: Cayenne Newbe Question"

    I used the Modeler to create the database. The Modeler generated the tables
    and primary key support. All I added to the Modeler output is 'CREATE
    DATABASE SWStaging;', 'USE SWStaging;' and added semicolons to the end of
    each line so I could execute as a script.

    J.R.
    -----Original Message-----
    From: Andrus [mailto:andru..bjectstyle.org]
    Sent: Monday, August 05, 2002 5:14 AM
    To: JR Ruggentaler
    Cc: cayenne-use..bjectstyle.org
    Subject: RE: Cayenne Newbe Question

    Hopefully this one should be easy to fix. Basically you need a lookup table
    for the primary keys in the database. Instructions how to generate it from
    the modeler are given in the User Guide at
    http://objectstyle.org/cayenne/userguide/modeler/pksupport.html

    Andrus

    At 11:21 PM 8/4/2002 -0500, JR Ruggentaler wrote:
    >Andrus,
    > thanks! the initialization problem seem to have been due to the
    JAXP
    >Version 1.0.1 library I had in my jre/lib/ext directory. I removed JAXP
    >1.0.1 but now I seem to have a problem with generating PKs. My test tries
    to
    >create a Claim object but Cayenne throws an exception in
    >ctxt.commitChanges(java.util.logging.Level.SEVERE);.



    This archive was generated by hypermail 2.0.0 : Mon Aug 05 2002 - 11:25:10 EDT