[ https://issues.apache.org/jira/browse/CAY-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Gilbart closed CAY-2409. ----------------------------- Resolution: Not A Bug > No PK column 'uuid' found in data row > ------------------------------------- > > Key: CAY-2409 > URL: https://issues.apache.org/jira/browse/CAY-2409 > Project: Cayenne > Issue Type: Bug > Components: Core Library > Affects Versions: 4.0.B2 > Reporter: Fred Gilbart > Priority: Minor > > I'm using java.util.UUID for every PK, with a UUIDGenerator > {color:#000080}implements {color}PkGenerator, and a CayenneGenerated Strategy. > When i try to query any table using > {color:#000080}new {color}SQLTemplate(Enterprise.{color:#000080}class{color}, > {color:#008000}"select * from t_enterprises "{color}) I receive a "No PK > column 'uuid' found in data row" error. > With debug I can see on org.apache.cayenne.access.ObjectResolver (216) > {color:#000080}if{color}(!dataRow.containsKey(key)) : my key is 'uuid' > (lowercase), dataRow contains 'UUID' (uppercase) which lead to the error. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)