[jira] Reopened: (CAY-1014) Enums as meaningful PK

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Fri Apr 25 2008 - 17:20:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Closed: (CAY-1014) Enums as meaningful PK"

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

    Andrus Adamchik reopened CAY-1014:
    ----------------------------------

    stumbled on this issue when testing M4 with PostgreSQL ... In this case it is caused when using SQLTemplate by a mismatch in default column name capitalization and the DbEntity column name capitalization. The fix will be centered on the SQLTemplateAction algorithm for creation of RowDescriptor

    > Enums as meaningful PK
    > ----------------------
    >
    > Key: CAY-1014
    > URL: https://issues.apache.org/cayenne/browse/CAY-1014
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Environment: 3.0M3
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    > Priority: Minor
    > Fix For: 3.0
    >
    >
    > Not yet sure whether to treat this as an inherent limitation or a bug, but it looks like having a meaningful VARCHAR PK mapped as an enum does not work - the value stored in the DataObject on select is a String instead of an enum. Need to investigate to make a decision on how to proceed.

    -- 
    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 : Fri Apr 25 2008 - 17:24:31 EDT