Replace space indentation with tabs
Issue: SPR-10127
This commit is contained in:
committed by
Chris Beams
parent
1762157ad1
commit
2cf45bad86
@@ -364,7 +364,7 @@ public interface JdbcOperations {
|
||||
* @see java.sql.Types
|
||||
*/
|
||||
<T> T query(String sql, Object[] args, int[] argTypes, ResultSetExtractor<T> rse)
|
||||
throws DataAccessException;
|
||||
throws DataAccessException;
|
||||
|
||||
/**
|
||||
* Query given SQL to create a prepared statement from SQL and a list
|
||||
@@ -422,7 +422,7 @@ public interface JdbcOperations {
|
||||
* @throws DataAccessException if the query fails
|
||||
*/
|
||||
void query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch)
|
||||
throws DataAccessException;
|
||||
throws DataAccessException;
|
||||
|
||||
/**
|
||||
* Query given SQL to create a prepared statement from SQL and a list of
|
||||
@@ -437,7 +437,7 @@ public interface JdbcOperations {
|
||||
* @see java.sql.Types
|
||||
*/
|
||||
void query(String sql, Object[] args, int[] argTypes, RowCallbackHandler rch)
|
||||
throws DataAccessException;
|
||||
throws DataAccessException;
|
||||
|
||||
/**
|
||||
* Query given SQL to create a prepared statement from SQL and a list of
|
||||
@@ -510,7 +510,7 @@ public interface JdbcOperations {
|
||||
* @see java.sql.Types
|
||||
*/
|
||||
<T> List<T> query(String sql, Object[] args, int[] argTypes, RowMapper<T> rowMapper)
|
||||
throws DataAccessException;
|
||||
throws DataAccessException;
|
||||
|
||||
/**
|
||||
* Query given SQL to create a prepared statement from SQL and a list
|
||||
@@ -614,7 +614,7 @@ public interface JdbcOperations {
|
||||
* @see java.sql.Types
|
||||
*/
|
||||
<T> T queryForObject(String sql, Object[] args, int[] argTypes, Class<T> requiredType)
|
||||
throws DataAccessException;
|
||||
throws DataAccessException;
|
||||
|
||||
/**
|
||||
* Query given SQL to create a prepared statement from SQL and a
|
||||
|
||||
@@ -177,7 +177,7 @@ public class DataSourceTransactionManager extends AbstractPlatformTransactionMan
|
||||
DataSourceTransactionObject txObject = new DataSourceTransactionObject();
|
||||
txObject.setSavepointAllowed(isNestedTransactionAllowed());
|
||||
ConnectionHolder conHolder =
|
||||
(ConnectionHolder) TransactionSynchronizationManager.getResource(this.dataSource);
|
||||
(ConnectionHolder) TransactionSynchronizationManager.getResource(this.dataSource);
|
||||
txObject.setConnectionHolder(conHolder, false);
|
||||
return txObject;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ public abstract class LobCreatorUtils {
|
||||
if (TransactionSynchronizationManager.isSynchronizationActive()) {
|
||||
logger.debug("Registering Spring transaction synchronization for LobCreator");
|
||||
TransactionSynchronizationManager.registerSynchronization(
|
||||
new SpringLobCreatorSynchronization(lobCreator));
|
||||
new SpringLobCreatorSynchronization(lobCreator));
|
||||
}
|
||||
else {
|
||||
if (jtaTransactionManager != null) {
|
||||
@@ -77,7 +77,7 @@ public abstract class LobCreatorUtils {
|
||||
}
|
||||
}
|
||||
throw new IllegalStateException("Active Spring transaction synchronization or active " +
|
||||
"JTA transaction with specified [javax.transaction.TransactionManager] required");
|
||||
"JTA transaction with specified [javax.transaction.TransactionManager] required");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -414,7 +414,7 @@ public class OracleLobHandler extends AbstractLobHandler {
|
||||
}
|
||||
|
||||
public void setClobAsString(PreparedStatement ps, int paramIndex, final String content)
|
||||
throws SQLException {
|
||||
throws SQLException {
|
||||
|
||||
if (content != null) {
|
||||
Clob clob = (Clob) createLob(ps, true, new LobCallback() {
|
||||
@@ -437,7 +437,7 @@ public class OracleLobHandler extends AbstractLobHandler {
|
||||
|
||||
public void setClobAsAsciiStream(
|
||||
PreparedStatement ps, int paramIndex, final InputStream asciiStream, int contentLength)
|
||||
throws SQLException {
|
||||
throws SQLException {
|
||||
|
||||
if (asciiStream != null) {
|
||||
Clob clob = (Clob) createLob(ps, true, new LobCallback() {
|
||||
@@ -460,7 +460,7 @@ public class OracleLobHandler extends AbstractLobHandler {
|
||||
|
||||
public void setClobAsCharacterStream(
|
||||
PreparedStatement ps, int paramIndex, final Reader characterStream, int contentLength)
|
||||
throws SQLException {
|
||||
throws SQLException {
|
||||
|
||||
if (characterStream != null) {
|
||||
Clob clob = (Clob) createLob(ps, true, new LobCallback() {
|
||||
|
||||
@@ -94,11 +94,11 @@ public class JBossNativeJdbcExtractor extends NativeJdbcExtractorAdapter {
|
||||
this.wrappedStatementClass = getClass().getClassLoader().loadClass(prefix + "WrappedStatement");
|
||||
this.wrappedResultSetClass = getClass().getClassLoader().loadClass(prefix + "WrappedResultSet");
|
||||
this.getUnderlyingConnectionMethod =
|
||||
this.wrappedConnectionClass.getMethod("getUnderlyingConnection", (Class[]) null);
|
||||
this.wrappedConnectionClass.getMethod("getUnderlyingConnection", (Class[]) null);
|
||||
this.getUnderlyingStatementMethod =
|
||||
this.wrappedStatementClass.getMethod("getUnderlyingStatement", (Class[]) null);
|
||||
this.wrappedStatementClass.getMethod("getUnderlyingStatement", (Class[]) null);
|
||||
this.getUnderlyingResultSetMethod =
|
||||
this.wrappedResultSetClass.getMethod("getUnderlyingResultSet", (Class[]) null);
|
||||
this.wrappedResultSetClass.getMethod("getUnderlyingResultSet", (Class[]) null);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
throw new IllegalStateException(
|
||||
|
||||
Reference in New Issue
Block a user