Re: postgres PK serial column insert error

From: Mike Kienenberger (mkienen..laska.net)
Date: Mon Aug 02 2004 - 18:21:32 EDT

  • Next message: Eric Schneider: "Re: postgres PK serial column insert error"

    Scott Ellsworth <scot..lodar.com> wrote:
    > My last letter appears to be in error, if Cayenne already has Oracle
    > support. This would be half the battle for me.
    >
    > Could you float a documentation ref my way on how to use an Oracle
    > sequence to drive pk generation?
    >
    > (We use this for exactly the reason you mention - some people use
    > Access, others use C#, and basing it all of oracle sequences means that
    > every method works.)

    For Oracle, from what I remember, it's just a matter of checking a box in
    the modeler, and making sure you've set the correct sequence size. Cayenne
    uses 20 by default. WebObjects used 1 by default, so I had to change it to
    1 while we were using both frameworks.

    -Mike



    This archive was generated by hypermail 2.0.0 : Mon Aug 02 2004 - 18:20:01 EDT