[
https://issues.apache.org/jira/browse/CAY-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev updated CAY-2875:
---------------------------------
Fix Version/s: 5.0-M3
(was: 5.0-M2)
> Allow storing UUIDs in binary columns
> -------------------------------------
>
> Key: CAY-2875
> URL: https://issues.apache.org/jira/browse/CAY-2875
> Project: Cayenne
> Issue Type: Task
> Reporter: Andrus Adamchik
> Priority: Major
> Fix For: 5.0-M3
>
> Attachments: BinUUIDValueType.java, BinUUIDValueTypeTest.java
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, Cayenne UUIDType is defined as "ValueObjectType<UUID, String>",
> but storing UUID values in char columns is wasteful. We should be using
> binary columns, and that requires a new "ValueObjectType<UUID, byte[]>".
> Attached is an example from one of my projects, with tests. Let's work on
> integrating this to Cayenne
--
This message was sent by Atlassian Jira
(v8.20.10#820010)