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/04/25 23:20:52 UTC
[jira] Reopened: (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.