Browse Source

Spelling correction

tags/v1.2.0
James Moger 11 years ago
parent
commit
408086ee94

+ 2
- 1
tests/com/iciql/test/models/CategoryAnnotationOnly.java View File

@@ -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 {

+ 2
- 3
tests/com/iciql/test/models/ProductAnnotationOnlyWithForeignKey.java View File

@@ -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
)

Loading…
Cancel
Save