|Constructor and Description|
|Modifier and Type||Method and Description|
Initializes the helper: checks for valid driver version.
Since Oracle only supports table names up to 30 characters in length illegal characters are simply replaced with "_" rather than escaping them with "_x0000_".
closeResources, endBatch, exec, exec, execute, getConnection, inBatchMode, prepareDbIdentifier, query, startBatch, tableExists, update
public OracleConnectionHelper(DataSource dataSrc, boolean block)
DataSourceon which this helper acts
block- whether to block on connection loss until the db is up again
public void init() throws Exception
Exception- on error
protected final void replaceCharacter(StringBuilder escaped, char c)
ConnectionHelper.prepareDbIdentifier(String). Default implementation replaces the illegal characters with their hexadecimal encoding.
Copyright © 2004-2017 The Apache Software Foundation. All Rights Reserved.