Author: mtylenda
Date: Fri Aug 27 10:22:45 2010
New Revision: 990085
URL: http://svn.apache.org/viewvc?rev=990085&view=rev
Log:
OPENJPA-735: Fix spelling in method name and comments.
Modified:
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SolidDBDictionary.java
Modified:
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SolidDBDictionary.java
URL:
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SolidDBDictionary.java?rev=990085&r1=990084&r2=990085&view=diff
==============================================================================
---
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SolidDBDictionary.java
(original)
+++
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SolidDBDictionary.java
Fri Aug 27 10:22:45 2010
@@ -211,7 +211,7 @@ public class SolidDBDictionary
seqs = new ArrayList(4);
seq = getAutoGenSeqName(cols[i]);
- if (sequenecExists(table.getSchemaIdentifier().getName(), seq,
group))
+ if (sequenceExists(table.getSchemaIdentifier().getName(), seq,
group))
seqs.add("DROP SEQUENCE " + seq);
seqs.add("CREATE SEQUENCE " + seq);
@@ -238,7 +238,7 @@ public class SolidDBDictionary
if (seqs == null)
return create;
- // combine create table sql and create seqences sql
+ // combine create table sql and create sequences sql
String[] sql = new String[create.length + seqs.size()];
System.arraycopy(create, 0, sql, 0, create.length);
for (int i = 0; i < seqs.size(); i++)
@@ -246,7 +246,7 @@ public class SolidDBDictionary
return sql;
}
- protected boolean sequenecExists(String schemaName, String seqName,
SchemaGroup group) {
+ protected boolean sequenceExists(String schemaName, String seqName,
SchemaGroup group) {
Schema[] schemas = group.getSchemas();
for (int i = 0; i < schemas.length; i++) {
String dbSchemaName = schemas[i].getIdentifier().getName();
@@ -530,7 +530,7 @@ public class SolidDBDictionary
}
/**
- * Solid does no support deferred referential integrity checking.
+ * Solid does not support deferred referential integrity checking.
*/
@Override
protected ForeignKey newForeignKey(ResultSet fkMeta)