Re: Modeller M9 Problem

From: Tomi NA (hefes..mail.com)
Date: Wed Jan 04 2006 - 12:25:53 EST

  • Next message: Andrus Adamchik: "Re: Modeller M9 Problem"

    On 1/4/06, Tomi NA <hefes..mail.com> wrote:
    >
    >
    >
    > On 1/4/06, Gentry, Michael (Contractor) <michael_gentr..anniemae.com>
    > wrote:
    > >
    > > Well, you don't typically deploy the modeler itself into production.
    > > :-)
    > >
    > > You can use the nightly build version of the modeler to edit your
    > > Cayenne XML files, but use a milestone release for the actual runtime of
    > > your application.
    > >
    >
    >
    >
    > /dev/mrg
    > >
    > > -----Original Message-----
    > > *From:* Tomi NA [mailto:hefes..mail.com]
    > > *Sent:* Wednesday, January 04, 2006 9:27 AM
    > > *To:* cayenne-use..bjectstyle.org
    > > *Subject:* Re: Modeller M9 Problem
    > >
    > >
    > >
    > > On 1/4/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > > >
    > > > Yeah, that's a know problem. I posted a note about it here:
    > > >
    > > > http://objectstyle.org/cayenne/lists/cayenne-user/2005/12/0204.html
    > > >
    > > > In short - download a nightly build to get a working Modeler.
    > > >
    > > > Andrus
    > >
    > >
    > >
    > > I'll see if M8 works for me, but thanks for the help, anyway.
    > > As I plan to put it in production use, a milestone seems like a wiser
    > > choice than a nightly build.
    > >
    > > Regards
    > >
    > >
    > Thank you for the idea: I'll consider it when I get to that point.
    > Meanwhile, I'm stuck.
    > I can't insert anything into any table whose primary key is an
    > autoincrement. This is a bit frustrating, I must admit. I have the same
    > results for 1.2M4, 1.2M8 and the latest nightly build:
    >
    > java.sql.SQLException: Cannot insert explicit value for identity column in
    > table 'Product' when IDENTITY_INSERT is set to OFF
    >
    > I'll give it one more go every way I know how and see what happens.
    >

    I guess I eared my RTFM early this year. :)
    Sorry for the panic: it's just that I didn't doubt for a second that
    something that seems so basic to me (like support for autogenerated PKs)
    would be a recent addition. Don't know if the official documentation
    mentions it, but the 1.2 documentation certainly does: I didn't know I had
    to choose - on a table by table basis - that I want autogenerated keys.

    So, it seems everything works just dandy. :)

    Thanks, everyone.

    Tomislav



    This archive was generated by hypermail 2.0.0 : Wed Jan 04 2006 - 12:25:54 EST