| Package | Description |
|---|---|
| org.jsimpledb |
Abstraction layer allowing access to a
Database using normal Java objects. |
| Modifier and Type | Method and Description |
|---|---|
JSimpleDBFactory |
JSimpleDBFactory.setDatabase(Database database)
Configure the underlying
Database for this instance. |
JSimpleDBFactory |
JSimpleDBFactory.setModelClasses(Class<?>... modelClasses)
Configure the Java model classes.
|
JSimpleDBFactory |
JSimpleDBFactory.setModelClasses(Iterable<? extends Class<?>> modelClasses)
Configure the Java model classes.
|
JSimpleDBFactory |
JSimpleDBFactory.setSchemaVersion(int schemaVersion)
Configure the schema version number associated with the configured Java model classes.
|
JSimpleDBFactory |
JSimpleDBFactory.setStorageIdGenerator(StorageIdGenerator storageIdGenerator)
Configure the
StorageIdGenerator for auto-generating storage ID's when not explicitly
specified in @JSimpleClass,
@JField, etc., annotations. |
JSimpleDBFactory |
JSimpleDBFactory.setValidatorFactory(ValidatorFactory validatorFactory)
Configure a custom
ValidatorFactory used to create Validators
for validation within transactions. |
Copyright © 2017. All rights reserved.