org.apache.jackrabbit.core.util.db
Class PostgreSQLConnectionHelper

java.lang.Object
  extended by org.apache.jackrabbit.core.util.db.ConnectionHelper
      extended by 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
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgreSQLConnectionHelper

public PostgreSQLConnectionHelper(DataSource dataSrc,
                                  boolean block)
Parameters:
dataSrc - the DataSource on which this helper acts
block - whether to block on connection loss until the db is up again


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.