# Module: vertx-jdbc-js/jdbc_client

### Classes

JDBCClient

### Methods

#### (static) JDBCClient.createNonShared(vertx, config) → {JDBCClient}

Create a JDBC client which maintains its own data source.

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vert.x instance
`config` | Object | the configuration

Source:
  - vertx-jdbc-js/jdbc_client.js, line 287

##### Returns:

the client

Type
  JDBCClient

#### (static) JDBCClient.createShared(vertx, config, dataSourceName) → {JDBCClient}

Create a JDBC client which shares its data source with any other JDBC clients created with the same data source name

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the Vert.x instance
`config` | Object | the configuration
`dataSourceName` | string | the data source name

Source:
  - vertx-jdbc-js/jdbc_client.js, line 304

##### Returns:

the client

Type
  JDBCClient