You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2008/02/20 21:45:50 UTC

[JIRA] Reopened: (CAY-987) Specifying PK when creating a new object in DB generated PK mode

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

Andrus Adamchik reopened CAY-987:
---------------------------------

      Assignee: Andrus Adamchik  (was: Ari Maniatis)

Here is a discussion thread that clarifies the issue - user provided PK is not taken into account when a "DB generated" PK strategy is used:

  http://objectstyle.org/cayenne/lists/cayenne-user/2008/02/0071.html

I vaguely recall that there may have been  some issues with DB-generated meaningful PK's (so this doesn't work for a reason). Anyways, we should investigate

> Specifying PK when creating a new object in DB generated PK mode
> ----------------------------------------------------------------
>
>                 Key: CAY-987
>                 URL: https://issues.apache.org/cayenne/browse/CAY-987
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Cayenne Core Library
>         Environment: N/A
>            Reporter: Scott Anderson
>            Assignee: Andrus Adamchik
>            Priority: Minor
>
> I am working an a request ticket system, similar to the one I'm using to enter this issue. I need to import requests from the old schema to the new schema, and the PKs must be specified while doing an import. When using the tool normally, the PKs must be database generated. Is there any way to do this?

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