Remove trailing whitespace in source files

find . -type f -name "*.java" -or -name "*.aj" | \
    xargs perl -p -i -e "s/[ \t]*$//g" {} \;

Issue: SPR-10127
This commit is contained in:
Phillip Webb
2012-12-18 13:45:00 -08:00
committed by Chris Beams
parent 44a474a014
commit 1762157ad1
1400 changed files with 5920 additions and 5923 deletions

View File

@@ -32,7 +32,7 @@ import org.springframework.dao.InvalidDataAccessResourceUsageException;
* @see InvalidResultSetAccessException
*/
public class BadSqlGrammarException extends InvalidDataAccessResourceUsageException {
private String sql;

View File

@@ -21,7 +21,7 @@ import java.sql.SQLException;
import org.springframework.dao.UncategorizedDataAccessException;
/**
* Exception thrown when we can't classify a SQLException into
* Exception thrown when we can't classify a SQLException into
* one of our generic data access exceptions.
*
* @author Rod Johnson

View File

@@ -42,7 +42,7 @@ import org.springframework.core.io.support.ResourcePatternUtils;
* @since 3.0
*/
public class SortedResourcesFactoryBean extends AbstractFactoryBean<Resource[]> implements ResourceLoaderAware {
private final List<String> locations;
private ResourcePatternResolver resourcePatternResolver;

View File

@@ -38,7 +38,7 @@ import java.sql.SQLException;
*/
public interface BatchPreparedStatementSetter {
/**
/**
* Set parameter values on the given PreparedStatement.
* @param ps the PreparedStatement to invoke setter methods on
* @param i index of the statement we're issuing in the batch, starting from 0
@@ -47,7 +47,7 @@ public interface BatchPreparedStatementSetter {
*/
void setValues(PreparedStatement ps, int i) throws SQLException;
/**
/**
* Return the size of the batch.
* @return the number of statements in the batch
*/

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2005 the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -42,9 +42,9 @@ import java.sql.SQLException;
*/
public interface CallableStatementCreator {
/**
/**
* Create a callable statement in this connection. Allows implementations to use
* CallableStatements.
* CallableStatements.
* @param con Connection to use to create statement
* @return a callable statement
* @throws SQLException there is no need to catch SQLExceptions

View File

@@ -37,7 +37,7 @@ import org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor;
* @author Thomas Risberg
* @author Juergen Hoeller
*/
public class CallableStatementCreatorFactory {
public class CallableStatementCreatorFactory {
/** The SQL call string, which won't change when the parameters change. */
private final String callString;

View File

@@ -407,7 +407,7 @@ public interface JdbcOperations {
* @see PreparedStatementCreatorFactory
*/
void query(PreparedStatementCreator psc, RowCallbackHandler rch) throws DataAccessException;
/**
* Query given SQL to create a prepared statement from SQL and a
* PreparedStatementSetter implementation that knows how to bind values
@@ -423,7 +423,7 @@ public interface JdbcOperations {
*/
void query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch)
throws DataAccessException;
/**
* Query given SQL to create a prepared statement from SQL and a list of
* arguments to bind to the query, reading the ResultSet on a per-row basis
@@ -947,7 +947,7 @@ public interface JdbcOperations {
* @throws DataAccessException if there is any problem issuing the update
*/
int update(String sql, PreparedStatementSetter pss) throws DataAccessException;
/**
* Issue a single SQL update operation (such as an insert, update or delete statement)
* via a prepared statement, binding the given arguments.

View File

@@ -934,7 +934,7 @@ public class JdbcTemplate extends JdbcAccessor implements JdbcOperations {
/*
* (non-Javadoc)
* @see org.springframework.jdbc.core.JdbcOperations#batchUpdate(java.lang.String, java.util.Collection, int, org.springframework.jdbc.core.ParameterizedPreparedStatementSetter)
*
*
* Contribution by Nicolas Fabre
*/
public <T> int[][] batchUpdate(String sql, final Collection<T> batchArgs, final int batchSize, final ParameterizedPreparedStatementSetter<T> pss) {
@@ -1054,7 +1054,7 @@ public class JdbcTemplate extends JdbcAccessor implements JdbcOperations {
resultSetParameters.add(parameter);
}
else {
updateCountParameters.add(parameter);
updateCountParameters.add(parameter);
}
}
else {

View File

@@ -20,7 +20,7 @@ import java.sql.Connection;
import java.sql.SQLException;
import java.util.Map;
/**
/**
* Implement this interface when parameters need to be customized based
* on the connection. We might need to do this to make use of proprietary
* features, available only with a specific Connection type.
@@ -43,5 +43,5 @@ public interface ParameterMapper {
* @return Map of input parameters, keyed by name (never <code>null</code>)
*/
Map<String, ?> createMap(Connection con) throws SQLException;
}

View File

@@ -46,5 +46,5 @@ public interface ParameterizedPreparedStatementSetter<T> {
* @throws SQLException if a SQLException is encountered (i.e. there is no need to catch SQLException)
*/
void setValues(PreparedStatement ps, T argument) throws SQLException;
}

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2005 the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -42,7 +42,7 @@ import java.sql.SQLException;
*/
public interface PreparedStatementCreator {
/**
/**
* Create a statement in this connection. Allows implementations to use
* PreparedStatements. The JdbcTemplate will close the created statement.
* @param con Connection to use to create statement

View File

@@ -42,7 +42,7 @@ import java.sql.SQLException;
*/
public interface PreparedStatementSetter {
/**
/**
* Set parameter values on the given PreparedStatement.
* @param ps the PreparedStatement to invoke setter methods on
* @throws SQLException if a SQLException is encountered

View File

@@ -21,7 +21,7 @@ import java.sql.SQLException;
import org.springframework.dao.DataAccessException;
/**
/**
* Callback interface used by {@link JdbcTemplate}'s query methods.
* Implementations of this interface perform the actual work of extracting
* results from a {@link java.sql.ResultSet}, but don't need to worry

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2006 the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -34,7 +34,7 @@ import java.sql.SQLException;
* <p>A usage example with JdbcTemplate:
*
* <pre class="code">JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource); // reusable object
*
*
* RowCountCallbackHandler countCallback = new RowCountCallbackHandler(); // not reusable
* jdbcTemplate.query("select * from user", countCallback);
* int rowCount = countCallback.getRowCount();</pre>
@@ -55,7 +55,7 @@ public class RowCountCallbackHandler implements RowCallbackHandler {
* as returned by ResultSetMetaData object.
*/
private int[] columnTypes;
/**
* Indexed from 0. Column name as returned by ResultSetMetaData object.
*/
@@ -84,7 +84,7 @@ public class RowCountCallbackHandler implements RowCallbackHandler {
processRow(rs, this.rowCount++);
}
/**
/**
* Subclasses may override this to perform custom extraction
* or processing. This class's implementation does nothing.
* @param rs ResultSet to extract data from. This method is
@@ -104,8 +104,8 @@ public class RowCountCallbackHandler implements RowCallbackHandler {
public final int[] getColumnTypes() {
return columnTypes;
}
/**
/**
* Return the names of the columns.
* Valid after processRow is invoked the first time.
* @return the names of the columns.
@@ -115,7 +115,7 @@ public class RowCountCallbackHandler implements RowCallbackHandler {
return columnNames;
}
/**
/**
* Return the row count of this ResultSet
* Only valid after processing is complete
* @return the number of rows in this ResultSet
@@ -124,7 +124,7 @@ public class RowCountCallbackHandler implements RowCallbackHandler {
return rowCount;
}
/**
/**
* Return the number of columns in this result set.
* Valid once we've seen the first row,
* so subclasses can use it during processing

View File

@@ -47,7 +47,7 @@ import java.sql.SQLException;
*/
public interface RowMapper<T> {
/**
/**
* Implementations must implement this method to map each row of data
* in the ResultSet. This method should not call <code>next()</code> on
* the ResultSet; it is only supposed to map values of the current row.
@@ -57,7 +57,6 @@ public interface RowMapper<T> {
* @throws SQLException if a SQLException is encountered getting
* column values (that is, there's no need to catch SQLException)
*/
T mapRow(ResultSet rs, int rowNum) throws SQLException;
T mapRow(ResultSet rs, int rowNum) throws SQLException;
}

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2005 the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

View File

@@ -64,7 +64,7 @@ public class CallMetaDataProviderFactory {
* Create a CallMetaDataProvider based on the database metedata
* @param dataSource used to retrieve metedata
* @param context the class that holds configuration and metedata
* @return instance of the CallMetaDataProvider implementation to be used
* @return instance of the CallMetaDataProvider implementation to be used
*/
static public CallMetaDataProvider createMetaDataProvider(DataSource dataSource, final CallMetaDataContext context) {
try {

View File

@@ -197,7 +197,7 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
}
public SqlParameter createDefaultInParameter(String parameterName, CallParameterMetaData meta) {
return new SqlParameter(parameterName, meta.getSqlType());
return new SqlParameter(parameterName, meta.getSqlType());
}
public String getUserName() {

View File

@@ -389,8 +389,8 @@ public class GenericTableMetaDataProvider implements TableMetaDataProvider {
if (dataType == Types.DECIMAL) {
String typeName = tableColumns.getString("TYPE_NAME");
int decimalDigits = tableColumns.getInt("DECIMAL_DIGITS");
// override a DECIMAL data type for no-decimal numerics
// (this is for better Oracle support where there have been issues
// override a DECIMAL data type for no-decimal numerics
// (this is for better Oracle support where there have been issues
// using DECIMAL for certain inserts (see SPR-6912))
if ("NUMBER".equals(typeName) && decimalDigits == 0) {
dataType = Types.NUMERIC;

View File

@@ -20,7 +20,7 @@ import java.sql.DatabaseMetaData;
import java.sql.SQLException;
/**
* The HSQL specific implementation of the {@link TableMetaDataProvider}. Suports a feature for
* The HSQL specific implementation of the {@link TableMetaDataProvider}. Suports a feature for
* retreiving generated keys without the JDBC 3.0 getGeneratedKeys support.
*
* @author Thomas Risberg

View File

@@ -45,7 +45,7 @@ public class OracleCallMetaDataProvider extends GenericCallMetaDataProvider {
public boolean isReturnResultSetSupported() {
return false;
}
@Override
public boolean isRefCursorSupported() {
return true;

View File

@@ -34,7 +34,7 @@ import org.springframework.util.ReflectionUtils;
*
* <p>Thanks to Mike Youngstrom and Bruce Campbell for submitting the original suggestion for the Oracle
* current schema lookup implementation.
*
*
* @author Thomas Risberg
* @author Juergen Hoeller
* @since 3.0
@@ -42,7 +42,7 @@ import org.springframework.util.ReflectionUtils;
public class OracleTableMetaDataProvider extends GenericTableMetaDataProvider {
private final boolean includeSynonyms;
private String defaultSchema;
@@ -124,10 +124,10 @@ public class OracleTableMetaDataProvider extends GenericTableMetaDataProvider {
throw new InvalidDataAccessApiUsageException("Couldn't reset Oracle Connection", ex);
}
}
/*
* Oracle implementation for detecting current schema
*
*
* @param databaseMetaData
*/
private void lookupDefaultSchema(DatabaseMetaData databaseMetaData) {

View File

@@ -98,7 +98,7 @@ public interface TableMetaDataProvider {
* Are we using the meta data for the table columns?
*/
boolean isTableColumnMetaDataUsed();
/**
* Does this database support the JDBC 3.0 feature of retreiving generated keys
* {@link java.sql.DatabaseMetaData#supportsGetGeneratedKeys()}

View File

@@ -20,14 +20,14 @@ import org.springframework.jdbc.core.support.JdbcDaoSupport;
/**
* Extension of JdbcDaoSupport that exposes a NamedParameterJdbcTemplate as well.
*
*
* @author Thomas Risberg
* @author Juergen Hoeller
* @since 2.0
* @see NamedParameterJdbcTemplate
*/
public class NamedParameterJdbcDaoSupport extends JdbcDaoSupport {
private NamedParameterJdbcTemplate namedParameterJdbcTemplate;

View File

@@ -227,7 +227,7 @@ public abstract class NamedParameterUtils {
}
return position;
}
/**
* Parse the SQL statement and locate any placeholders or named parameters.
* Named parameters are substituted for a JDBC placeholder and any select list
@@ -482,7 +482,7 @@ public abstract class NamedParameterUtils {
public int getStartIndex() {
return startIndex;
}
public int getEndIndex() {
return endIndex;
}

View File

@@ -2,12 +2,12 @@
/**
*
* JdbcTemplate variant with named parameter support.
*
*
* <p>NamedParameterJdbcTemplate is a wrapper around JdbcTemplate that adds
* support for named parameter parsing. It does not implement the JdbcOperations
* interface or extend JdbcTemplate, but implements the dedicated
* NamedParameterJdbcOperations interface.
*
*
* <P>If you need the full power of Spring JDBC for less common operations, use
* the <code>getJdbcOperations()</code> method of NamedParameterJdbcTemplate and
* work with the returned classic template, or use a JdbcTemplate instance directly.

View File

@@ -622,7 +622,7 @@ public abstract class AbstractJdbcInsert {
}
}
}
/**
* Match the provided in parameter values with regitered parameters and parameters defined via metedata
* processing.

View File

@@ -38,7 +38,7 @@ import org.springframework.jdbc.core.namedparam.SqlParameterSource;
* <p>The meta data processing is based on the DatabaseMetaData provided by
* the JDBC driver. Since we rely on the JDBC driver this "auto-detection"
* can only be used for databases that are known to provide accurate meta data.
* These currently include Derby, MySQL, Microsoft SQL Server, Oracle, DB2,
* These currently include Derby, MySQL, Microsoft SQL Server, Oracle, DB2,
* Sybase and PostgreSQL. For any other databases you are required to declare all
* parameters explicitly. You can of course declare all parameters explicitly even
* if the database provides the necessary meta data. In that case your declared

View File

@@ -22,18 +22,18 @@ import org.springframework.jdbc.core.support.JdbcDaoSupport;
* Extension of {@link org.springframework.jdbc.core.support.JdbcDaoSupport}
* that exposes a {@link #getSimpleJdbcTemplate() SimpleJdbcTemplate} as well.
* Only usable on Java 5 and above.
*
*
* @author Rod Johnson
* @author Juergen Hoeller
* @since 2.0
* @see SimpleJdbcTemplate
* @deprecated since Spring 3.1 in favor of {@link org.springframework.jdbc.core.support.JdbcDaoSupport} and
* {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport}. The JdbcTemplate and
* {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport}. The JdbcTemplate and
* NamedParameterJdbcTemplate now provide all the functionality of the SimpleJdbcTemplate.
*/
@Deprecated
public class SimpleJdbcDaoSupport extends JdbcDaoSupport {
private SimpleJdbcTemplate simpleJdbcTemplate;

View File

@@ -31,7 +31,7 @@ import org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor;
* @since 2.5
*/
public interface SimpleJdbcInsertOperations {
/**
* Specify the table name to be used for the insert.
* @param tableName the name of the stored table
@@ -85,8 +85,8 @@ public interface SimpleJdbcInsertOperations {
/**
* Use a the provided NativeJdbcExtractor during the column meta data
* lookups via JDBC.
* Note: this is only necessary to include when running with a connection pool
* that wraps the meta data connection and when using a database like Oracle
* Note: this is only necessary to include when running with a connection pool
* that wraps the meta data connection and when using a database like Oracle
* where it is necessary to access the native connection to include synonyms.
* @return the instance of this SimpleJdbcInsert
*/

View File

@@ -38,7 +38,7 @@ import org.springframework.jdbc.core.namedparam.SqlParameterSource;
* @see SimpleJdbcTemplate
* @see org.springframework.jdbc.core.JdbcOperations
* @deprecated since Spring 3.1 in favor of {@link org.springframework.jdbc.core.JdbcOperations} and
* {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations}. The JdbcTemplate and
* {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations}. The JdbcTemplate and
* NamedParameterJdbcTemplate now provide all the functionality of the SimpleJdbcTemplate.
*/
@Deprecated

View File

@@ -41,7 +41,7 @@ import org.springframework.util.ObjectUtils;
* any methods specifying SQL types, methods using less commonly used callbacks
* such as RowCallbackHandler, updates with PreparedStatementSetters rather than
* argument arrays, and stored procedures as well as batch operations.
*
*
* @author Rod Johnson
* @author Rob Harrop
* @author Juergen Hoeller
@@ -51,12 +51,12 @@ import org.springframework.util.ObjectUtils;
* @see SimpleJdbcDaoSupport
* @see org.springframework.jdbc.core.JdbcTemplate
* @deprecated since Spring 3.1 in favor of {@link org.springframework.jdbc.core.JdbcTemplate} and
* {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}. The JdbcTemplate and
* {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}. The JdbcTemplate and
* NamedParameterJdbcTemplate now provide all the functionality of the SimpleJdbcTemplate.
*/
@Deprecated
public class SimpleJdbcTemplate implements SimpleJdbcOperations {
/** The NamedParameterJdbcTemplate that we are wrapping */
private final NamedParameterJdbcOperations namedParameterJdbcOperations;

View File

@@ -2,14 +2,14 @@
/**
*
* Simplification layer over JdbcTemplate for Java 5 and above.
*
*
* <p><code>SimpleJdbcInsert</code> and <code>SimpleJdbcCall</code> are classes that takes advantage
* of database metadata provided by the JDBC driver to simplify the application code. Much of the
* of database metadata provided by the JDBC driver to simplify the application code. Much of the
* parameter specification becomes unnecessary since it can be looked up in the metadata.
*
* Note: The <code>SimpleJdbcOperations</code> and <code>SimpleJdbcTemplate</code>, which provides a wrapper
*
* Note: The <code>SimpleJdbcOperations</code> and <code>SimpleJdbcTemplate</code>, which provides a wrapper
* around JdbcTemplate to take advantage of Java 5 features like generics, varargs and autoboxing, is now deprecated
* since Spring 3.1. All functionality is now available in the <code>JdbcOperations</code> and
* since Spring 3.1. All functionality is now available in the <code>JdbcOperations</code> and
* <code>NamedParametersOperations</code> respectively.
*
*/

View File

@@ -53,7 +53,7 @@ import org.springframework.jdbc.support.lob.LobHandler;
* },
* new int[] {Types.VARCHAR, Types.BLOB, Types.CLOB});
* </pre>
*
*
* @author Thomas Risberg
* @author Juergen Hoeller
* @since 1.1

View File

@@ -29,7 +29,7 @@ import org.springframework.transaction.TransactionDefinition;
import org.springframework.transaction.support.TransactionSynchronizationAdapter;
import org.springframework.transaction.support.TransactionSynchronizationManager;
import org.springframework.util.Assert;
/**
* Helper class that provides static methods for obtaining JDBC Connections from
* a {@link javax.sql.DataSource}. Includes special support for Spring-managed

View File

@@ -36,8 +36,8 @@ import javax.sql.DataSource;
* @see org.springframework.jdbc.core.JdbcTemplate
*/
public interface SmartDataSource extends DataSource {
/**
/**
* Should we close this Connection, obtained from this DataSource?
* <p>Code that uses Connections from a SmartDataSource should always
* perform a check via this method before invoking <code>close()</code>.

View File

@@ -37,7 +37,7 @@ import org.apache.derby.jdbc.EmbeddedDriver;
final class DerbyEmbeddedDatabaseConfigurer implements EmbeddedDatabaseConfigurer {
private static final Log logger = LogFactory.getLog(DerbyEmbeddedDatabaseConfigurer.class);
private static final String URL_TEMPLATE = "jdbc:derby:memory:%s;%s";
// Error code that indicates successful shutdown

View File

@@ -105,7 +105,7 @@ public class EmbeddedDatabaseBuilder {
addScript("data.sql");
return this;
}
/**
* Build the embedded database.
* @return the embedded database

View File

@@ -26,7 +26,7 @@ import javax.sql.DataSource;
* @since 3.0
*/
public interface EmbeddedDatabaseConfigurer {
/**
* Configure the properties required to create and connect to the embedded database instance.
* @param properties connection properties to configure
@@ -40,5 +40,5 @@ public interface EmbeddedDatabaseConfigurer {
* @param databaseName the name of the database being shutdown
*/
void shutdown(DataSource dataSource, String databaseName);
}

View File

@@ -26,10 +26,10 @@ package org.springframework.jdbc.datasource.embedded;
public enum EmbeddedDatabaseType {
/** The Hypersonic Embedded Java SQL Database (http://hsqldb.org) */
HSQL,
HSQL,
/** The H2 Embedded Java SQL Database Engine (http://h2database.com) */
H2,
H2,
/** The Apache Derby Embedded SQL Database (http://db.apache.org/derby) */
DERBY

View File

@@ -32,21 +32,21 @@ import org.springframework.jdbc.datasource.SimpleDriverDataSource;
final class SimpleDriverDataSourceFactory implements DataSourceFactory {
private final SimpleDriverDataSource dataSource = new SimpleDriverDataSource();
public ConnectionProperties getConnectionProperties() {
return new ConnectionProperties() {
public void setDriverClass(Class<? extends Driver> driverClass) {
dataSource.setDriverClass(driverClass);
}
public void setUrl(String url) {
dataSource.setUrl(url);
}
public void setUsername(String username) {
dataSource.setUsername(username);
}
public void setPassword(String password) {
dataSource.setPassword(password);
}
@@ -56,5 +56,5 @@ final class SimpleDriverDataSourceFactory implements DataSourceFactory {
public DataSource getDataSource() {
return this.dataSource;
}
}

View File

@@ -27,7 +27,7 @@ import java.sql.SQLException;
* @see ResourceDatabasePopulator
*/
public interface DatabasePopulator {
/**
* Populate the database using the JDBC connection provided.
* @param connection the JDBC connection to use to populate the db; already configured and ready to use

View File

@@ -25,7 +25,7 @@ import org.springframework.util.Assert;
/**
* {@link DataSourceLookup} implementation based on a Spring {@link BeanFactory}.
*
*
* <p>Will lookup Spring managed beans identified by bean name,
* expecting them to be of type <code>javax.sql.DataSource</code>.
*
@@ -53,7 +53,7 @@ public class BeanFactoryDataSourceLookup implements DataSourceLookup, BeanFactor
* by a Spring IoC container, as the supplied {@link BeanFactory} will be
* replaced by the {@link BeanFactory} that creates it (c.f. the
* {@link BeanFactoryAware} contract). So only use this constructor if you
* are using this class outside the context of a Spring IoC container.
* are using this class outside the context of a Spring IoC container.
* @param beanFactory the bean factory to be used to lookup {@link DataSource DataSources}
*/
public BeanFactoryDataSourceLookup(BeanFactory beanFactory) {

View File

@@ -26,7 +26,7 @@ import org.springframework.jndi.JndiLocatorSupport;
*
* <p>For specific JNDI configuration, it is recommended to configure
* the "jndiEnvironment"/"jndiTemplate" properties.
*
*
* @author Costin Leau
* @author Juergen Hoeller
* @since 2.0

View File

@@ -68,7 +68,7 @@ public class MapDataSourceLookup implements DataSourceLookup {
* Set the {@link Map} of {@link DataSource DataSources}; the keys
* are {@link String Strings}, the values are actual {@link DataSource} instances.
* <p>If the supplied {@link Map} is <code>null</code>, then this method
* call effectively has no effect.
* call effectively has no effect.
* @param dataSources said {@link Map} of {@link DataSource DataSources}
*/
public void setDataSources(Map<String, DataSource> dataSources) {
@@ -80,7 +80,7 @@ public class MapDataSourceLookup implements DataSourceLookup {
/**
* Get the {@link Map} of {@link DataSource DataSources} maintained by this object.
* <p>The returned {@link Map} is {@link Collections#unmodifiableMap(java.util.Map) unmodifiable}.
* @return said {@link Map} of {@link DataSource DataSources} (never <code>null</code>)
* @return said {@link Map} of {@link DataSource DataSources} (never <code>null</code>)
*/
public Map<String, DataSource> getDataSources() {
return Collections.unmodifiableMap(this.dataSources);

View File

@@ -180,7 +180,7 @@ public class BatchSqlUpdate extends SqlUpdate {
if (this.parameterQueue.isEmpty()) {
return new int[0];
}
int[] rowsAffected = getJdbcTemplate().batchUpdate(
getSql(),
new BatchPreparedStatementSetter() {

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2009 the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,7 +32,7 @@ public class GenericSqlQuery extends SqlQuery {
throws IllegalAccessException, InstantiationException {
this.rowMapperClass = rowMapperClass;
if (!RowMapper.class.isAssignableFrom(rowMapperClass))
throw new IllegalStateException("The specified class '" +
throw new IllegalStateException("The specified class '" +
rowMapperClass.getName() + " is not a sub class of " +
"'org.springframework.jdbc.core.RowMapper'");
}

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2009 the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

View File

@@ -69,7 +69,7 @@ public abstract class RdbmsOperation implements InitializingBean {
private boolean updatableResults = false;
private boolean returnGeneratedKeys = false;
private String[] generatedKeysColumnNames = null;
private String sql;
@@ -82,8 +82,8 @@ public abstract class RdbmsOperation implements InitializingBean {
* but subclasses may also implement their own custom validation.
*/
private boolean compiled;
/**
* An alternative to the more commonly used setDataSource() when you want to
* use the same JdbcTemplate in multiple RdbmsOperations. This is appropriate if the
@@ -281,7 +281,7 @@ public abstract class RdbmsOperation implements InitializingBean {
}
/**
* Add one or more declared parameters. Used for configuring this operation
* Add one or more declared parameters. Used for configuring this operation
* when used in a bean factory. Each parameter will specify SQL type and (optionally)
* the parameter's name.
* @param parameters Array containing the declared {@link SqlParameter} objects
@@ -334,8 +334,8 @@ public abstract class RdbmsOperation implements InitializingBean {
}
catch (IllegalArgumentException ex) {
throw new InvalidDataAccessApiUsageException(ex.getMessage());
}
}
compileInternal();
this.compiled = true;

View File

@@ -24,8 +24,8 @@ import org.springframework.dao.TypeMismatchDataAccessException;
import org.springframework.jdbc.core.SingleColumnRowMapper;
/**
* SQL "function" wrapper for a query that returns a single row of results.
* The default behavior is to return an int, but that can be overridden by
* SQL "function" wrapper for a query that returns a single row of results.
* The default behavior is to return an int, but that can be overridden by
* using the constructor with an extra return type parameter.
*
* <p>Intended to use to call SQL functions that return a single result using a

View File

@@ -86,7 +86,7 @@ public abstract class SqlOperation extends RdbmsOperation {
}
}
/**
* Return a PreparedStatementSetter to perform an operation
* with the given parameters.

View File

@@ -171,7 +171,7 @@ public class SqlUpdate extends SqlOperation {
}
/**
* Method to execute the update given arguments and
* Method to execute the update given arguments and
* retrieve the generated keys using a KeyHolder.
* @param params array of parameter objects
* @param generatedKeyHolder KeyHolder that will hold the generated keys

View File

@@ -59,7 +59,7 @@ public abstract class StoredProcedure extends SqlCall {
setDataSource(ds);
setSql(name);
}
/**
* Create a new object wrapper for a stored procedure.
* @param jdbcTemplate JdbcTemplate which wraps DataSource
@@ -147,9 +147,9 @@ public abstract class StoredProcedure extends SqlCall {
/**
* Execute the stored procedure. Subclasses should define a strongly typed
* execute method (with a meaningful name) that invokes this method, passing in
* a ParameterMapper that will populate the input map. This allows mapping database
* a ParameterMapper that will populate the input map. This allows mapping database
* specific features since the ParameterMapper has access to the Connection object.
* The execute method is also responsible for extracting typed values from the output map.
* The execute method is also responsible for extracting typed values from the output map.
* Subclass execute methods will often take domain objects as arguments and return values.
* Alternatively, they can return void.
* @param inParamMapper map of input parameters, keyed by name as in parameter

View File

@@ -26,7 +26,7 @@ import org.springframework.jdbc.core.RowMapper;
/**
* Reusable RDBMS query in which concrete subclasses must implement
* the abstract updateRow(ResultSet, int, context) method to update each
* the abstract updateRow(ResultSet, int, context) method to update each
* row of the JDBC ResultSet and optionally map contents into an object.
*
* <p>Subclasses can be constructed providing SQL, parameter types
@@ -65,15 +65,15 @@ public abstract class UpdatableSqlQuery<T> extends SqlQuery<T> {
}
/**
* Subclasses must implement this method to update each row of the
* Subclasses must implement this method to update each row of the
* ResultSet and optionally create object of the result type.
* @param rs ResultSet we're working through
* @param rowNum row number (from 0) we're up to
* @param context passed to the execute() method.
* It can be <code>null</code> if no contextual information is need. If you
* need to pass in data for each row, you can pass in a HashMap with
* need to pass in data for each row, you can pass in a HashMap with
* the primary key of the row being the key for the HashMap. That way
* it is easy to locate the updates for each row
* it is easy to locate the updates for each row
* @return an object of the result type
* @throws SQLException if there's an error updateing data.
* Subclasses can simply not catch SQLExceptions, relying on the

View File

@@ -5,13 +5,13 @@
* and stored procedures as threadsafe, reusable objects. This approach
* is modelled by JDO, although of course objects returned by queries
* are "disconnected" from the database.
*
*
* <p>This higher level of JDBC abstraction depends on the lower-level
* abstraction in the <code>org.springframework.jdbc.core</code> package.
* Exceptions thrown are as in the <code>org.springframework.dao</code> package,
* meaning that code using this package does not need to implement JDBC or
* RDBMS-specific error handling.
*
*
* <p>This package and related packages are discussed in Chapter 9 of
* <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/">Expert One-On-One J2EE Design and Development</a>
* by Rod Johnson (Wrox, 2002).

View File

@@ -14,7 +14,7 @@
* to target different RDBMSes without introducing proprietary
* dependencies into application code.
* </ul>
*
*
* <p>This package and related packages are discussed in Chapter 9 of
* <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/">Expert One-On-One J2EE Design and Development</a>
* by Rod Johnson (Wrox, 2002).

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2005 the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -19,7 +19,7 @@ package org.springframework.jdbc.support;
import java.sql.DatabaseMetaData;
import java.sql.SQLException;
/**
/**
* A callback interface used by the JdbcUtils class. Implementations of this
* interface perform the actual work of extracting database meta data, but
* don't need to worry about exception handling. SQLExceptions will be caught
@@ -29,8 +29,8 @@ import java.sql.SQLException;
* @see JdbcUtils#extractDatabaseMetaData
*/
public interface DatabaseMetaDataCallback {
/**
/**
* Implementations must implement this method to process the meta data
* passed in. Exactly what the implementation chooses to do is up to it.
* @param dbmd the DatabaseMetaData to process

View File

@@ -387,8 +387,8 @@ public abstract class JdbcUtils {
name = "DB2";
}
else if ("Sybase SQL Server".equals(source) ||
"Adaptive Server Enterprise".equals(source) ||
"ASE".equals(source) ||
"Adaptive Server Enterprise".equals(source) ||
"ASE".equals(source) ||
"sql server".equalsIgnoreCase(source) ) {
name = "Sybase";
}

View File

@@ -21,7 +21,7 @@ import java.util.Map;
import org.springframework.dao.InvalidDataAccessApiUsageException;
/**
/**
* Interface for retrieving keys, typically used for auto-generated keys
* as potentially returned by JDBC insert statements.
*
@@ -41,8 +41,8 @@ import org.springframework.dao.InvalidDataAccessApiUsageException;
* @see org.springframework.jdbc.object.SqlUpdate
*/
public interface KeyHolder {
/**
/**
* Retrieve the first item from the first map, assuming that there is just
* one item and just one map, and that the item is a number.
* This is the typical case: a single, numeric generated key.
@@ -54,9 +54,9 @@ public interface KeyHolder {
* @return the generated key
* @throws InvalidDataAccessApiUsageException if multiple keys are encountered.
*/
Number getKey() throws InvalidDataAccessApiUsageException;
Number getKey() throws InvalidDataAccessApiUsageException;
/**
/**
* Retrieve the first map of keys. If there are multiple entries in the list
* (meaning that multiple rows had keys returned), then an
* InvalidDataAccessApiUsageException is thrown.
@@ -65,7 +65,7 @@ public interface KeyHolder {
*/
Map<String, Object> getKeys() throws InvalidDataAccessApiUsageException;
/**
/**
* Return a reference to the List that contains the keys.
* Can be used for extracting keys for multiple rows (an unusual case),
* and also for adding new maps of keys.

View File

@@ -174,7 +174,7 @@ public class SQLErrorCodes {
public void setCannotSerializeTransactionCodes(String[] cannotSerializeTransactionCodes) {
this.cannotSerializeTransactionCodes = StringUtils.sortStringArray(cannotSerializeTransactionCodes);
}
public String[] getCannotSerializeTransactionCodes() {
return this.cannotSerializeTransactionCodes;
}

View File

@@ -130,10 +130,10 @@ public class SQLErrorCodesFactory {
logger.warn("Error loading SQL error codes from config file", ex);
errorCodes = Collections.emptyMap();
}
this.errorCodesMap = errorCodes;
}
/**
* Load the given resource from the class path.
* <p><b>Not to be overridden by application developers, who should obtain
@@ -159,7 +159,7 @@ public class SQLErrorCodesFactory {
*/
public SQLErrorCodes getErrorCodes(String dbName) {
Assert.notNull(dbName, "Database product name must not be null");
SQLErrorCodes sec = this.errorCodesMap.get(dbName);
if (sec == null) {
for (SQLErrorCodes candidate : this.errorCodesMap.values()) {

View File

@@ -26,7 +26,7 @@ import java.sql.SQLException;
* <pre class="code"> create table tab (id int not null primary key, text varchar(100))
* create table tab_sequence (id bigint identity)
* insert into tab_sequence default values</pre>
*
*
* If "cacheSize" is set, the intermediate values are served without querying the
* database. If the server or your application is stopped or crashes or a transaction
* is rolled back, the unused values will never be served. The maximum hole size in

View File

@@ -19,7 +19,7 @@ package org.springframework.jdbc.support.incrementer;
import javax.sql.DataSource;
/**
* {@link org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer} that increments
* {@link org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer} that increments
* the maximum value of a given Sybase SQL Anywhere table
* with the equivalent of an auto-increment column. Note: If you use this class, your table key
* column should <i>NOT</i> be defined as an IDENTITY column, as the sequence table does the job.

View File

@@ -28,7 +28,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
/**
* {@link org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer} that increments
* {@link org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer} that increments
* the maximum value of a given Sybase SQL Server table
* with the equivalent of an auto-increment column. Note: If you use this class, your table key
* column should <i>NOT</i> be defined as an IDENTITY column, as the sequence table does the job.

View File

@@ -3,7 +3,7 @@
*
* Provides a support framework for incrementing database table values
* via sequences, with implementations for various databases.
*
*
* <p>Can be used independently, for example in custom JDBC access code.
*
*/

View File

@@ -3,7 +3,7 @@
*
* Provides a stategy interface for Large OBject handling,
* with implementations for various databases.
*
*
* <p>Can be used independently from jdbc.core and jdbc.object,
* for example in custom JDBC access code.
*

View File

@@ -155,5 +155,5 @@ public class JBossNativeJdbcExtractor extends NativeJdbcExtractorAdapter {
}
return rs;
}
}

View File

@@ -3,7 +3,7 @@
*
* Provides a mechanism for extracting native implementations of JDBC
* interfaces from wrapper objects that got returned from connection pools.
*
*
* <p>Can be used independently, for example in custom JDBC access code.
*
*/

View File

@@ -4,7 +4,7 @@
* Support classes for the JDBC framework, used by the classes in the
* jdbc.core and jdbc.object packages. Provides a translator from
* SQLExceptions Spring's generic DataAccessExceptions.
*
*
* <p>Can be used independently, for example in custom JDBC access code,
* or in JDBC-based O/R mapping layers.
*

View File

@@ -71,7 +71,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
private final ResultSet resultSet;
private final SqlRowSetMetaData rowSetMetaData;
private final Map<String, Integer> columnLabelMap;
@@ -109,7 +109,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
catch (SQLException se) {
throw new InvalidResultSetAccessException(se);
}
}
@@ -128,7 +128,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
public final SqlRowSetMetaData getMetaData() {
return this.rowSetMetaData;
}
/**
* @see java.sql.ResultSet#findColumn(String)
*/
@@ -161,7 +161,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getBigDecimal(String)
*/
@@ -187,7 +187,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
public boolean getBoolean(String columnLabel) throws InvalidResultSetAccessException {
return getBoolean(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getByte(int)
*/
@@ -199,14 +199,14 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getByte(String)
*/
public byte getByte(String columnLabel) throws InvalidResultSetAccessException {
return getByte(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getDate(int, java.util.Calendar)
*/
@@ -218,7 +218,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getDate(int)
*/
@@ -236,14 +236,14 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
public Date getDate(String columnLabel, Calendar cal) throws InvalidResultSetAccessException {
return getDate(findColumn(columnLabel), cal);
}
/**
* @see java.sql.ResultSet#getDate(String)
*/
public Date getDate(String columnLabel) throws InvalidResultSetAccessException {
return getDate(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getDouble(int)
*/
@@ -255,14 +255,14 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getDouble(String)
*/
public double getDouble(String columnLabel) throws InvalidResultSetAccessException {
return getDouble(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getFloat(int)
*/
@@ -299,7 +299,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
public int getInt(String columnLabel) throws InvalidResultSetAccessException {
return getInt(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getLong(int)
*/
@@ -311,14 +311,14 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getLong(String)
*/
public long getLong(String columnLabel) throws InvalidResultSetAccessException {
return getLong(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getObject(int, java.util.Map)
*/
@@ -330,7 +330,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getObject(int)
*/
@@ -342,21 +342,21 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getObject(String, java.util.Map)
*/
public Object getObject(String columnLabel, Map<String, Class<?>> map) throws InvalidResultSetAccessException {
return getObject(findColumn(columnLabel), map);
}
/**
* @see java.sql.ResultSet#getObject(String)
*/
public Object getObject(String columnLabel) throws InvalidResultSetAccessException {
return getObject(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getShort(int)
*/
@@ -368,14 +368,14 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getShort(String)
*/
public short getShort(String columnLabel) throws InvalidResultSetAccessException {
return getShort(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getString(int)
*/
@@ -387,14 +387,14 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getString(String)
*/
public String getString(String columnLabel) throws InvalidResultSetAccessException {
return getString(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getTime(int, java.util.Calendar)
*/
@@ -406,7 +406,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getTime(int)
*/
@@ -425,14 +425,14 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
public Time getTime(String columnLabel, Calendar cal) throws InvalidResultSetAccessException {
return getTime(findColumn(columnLabel), cal);
}
/**
* @see java.sql.ResultSet#getTime(String)
*/
public Time getTime(String columnLabel) throws InvalidResultSetAccessException {
return getTime(findColumn(columnLabel));
}
/**
* @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar)
*/
@@ -444,7 +444,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#getTimestamp(int)
*/
@@ -473,7 +473,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
// RowSet navigation methods
/**
* @see java.sql.ResultSet#absolute(int)
*/
@@ -497,7 +497,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#beforeFirst()
*/
@@ -509,7 +509,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#first()
*/
@@ -557,7 +557,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#isFirst()
*/
@@ -569,7 +569,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#isLast()
*/
@@ -581,7 +581,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#last()
*/
@@ -593,7 +593,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#next()
*/
@@ -605,7 +605,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#previous()
*/
@@ -617,7 +617,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#relative(int)
*/
@@ -629,7 +629,7 @@ public class ResultSetWrappingSqlRowSet implements SqlRowSet {
throw new InvalidResultSetAccessException(se);
}
}
/**
* @see java.sql.ResultSet#wasNull()
*/

View File

@@ -63,7 +63,7 @@ public class ResultSetWrappingSqlRowSetMetaData implements SqlRowSetMetaData {
throw new InvalidResultSetAccessException(se);
}
}
public String getColumnClassName(int column) throws InvalidResultSetAccessException {
try {
return this.resultSetMetaData.getColumnClassName(column);
@@ -199,5 +199,5 @@ public class ResultSetWrappingSqlRowSetMetaData implements SqlRowSetMetaData {
throw new InvalidResultSetAccessException(se);
}
}
}

View File

@@ -32,7 +32,7 @@ public interface XmlResultProvider {
* Implementations must implement this method to provide the XML content
* for the <code>Result</code>. Implementations will vary depending on
* the <code>Result</code> implementation used.
* @param result the <code>Result</code> object being used to provide the XML input
* @param result the <code>Result</code> object being used to provide the XML input
*/
void provideXml(Result result);