Schema Evolution

From: Jonathan Carlson (Jonathan.Carlso..atun.com)
Date: Fri Jul 23 2004 - 14:37:07 EDT

  • Next message: Mike Kienenberger: "JNDI datasource for standalone application?"

    I did a quick test to see how Cayenne handled adding a new field when there was data already in the table. I was secretly hoping that Cayenne would do the right thing and generate an add column statement rather than a create table statement, but it didn't.

    To top it off, clicking on the "Generate" button resulted in a "Schema Generation Complete" message as if the db schema now matched what was in Cayenne, which it didn't because no column was added.

    Is this a bug or just a missing feature? What's the best way for me to handle this situation? Add columns manually?

    Thanks in advance!

    Jonathan

    *********************************************************************************
    This email and any files transmitted with it are confidential and
    intended solely for the use of the individual or entity to whom they
    are addressed. If you have received this email in error please notify
    the system manager.

    Katun Corporation -- Celebrating 25 Years of Service
    www.katun.com
    *********************************************************************************



    This archive was generated by hypermail 2.0.0 : Fri Jul 23 2004 - 14:37:48 EDT