[ 
https://issues.apache.org/jira/browse/GEODE-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fred Krone updated GEODE-3988:
------------------------------
    Description: 
create jdbc mapping --data-source=value --pdx-name=value --region=value 
--table=value --id=value[,value...] 
[--field=('name': value, ['column': value,] ['class': value,] ['type': value])]

PARAMETERS
jdbc-config
id for JDBC config to be used.
Required: true

pdx-name
Name for GemFire PDX to parse the PDX fields.
Required: true

region
Name/path of the region to be associated with DB table.
Required: true

table
Name of DB table to be associated with GemFire region. The schema can be 
prefixed: for example “schema.table”.
Required: true

keyPartOfValue 

fieldToColumnMap

id
Name of PDX field to use as the key in the identification of a GemFire entry.
Required: true



  was:
create jdbc mapping --data-source=value --pdx-name=value --region=value 
--table=value --id=value[,value...] 
[--field=('name': value, ['column': value,] ['class': value,] ['type': value])]

PARAMETERS
data-source
Name for JNDI data source for JDBC connection.
Required: true

pdx-name
Name for GemFire PDX to parse the PDX fields.
Required: true

region
Name/path of the region to be associated with DB table.
        Required: true
table
Name of DB table to be associated with GemFire region. The schema can be 
prefixed: for example “schema.table”.
Required: true

id
Name of PDX field to use as the key in the identification of a GemFire entry.
Required: true
field
JSON text specifying the mapping from a GemFire PdxInstance field to a DB 
column.
Required: false



> Create PDX-JDBC mapping via gfsh
> --------------------------------
>
>                 Key: GEODE-3988
>                 URL: https://issues.apache.org/jira/browse/GEODE-3988
>             Project: Geode
>          Issue Type: Sub-task
>          Components: regions
>            Reporter: Fred Krone
>
> create jdbc mapping --data-source=value --pdx-name=value --region=value 
> --table=value --id=value[,value...] 
> [--field=('name': value, ['column': value,] ['class': value,] ['type': 
> value])]
> PARAMETERS
> jdbc-config
> id for JDBC config to be used.
> Required: true
> pdx-name
> Name for GemFire PDX to parse the PDX fields.
> Required: true
> region
> Name/path of the region to be associated with DB table.
> Required: true
> table
> Name of DB table to be associated with GemFire region. The schema can be 
> prefixed: for example “schema.table”.
> Required: true
> keyPartOfValue 
> fieldToColumnMap
> id
> Name of PDX field to use as the key in the identification of a GemFire entry.
> Required: true



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to