You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by GitBox <gi...@apache.org> on 2020/11/11 09:22:58 UTC

[GitHub] [cayenne] KravchenkoAS opened a new pull request #441: Added support for Json type in sqlServe and Oracle

KravchenkoAS opened a new pull request #441:
URL: https://github.com/apache/cayenne/pull/441


   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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org