From 408086ee944b8d9cf0390a34de021aab9afa94f8 Mon Sep 17 00:00:00 2001 From: James Moger Date: Mon, 15 Oct 2012 10:39:28 -0400 Subject: [PATCH] Spelling correction --- tests/com/iciql/test/models/CategoryAnnotationOnly.java | 3 ++- .../test/models/ProductAnnotationOnlyWithForeignKey.java | 5 ++--- 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 ) -- 2.39.5