1
1
/*
2
- * Copyright 2002-2008 the original author or authors.
2
+ * Copyright 2002-2010 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -135,7 +135,7 @@ public void setOverrideIncludeSynonymsDefault(boolean override) {
135
135
}
136
136
137
137
/**
138
- * Are we overrding include synonyms default?
138
+ * Are we overriding include synonyms default?
139
139
*/
140
140
public boolean isOverrideIncludeSynonymsDefault () {
141
141
return this .overrideIncludeSynonymsDefault ;
@@ -149,7 +149,7 @@ public List<String> getTableColumns() {
149
149
}
150
150
151
151
/**
152
- * Does this database support the JDBC 3.0 feature of retreiving generated keys
152
+ * Does this database support the JDBC 3.0 feature of retrieving generated keys
153
153
* {@link java.sql.DatabaseMetaData#supportsGetGeneratedKeys()}?
154
154
*/
155
155
public boolean isGetGeneratedKeysSupported () {
@@ -175,7 +175,7 @@ public String getSimulationQueryForGetGeneratedKey(String tableName, String keyC
175
175
}
176
176
177
177
/**
178
- * Is a column name String array for retreiving generated keys supported
178
+ * Is a column name String array for retrieving generated keys supported
179
179
* {@link java.sql.Connection#createStruct(String, Object[])}?
180
180
*/
181
181
public boolean isGeneratedKeysColumnNameArraySupported () {
@@ -186,7 +186,7 @@ public boolean isGeneratedKeysColumnNameArraySupported() {
186
186
/**
187
187
* Process the current meta data with the provided configuration options
188
188
* @param dataSource the DataSource being used
189
- * @param declaredColumns any coluns that are declared
189
+ * @param declaredColumns any columns that are declared
190
190
* @param generatedKeyNames name of generated keys
191
191
*/
192
192
public void processMetaData (DataSource dataSource , List <String > declaredColumns , String [] generatedKeyNames ) {
@@ -199,7 +199,7 @@ public void processMetaData(DataSource dataSource, List<String> declaredColumns,
199
199
* @param declaredColumns declared column names
200
200
* @param generatedKeyNames names of generated key columns
201
201
*/
202
- private List <String > reconcileColumnsToUse (List <String > declaredColumns , String [] generatedKeyNames ) {
202
+ protected List <String > reconcileColumnsToUse (List <String > declaredColumns , String [] generatedKeyNames ) {
203
203
if (generatedKeyNames .length > 0 ) {
204
204
generatedKeyColumnsUsed = true ;
205
205
}
0 commit comments