Uses of Record Class
io.github.blyznytsiaorg.bibernate.entity.ColumnSnapshot
Package
Description
-
Uses of ColumnSnapshot in io.github.blyznytsiaorg.bibernate.actionqueue.impl
Modifier and TypeFieldDescriptionprivate final List
<ColumnSnapshot> UpdateEntityAction.diff
A list of column snapshots representing the changes to be applied during the update. -
Uses of ColumnSnapshot in io.github.blyznytsiaorg.bibernate.dao
Modifier and TypeMethodDescriptionprivate void
EntityDao.populatePreparedStatement
(Object entity, PreparedStatement statement, String fieldIdName, Object fieldIdValue, Number fieldVersionValue, List<ColumnSnapshot> diff) <T> void
Dao.update
(Class<T> entityClass, Object entity, List<ColumnSnapshot> diff) Updates an entity with the provided changes.<T> void
EntityDao.update
(Class<T> entityClass, Object entity, List<ColumnSnapshot> diff) Updates an entity of typeT
in the database based on the provided differences. -
Uses of ColumnSnapshot in io.github.blyznytsiaorg.bibernate.dao.jdbc
Modifier and TypeMethodDescriptionGenerates an UPDATE SQL statement for updating records in a specified table based on the provided entity, fieldIdName, and list of ColumnSnapshots representing the differences. -
Uses of ColumnSnapshot in io.github.blyznytsiaorg.bibernate.session
Modifier and TypeFieldDescriptionprivate final Map
<EntityKey<?>, List<ColumnSnapshot>> BibernateFirstLevelCacheSession.snapshots
Modifier and TypeMethodDescriptionprivate List
<ColumnSnapshot> BibernateFirstLevelCacheSession.buildEntitySnapshot
(Object entity) Modifier and TypeMethodDescriptionprivate <T> void
BibernateFirstLevelCacheSession.update
(Class<T> entityClass, Object entity, List<ColumnSnapshot> diff) -
Uses of ColumnSnapshot in io.github.blyznytsiaorg.bibernate.utils
Modifier and TypeMethodDescriptionstatic List
<ColumnSnapshot> EntityReflectionUtils.getDifference
(List<ColumnSnapshot> currentEntitySnapshot, List<ColumnSnapshot> oldEntitySnapshot) Compares two lists of ColumnSnapshot objects representing entity snapshots and returns the differences.Modifier and TypeMethodDescriptionstatic List
<ColumnSnapshot> EntityReflectionUtils.getDifference
(List<ColumnSnapshot> currentEntitySnapshot, List<ColumnSnapshot> oldEntitySnapshot) Compares two lists of ColumnSnapshot objects representing entity snapshots and returns the differences.