[
https://issues.apache.org/jira/browse/GEODE-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fred Krone updated GEODE-3988:
------------------------------
Comment: was deleted
(was: Steps to reproduce issue:
1) create a jdbc-mapping
2) describe that jdbc-mapping
3) you get an error even though the mapping exists (via list mapping, etc)
gfsh>describe jdbc-mapping --region=employee
Could not process command due to error. Error while processing command
<describe jdbc-mapping --region=employee> Reason : null)
> Implement create jdbc-region-mapping command
> --------------------------------------------
>
> Key: GEODE-3988
> URL: https://issues.apache.org/jira/browse/GEODE-3988
> Project: Geode
> Issue Type: Sub-task
> Components: docs, regions
> Reporter: Fred Krone
> Assignee: Darrel Schneider
> Fix For: 1.4.0
>
>
> {noformat}
> NAME
> create jdbc-region-mapping
> SYNOPSIS
> Specify the mapping between DB table columns and the GemFire region
> fields.
> SYNTAX
> create jdbc-region-mapping --connection-name=value --region=value
> --table=value --pdx-name=[value] [--primary-key-in-value]
> [--fields=field:db-column[,field:db-column...]]
> PARAMETERS
> connection-name
> Name of the previously created JDBC connection configuration to be
> used
> Required: true
> pdx-name
> Name for GemFire PDX to parse the PDX fields.
> Required: false
> 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.
> Required: true
> primary-key-in-value
> Is the value for the primary key located in the region entry value
> (as opposed to being the entry key).
> Required: false
> Default: false (currently)
> fields
> Key, value pairs for mapping fields of Pdx instance to database
> columns.
> Required: false
> Default: Pdx field names are used as database column names
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)