Andrus Adamchik created CAY-2685: ------------------------------------ Summary: JsonType should use the actual JDBC type, not OTHER Key: CAY-2685 URL: https://issues.apache.org/jira/browse/CAY-2685 Project: Cayenne Issue Type: Bug Affects Versions: 4.2.M2 Reporter: Andrus Adamchik Fix For: 4.2.M3
On some DBs there's no native JSON type. So we have to use a VARCHAR, but still map it to the new "org.apache.cayenne.value.Json". This causes exceptions (at least I saw it on Derby). To fix it, all the JsonType methods that hardcode Types.OTHER should pass the actual type to JDBC. It is available as a method parameter -- This message was sent by Atlassian Jira (v8.3.4#803005)