Java javax.sql DataSource fields, constructors, methods, implement or subclass

Example usage for Java javax.sql DataSource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.sql DataSource.

The text is from its open source code.

Implementation

javax.sql.DataSource has the following implementations.
Click this link to see all its implementation.

Constructor

Method

booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ClassgetClass()
Returns the runtime class of this Object .
ConnectiongetConnection()

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

ConnectiongetConnection(String username, String password)

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

intgetLoginTimeout()
inthashCode()
Returns a hash code value for the object.
booleanisWrapperFor(java.lang.Class iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.
voidsetLoginTimeout(int seconds)
voidsetLogWriter(java.io.PrintWriter out)
StringtoString()
Returns a string representation of the object.
Tunwrap(java.lang.Class iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.