# Module: vertx-jdbc-js/jdbc_client

## vertx-jdbc-js/jdbc_client

Source:
  - jdbc_client.js, line 3

### 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:
    - jdbc_client.js, line 85

  ##### 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:
    - jdbc_client.js, line 102

  ##### Returns:

  the client
  Type
    JDBCClient