Package | Description |
---|---|
net.akaish.kitty.orm |
Modifier and Type | Method and Description |
---|---|
static KittyMapper.TRANSACTION_MODES |
KittyMapper.TRANSACTION_MODES.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KittyMapper.TRANSACTION_MODES[] |
KittyMapper.TRANSACTION_MODES.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<M extends KittyModel> |
KittyMapper.delete(KittyMapper.TRANSACTION_MODES txMode,
java.util.List<M> models)
Deletes all rows that represented by provided model's list.
|
<M extends KittyModel> |
KittyMapper.insert(KittyMapper.TRANSACTION_MODES txMode,
java.util.List<M> models)
Inserts models in provided list into database table in new transaction. |
<M extends KittyModel> |
KittyMapper.save(KittyMapper.TRANSACTION_MODES txMode,
java.util.List<M> models)
Saves values from provided list of models into database.
|
void |
KittyMapper.startTransaction(KittyMapper.TRANSACTION_MODES mode)
Starts transaction on current database instance.
|
<M extends KittyModel> |
KittyMapper.update(KittyMapper.TRANSACTION_MODES txMode,
java.util.List<M> models)
Updates values in database with values from models from provided list in new transaction..
|