Closed IRus closed 8 years ago
Hi @IRus , so in the database you have PK named TYPE
and a separate column named type
, is that correct?
Hi, no, in the database i have one column named TYPE
which is PK:
CREATE TABLE `position_type` (
`TYPE` VARCHAR(100) NOT NULL,
PRIMARY KEY (`TYPE`)
);
I see, then there's an object attribute named type
that maps to PK, right? I've commited a fix.
Right, thank you.
LinkRest version: 2.1 Cayenne version: 4.0.M3
Hi, i run in following issue:
Entity:
Controller:
Looks like
getAttribute
expecting"TYPE"
instead of"type"
.