Class PostgreSQLConnectionHelper
- java.lang.Object
-
- org.apache.jackrabbit.core.util.db.ConnectionHelper
-
- org.apache.jackrabbit.core.util.db.PostgreSQLConnectionHelper
-
public final class PostgreSQLConnectionHelper extends ConnectionHelper
The connection helper for PSQL databases. It has special fetch size handling.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jackrabbit.core.util.db.ConnectionHelper
ConnectionHelper.RetryManager<T>
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.core.util.db.ConnectionHelper
dataSource
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLConnectionHelper(DataSource dataSrc, boolean block)
-
Method Summary
-
Methods inherited from class org.apache.jackrabbit.core.util.db.ConnectionHelper
closeResources, endBatch, exec, exec, execute, getConnection, inBatchMode, prepareDbIdentifier, query, replaceCharacter, startBatch, tableExists, update
-
-
-
-
Constructor Detail
-
PostgreSQLConnectionHelper
public PostgreSQLConnectionHelper(DataSource dataSrc, boolean block)
- Parameters:
dataSrc
- theDataSource
on which this helper actsblock
- whether to block on connection loss until the db is up again
-
-