[ 
https://issues.apache.org/jira/browse/GEODE-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284054#comment-16284054
 ] 

ASF subversion and git services commented on GEODE-3988:
--------------------------------------------------------

Commit 345a461752a805408520fc0dfb398aec63cce6be in geode's branch 
refs/heads/feature/GEODE-3781 from [~nreich]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=345a461 ]

GEODE-3988: Add gfsh command for creating region mapping


> 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: Nick Reich
>
> {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)

Reply via email to