Skip to content

Conversation

KravchenkoAS
Copy link
Contributor

A json string can be stored in the database table.
JsonType added to ExtendedTypeMap in OracleAdapter and SybaseAdapter.
SQLServerTreeProcessor and OracleSQLTreeProcessor extends from TypeAwareSQLTreeProcessor. Added three types Json, GeoJson, Wkt to byNodeTypeProcessors.

In SQL Server:
Create a column with the NVARCHAR type in the table. Then we import the database in the modeler. Automatically the obj-attribute type will be String. In the obj-attribute, specify the type org.apache.cayenne.value.Json.
In Oracle SQL:
Create a column with the CLOB type in the table. Then we import the database in the modeler. Automatically the obj-attribute type will be String. In the obj-attribute, specify the type org.apache.cayenne.value.Json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant