Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class ParsingDataSource

extends AbstractDataSource
Class Inheritance
Imports
java.sql.Connection, .SQLException, org.jooq.Configuration

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final Configuration

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final Connection
getConnection()

Implements javax.sql.DataSource.getConnection.

Attempts to establish a connection with the data source that this DataSource object represents.

public final Connection
getConnection(String
the database user on whose behalf the connection is being made
username
,
String
the user's password
password
)

Implements javax.sql.DataSource.getConnection.

Attempts to establish a connection with the data source that this DataSource object represents.

Inherited from org.jooq.impl.AbstractDataSource:
getLoginTimeoutgetLogWritergetParentLoggerisWrapperForsetLoginTimeoutsetLogWriterunwrap

Field Detail

configurationback to summary
private final Configuration configuration

Constructor Detail

ParsingDataSourceback to summary
pack-priv ParsingDataSource(Configuration configuration)

Method Detail

getConnectionback to summary
public final Connection getConnection() throws SQLException

Implements javax.sql.DataSource.getConnection.

Doc from javax.sql.DataSource.getConnection.

Attempts to establish a connection with the data source that this DataSource object represents.

Returns:Connection

a connection to the data source

Annotations
@Override
Exceptions
SQLException:
if a database access error occurs
getConnectionback to summary
public final Connection getConnection(String username, String password) throws SQLException

Implements javax.sql.DataSource.getConnection.

Doc from javax.sql.DataSource.getConnection.

Attempts to establish a connection with the data source that this DataSource object represents.

Parameters
username:String

the database user on whose behalf the connection is being made

password:String

the user's password

Returns:Connection

a connection to the data source

Annotations
@Override
Exceptions
SQLException:
if a database access error occurs