Class GlobalIdRepository
java.lang.Object
org.javers.repository.sql.schema.SchemaNameAware
org.javers.repository.sql.repositories.GlobalIdRepository
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalIdRepository(TableNameProvider tableNameProvider, SqlRepositoryConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidfindGlobalIdPk(org.javers.core.metamodel.object.GlobalId globalId, Session session) cachedintlonggetOrInsertId(org.javers.core.metamodel.object.GlobalId globalId, Optional<Boolean> isInitial, Session session) voidsetJsonConverter(org.javers.core.json.JsonConverter JSONConverter) Methods inherited from class org.javers.repository.sql.schema.SchemaNameAware
getCommitPkSeqName, getCommitPropertyTableName, getCommitPropertyTableNameWithSchema, getCommitTableName, getCommitTableNameWithSchema, getGlobalIdPkSeqName, getGlobalIdTableName, getGlobalIdTableNameWithSchema, getSchemaName, getSnapshotTableName, getSnapshotTableNameWithSchema, getSnapshotTablePkSeqName
-
Constructor Details
-
GlobalIdRepository
public GlobalIdRepository(TableNameProvider tableNameProvider, SqlRepositoryConfiguration configuration)
-
-
Method Details
-
getOrInsertId
-
evictCache
public void evictCache() -
getGlobalIdPkCacheSize
public int getGlobalIdPkCacheSize() -
findGlobalIdPk
public List<Long> findGlobalIdPk(org.javers.core.metamodel.object.GlobalId globalId, Session session) cached -
setJsonConverter
public void setJsonConverter(org.javers.core.json.JsonConverter JSONConverter)
-