|
|
|
|
@ -48,7 +48,7 @@ public interface DataAccessStrategy extends RelationResolver {
@@ -48,7 +48,7 @@ public interface DataAccessStrategy extends RelationResolver {
|
|
|
|
|
* @param instance the instance to be stored. Must not be {@code null}. |
|
|
|
|
* @param domainType the type of the instance. Must not be {@code null}. |
|
|
|
|
* @param identifier information about data that needs to be considered for the insert but which is not part of the |
|
|
|
|
* entity. Namely references back to a parent entity and key/index columns for entities that are stored in a |
|
|
|
|
* entity. Namely, references back to a parent entity and key/index columns for entities that are stored in a |
|
|
|
|
* {@link Map} or {@link List}. |
|
|
|
|
* @return the id generated by the database if any. |
|
|
|
|
* @since 1.1 |
|
|
|
|
@ -66,7 +66,7 @@ public interface DataAccessStrategy extends RelationResolver {
@@ -66,7 +66,7 @@ public interface DataAccessStrategy extends RelationResolver {
|
|
|
|
|
* @param instance the instance to be stored. Must not be {@code null}. |
|
|
|
|
* @param domainType the type of the instance. Must not be {@code null}. |
|
|
|
|
* @param identifier information about data that needs to be considered for the insert but which is not part of the |
|
|
|
|
* entity. Namely references back to a parent entity and key/index columns for entities that are stored in a |
|
|
|
|
* entity. Namely, references back to a parent entity and key/index columns for entities that are stored in a |
|
|
|
|
* {@link Map} or {@link List}. |
|
|
|
|
* @param idValueSource the {@link IdValueSource} for the insert. |
|
|
|
|
* @return the id generated by the database if any. |
|
|
|
|
@ -111,7 +111,7 @@ public interface DataAccessStrategy extends RelationResolver {
@@ -111,7 +111,7 @@ public interface DataAccessStrategy extends RelationResolver {
|
|
|
|
|
* @param previousVersion The previous version assigned to the instance being saved. |
|
|
|
|
* @param <T> the type of the instance to save. |
|
|
|
|
* @return whether the update actually updated a row. |
|
|
|
|
* @throws OptimisticLockingFailureException if the update fails to update at least one row assuming the the |
|
|
|
|
* @throws OptimisticLockingFailureException if the update fails to update at least one row assuming the |
|
|
|
|
* optimistic locking version check failed. |
|
|
|
|
* @since 2.0 |
|
|
|
|
*/ |
|
|
|
|
@ -152,7 +152,7 @@ public interface DataAccessStrategy extends RelationResolver {
@@ -152,7 +152,7 @@ public interface DataAccessStrategy extends RelationResolver {
|
|
|
|
|
* @param domainType the type of entity to be deleted. Implicitly determines the table to operate on. Must not be |
|
|
|
|
* {@code null}. |
|
|
|
|
* @param previousVersion The previous version assigned to the instance being saved. |
|
|
|
|
* @throws OptimisticLockingFailureException if the update fails to update at least one row assuming the the |
|
|
|
|
* @throws OptimisticLockingFailureException if the update fails to update at least one row assuming the |
|
|
|
|
* optimistic locking version check failed. |
|
|
|
|
* @since 2.0 |
|
|
|
|
*/ |
|
|
|
|
|