[JIRA] Closed: (CAY-977) SybasePkGenerator.longPkFromDatabase() throws exception

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Wed Jan 23 2008 - 08:10:33 EST

  • Next message: Tore Halset (JIRA): "[JIRA] Commented: (CAY-978) Add getEntity/getColumn to AddColumnToDb"

         [ https://issues.apache.org/cayenne/browse/CAY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrus Adamchik closed CAY-977.
    -------------------------------

        Resolution: Duplicate

    yeah we have a few other similar jiras on pk generator improvements, so I am treating it as a duplicate.

    > SybasePkGenerator.longPkFromDatabase() throws exception
    > -------------------------------------------------------
    >
    > Key: CAY-977
    > URL: https://issues.apache.org/cayenne/browse/CAY-977
    > Project: Cayenne
    > Issue Type: Bug
    > Affects Versions: 3.0
    > Reporter: Øyvind Harboe
    > Assignee: Andrus Adamchik
    >
    > It throws this exception when I try to use "Default" PK Generation Strategy. The PK is not database generated(identity) when I check MS SQL manager.
    > throw new CayenneRuntimeException(
    > "Error generating pk for DbEntity "
    > + entity.getName());

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Wed Jan 23 2008 - 08:10:56 EST