diff options
author | James Moger <james.moger@gmail.com> | 2011-08-12 14:07:53 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-08-12 14:07:53 -0400 |
commit | bb6d90fe0caa40a54ffb44e36289af4d2c708644 (patch) | |
tree | 2c0f2b0aac04880acaaf70ef3cd33a0b870b66ae /src/com/iciql | |
parent | 27ccb36e11953d1bbe8eadef68e99b5ca3e09cab (diff) | |
download | iciql-bb6d90fe0caa40a54ffb44e36289af4d2c708644.tar.gz iciql-bb6d90fe0caa40a54ffb44e36289af4d2c708644.zip |
Renamed @IQTable.createIfRequired to @IQTable.create
Diffstat (limited to 'src/com/iciql')
-rw-r--r-- | src/com/iciql/Iciql.java | 2 | ||||
-rw-r--r-- | src/com/iciql/TableDefinition.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/iciql/Iciql.java b/src/com/iciql/Iciql.java index 33b954b..47cf9c1 100644 --- a/src/com/iciql/Iciql.java +++ b/src/com/iciql/Iciql.java @@ -341,7 +341,7 @@ public interface Iciql { * Whether or not iciql tries to create the table and indexes. Default:
* true.
*/
- boolean createIfRequired() default true;
+ boolean create() default true;
/**
* Whether only supported types are mapped. If true, unsupported mapped
diff --git a/src/com/iciql/TableDefinition.java b/src/com/iciql/TableDefinition.java index 729cb90..36a28d3 100644 --- a/src/com/iciql/TableDefinition.java +++ b/src/com/iciql/TableDefinition.java @@ -591,7 +591,7 @@ public class TableDefinition<T> { }
// allow control over createTableIfRequired()
- createTableIfRequired = tableAnnotation.createIfRequired();
+ createTableIfRequired = tableAnnotation.create();
// model version
if (clazz.isAnnotationPresent(IQVersion.class)) {
|