aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2012-10-15 10:39:28 -0400
committerJames Moger <james.moger@gmail.com>2012-10-15 10:39:28 -0400
commit408086ee944b8d9cf0390a34de021aab9afa94f8 (patch)
tree61879a63479d387511daa2dd3bf2f73a0c5c8143 /tests
parent95d8f4bd13579a6a6b7e59e7b7031291b2309d8a (diff)
downloadiciql-408086ee944b8d9cf0390a34de021aab9afa94f8.tar.gz
iciql-408086ee944b8d9cf0390a34de021aab9afa94f8.zip
Spelling correction
Diffstat (limited to 'tests')
-rw-r--r--tests/com/iciql/test/models/CategoryAnnotationOnly.java3
-rw-r--r--tests/com/iciql/test/models/ProductAnnotationOnlyWithForeignKey.java5
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/com/iciql/test/models/CategoryAnnotationOnly.java b/tests/com/iciql/test/models/CategoryAnnotationOnly.java
index 7bccfe7..3e1c5ee 100644
--- a/tests/com/iciql/test/models/CategoryAnnotationOnly.java
+++ b/tests/com/iciql/test/models/CategoryAnnotationOnly.java
@@ -1,5 +1,6 @@
/*
* Copyright 2012 Frédéric Gaillard.
+ * Copyright 2012 James Moger.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +28,7 @@ import com.iciql.Iciql.IQTable;
* A table containing category data.
*/
-@IQTable(name = "AnnotatedCatagory", primaryKey = "id")
+@IQTable(name = "AnnotatedCategory", primaryKey = "id")
// @IQIndex(value = "categ", type=IndexType.UNIQUE)
@IQContraintUnique(uniqueColumns = { "categ" })
public class CategoryAnnotationOnly {
diff --git a/tests/com/iciql/test/models/ProductAnnotationOnlyWithForeignKey.java b/tests/com/iciql/test/models/ProductAnnotationOnlyWithForeignKey.java
index b0e5837..b17074e 100644
--- a/tests/com/iciql/test/models/ProductAnnotationOnlyWithForeignKey.java
+++ b/tests/com/iciql/test/models/ProductAnnotationOnlyWithForeignKey.java
@@ -1,7 +1,6 @@
/*
- * Copyright 2004-2011 H2 Group.
- * Copyright 2011 James Moger.
* Copyright 2012 Frédéric Gaillard.
+ * Copyright 2012 James Moger.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +36,7 @@ import com.iciql.Iciql.IndexType;
@IQIndexes({ @IQIndex({ "name", "cat" }), @IQIndex(name = "nameidx", type = IndexType.HASH, value = "name") })
@IQContraintForeignKey(
foreignColumns= { "cat" },
- referenceName = "AnnotatedCatagory",
+ referenceName = "AnnotatedCategory",
referenceColumns = { "categ" },
deleteType = ConstraintDeleteType.CASCADE
)