Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Json type in sqlServe and Oracle #441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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