org.firebirdsql.pool
Class FBSimpleDataSource

java.lang.Object
  extended by org.firebirdsql.ds.RootCommonDataSource
      extended by org.firebirdsql.ds.FBSimpleDataSource
          extended by org.firebirdsql.pool.FBSimpleDataSource
All Implemented Interfaces:
java.io.Serializable, java.sql.Wrapper, javax.naming.Referenceable, javax.sql.CommonDataSource, javax.sql.DataSource, FirebirdConnectionProperties

Deprecated. This class will be removed in Jaybird 3.1; use FBSimpleDataSource

@Deprecated
public class FBSimpleDataSource
extends FBSimpleDataSource

This is a simple implementation of DataSource interface. Connections are physically opened in DataSource.getConnection() method and physically closed in Connection.close() method. If you need connection pooling, use a third party connection pool library instead.

Version:
1.0
Author:
Roman Rokytskyy, David Jencks
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.firebirdsql.ds.FBSimpleDataSource
description, ds, jndiReference, mcf
 
Constructor Summary
FBSimpleDataSource()
          Deprecated. Create instance of this class.
FBSimpleDataSource(org.firebirdsql.gds.impl.GDSType type)
          Deprecated. Create instance of this class.
 
Method Summary
 
Methods inherited from class org.firebirdsql.ds.FBSimpleDataSource
getBlobBufferLength, getBlobBufferSize, getBuffersNumber, getCharSet, getConnection, getConnection, getConnectTimeout, getDatabase, getDatabaseName, getDatabaseParameterBuffer, getDataSource, getDefaultIsolation, getDefaultTransactionIsolation, getDescription, getEncoding, getLoginTimeout, getNonStandardProperty, getPassword, getReference, getRoleName, getSocketBufferSize, getSoTimeout, getSqlDialect, getTpbMapping, getTransactionParameters, getType, getUser, getUserName, getUseTranslation, isDefaultResultSetHoldable, isTimestampUsesLocalTimezone, isUseFirebirdAutocommit, isUseStandardUdf, isUseStreamBlobs, isWrapperFor, setBlobBufferLength, setBlobBufferSize, setBuffersNumber, setCharSet, setConnectTimeout, setDatabase, setDatabaseName, setDefaultIsolation, setDefaultResultSetHoldable, setDefaultTransactionIsolation, setDescription, setEncoding, setLoginTimeout, setNonStandardProperty, setNonStandardProperty, setPassword, setReference, setRoleName, setSocketBufferSize, setSoTimeout, setSqlDialect, setTimestampUsesLocalTimezone, setTpbMapping, setTransactionParameters, setType, setUseFirebirdAutocommit, setUser, setUserName, setUseStandardUdf, setUseStreamBlobs, setUseTranslation, unwrap
 
Methods inherited from class org.firebirdsql.ds.RootCommonDataSource
getLogWriter, getParentLogger, setLogWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.CommonDataSource
getLogWriter, setLogWriter
 

Constructor Detail

FBSimpleDataSource

public FBSimpleDataSource()
Deprecated. 
Create instance of this class.


FBSimpleDataSource

public FBSimpleDataSource(org.firebirdsql.gds.impl.GDSType type)
Deprecated. 
Create instance of this class.



Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.