# Persistence

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 3,675 of 3,675 | 0% | 532 of 532 | 0% | 377 | 377 | 858 | 858 | 111 | 111
load(RecordBuffer, String, Object[], LockType, long, boolean, boolean, boolean, boolean) |  | 0% |  | 0% | 48 | 48 | 90 | 90 | 1 | 1
preprocessQueryParameter(Object, Dialect) |  | 0% |  | 0% | 18 | 18 | 35 | 35 | 1 | 1
reportUDFVersion(Database, DatabaseConfig) |  | 0% |  | 0% | 14 | 14 | 41 | 41 | 1 | 1
getSingleSQLResult(String, boolean, Object[]) |  | 0% |  | 0% | 12 | 12 | 38 | 38 | 1 | 1
load(Class, Long, LockType, long, boolean, BitSet) |  | 0% |  | 0% | 15 | 15 | 34 | 34 | 1 | 1
tenantChanged(String, String) |  | 0% |  | 0% | 9 | 9 | 34 | 34 | 1 | 1
executeSQLBatch(String, boolean, Supplier) |  | 0% |  | 0% | 9 | 9 | 34 | 34 | 1 | 1
executeSQLBatch(Persistence.Context, List, boolean) |  | 0% |  | 0% | 9 | 9 | 31 | 31 | 1 | 1
createIdentityManager(int) |  | 0% |  | 0% | 6 | 6 | 19 | 19 | 1 | 1
executeSQL(String, boolean, Object[], boolean) |  | 0% |  | 0% | 7 | 7 | 24 | 24 | 1 | 1
Persistence(Database, Dialect) |  | 0% |  | 0% | 7 | 7 | 16 | 16 | 1 | 1
list(Class[], String, Object[], int, int, DataRelation, boolean) |  | 0% |  | 0% | 4 | 4 | 16 | 16 | 1 | 1
invalidateCache(Class, String, Object[]) |  | 0% |  | 0% | 4 | 4 | 20 | 20 | 1 | 1
save(Record, Long, boolean) |  | 0% |  | 0% | 8 | 8 | 20 | 20 | 1 | 1
scroll(Class[], String, Object[], int, int, DataRelation, int, boolean) |  | 0% |  | n/a | 1 | 1 | 13 | 13 | 1 | 1
getContext(Class[]) |  | 0% |  | 0% | 10 | 10 | 20 | 20 | 1 | 1
deleteOrUpdate(String, boolean, Object[], String, boolean) |  | 0% |  | 0% | 4 | 4 | 18 | 18 | 1 | 1
createLockManager(int) |  | 0% |  | 0% | 6 | 6 | 16 | 16 | 1 | 1
executeSQLQuery(String, boolean, Object[]) |  | 0% |  | 0% | 5 | 5 | 18 | 18 | 1 | 1
quickLoad(RecordIdentifier, boolean, boolean) |  | 0% |  | 0% | 6 | 6 | 16 | 16 | 1 | 1
initializeTenant(Persistence.Tenant) |  | 0% |  | 0% | 6 | 6 | 13 | 13 | 1 | 1
evict(Collection) |  | 0% |  | 0% | 8 | 8 | 14 | 14 | 1 | 1
handleException(String, PersistenceException) |  | 0% |  | 0% | 6 | 6 | 10 | 10 | 1 | 1
merge(Record) |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1
shareLockTableUpdater(Database) |  | 0% |  | 0% | 6 | 6 | 7 | 7 | 1 | 1
handleException(Persistence.Context, PersistenceException, String) |  | 0% |  | 0% | 5 | 5 | 14 | 14 | 1 | 1
getQuery(Persistence.Context, String, int, int, DataRelation, Object[], boolean) |  | 0% |  | 0% | 4 | 4 | 7 | 7 | 1 | 1
refreshBuffers(Class) |  | 0% |  | 0% | 2 | 2 | 10 | 10 | 1 | 1
nextPrimaryKey(String) |  | 0% |  | 0% | 4 | 4 | 4 | 4 | 1 | 1
nextPrimaryKey(String, boolean) |  | 0% |  | 0% | 4 | 4 | 4 | 4 | 1 | 1
lockTable(String, LockType, boolean, boolean) |  | 0% |  | 0% | 4 | 4 | 4 | 4 | 1 | 1
lock(LockType, RecordIdentifier, boolean, long, boolean) |  | 0% |  | 0% | 4 | 4 | 4 | 4 | 1 | 1
lock(LockType, RecordIdentifier, boolean, boolean) |  | 0% |  | 0% | 4 | 4 | 4 | 4 | 1 | 1
lock(LockType, RecordIdentifier, boolean) |  | 0% |  | 0% | 4 | 4 | 4 | 4 | 1 | 1
queryLock(RecordIdentifier, boolean) |  | 0% |  | 0% | 4 | 4 | 4 | 4 | 1 | 1
initialize() |  | 0% |  | 0% | 3 | 3 | 18 | 18 | 1 | 1
uniqueResultViolation(RecordBuffer, Exception) |  | 0% |  | 0% | 2 | 2 | 7 | 7 | 1 | 1
message(String) |  | 0% |  | 0% | 3 | 3 | 4 | 4 | 1 | 1
delete(Record) |  | 0% |  | 0% | 2 | 2 | 7 | 7 | 1 | 1
preprocessQueryParameters(Object[]) |  | 0% |  | 0% | 3 | 3 | 5 | 5 | 1 | 1
cleanup() |  | 0% |  | 0% | 3 | 3 | 6 | 6 | 1 | 1
getCodepage() |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
getCollation() |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
flush() |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
flush(boolean) |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
deregisterSessionListener(SessionListener) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
getLockManager() |  | 0% |  | 0% | 2 | 2 | 3 | 3 | 1 | 1
getLockManager(boolean) |  | 0% |  | 0% | 2 | 2 | 3 | 3 | 1 | 1
getIdentityManager(boolean) |  | 0% |  | 0% | 2 | 2 | 3 | 3 | 1 | 1
hasActiveTenantInContext() |  | 0% |  | 0% | 3 | 3 | 4 | 4 | 1 | 1
beginTransaction(Persistence.Context, SavepointManager) |  | 0% |  | 0% | 3 | 3 | 5 | 5 | 1 | 1
getContext(boolean) |  | 0% |  | 0% | 3 | 3 | 2 | 2 | 1 | 1
lambda$tenantChanged$0(String, Database, String) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
getDatabase(boolean) |  | 0% |  | 0% | 2 | 2 | 3 | 3 | 1 | 1
static {...} |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
hasActiveTenants() |  | 0% |  | 0% | 3 | 3 | 1 | 1 | 1 | 1
flush(Persistence.Context, Session, boolean) |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
scroll(String, Object[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(String, Object[], DataRelation) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(String, Object[], int, int) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(String, Object[], int, int, DataRelation) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(String, Object[], int, int, int) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(String, Object[], int, int, DataRelation, int) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(Class[], String, Object[], int, int, int) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(Class[], String, Object[], int, int, DataRelation, int) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
scroll(Class[], String, Object[], int, int, int, boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getSession() |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
getSession(boolean) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
supportsLazyQueryResultsMode() |  | 0% |  | 0% | 3 | 3 | 1 | 1 | 1 | 1
rollback(Persistence.Context) |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
list(String, Object[], int, int) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
list(String, Object[], int, int, DataRelation) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
list(Class[], String, Object[], int, int, boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getQuery(Persistence.Context, String, int, int, DataRelation, Object[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
load(Class, Long, LockType, long, boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
evict(Persistence.Context, Record) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
registerSessionListener(SessionListener, SessionListener.Scope, boolean) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
toString() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
executeSQLBatch(List, boolean, boolean) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
executeSQL(String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
executeSQL(String, boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
executeSQL(String, Object[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
executeSQL(String, boolean, Object[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
save(Record) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
beginTransaction(SavepointManager, boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
invalidateCache(Class) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
quickLoad(RecordIdentifier, boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
executeSQLQuery(String, Object[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getSingleSQLResult(String, Object[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
save(Record, Long) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
commit() |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
commit(boolean) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
rollback(boolean) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
rollback() |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
setUnsafe(boolean, boolean) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
beginTransaction() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
beginTransaction(boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isTransactionOpen() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isTransactionOpen(boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getRecordLockContext(boolean) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
equals(Object) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getDatabase() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
get(String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
hashCode() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getDialect() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getTimeOut() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
allowDBUniqueCheck() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isTemporary() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
commit(Persistence.Context) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
isActive() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isForeignKeysEnabled() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1