auto pk support

From: Jason Bedell (jason.bedel..igitalevergreen.com)
Date: Fri Mar 28 2003 - 15:52:26 EST

  • Next message: Andrus Adamchik: "Re: auto pk support"

    I am using MySQL and have auto_increment on my table's primary key field. When trying to insert a new record I am getting "Table 'MYDB.AUTO_PK_SUPPORT' doesn't exist".

    I assume this is because Cayenne is trying to generate the primary key for me from what I have read in the user guide. I am using the mysql adapter that comes with Cayenne. Is there a way to turn that off so it leaves the key generation up to MySQL?

    Jason W. Bedell, MCSE+I, JCP
    Technology Specialist
    P: 816.512.9255
    M: 913.486.3833
    F: 816.842.6494
    jason.bedel..igitalevergreen.com
    Digital Evergreen
    423 West 8th Street
    Kansas City, MO 64105
    Phone: 816.512.9399
    <www.digitalevergreen.com>



    This archive was generated by hypermail 2.0.0 : Fri Mar 28 2003 - 15:58:36 EST