aboutsummaryrefslogtreecommitdiffstats
path: root/tests/com/iciql/test/models
diff options
context:
space:
mode:
Diffstat (limited to 'tests/com/iciql/test/models')
-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
)