DeleteByUuid

4

tests

0

failures

0

ignored

6.405s

duration

100%

successful

Tests

Test Duration Result
deletingAnAssetAlsoDeletesRelatedRolesAndGrants() 2.073s passed
globalAdmin_withoutAssumedRole_canDeleteAnyAsset() 1.307s passed
relatedAdmin_canNotDeleteTheirRelatedAsset() 1.328s passed
relatedOwner_canDeleteTheirRelatedAsset() 1.697s passed

Standard output

2026-08-10T15:04:08.231Z  INFO 380 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRepositoryIntegrationTest$DeleteByUuid]: DeleteByUuid does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T15:04:08.240Z  INFO 380 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRepositoryIntegrationTest$DeleteByUuid
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
relatedOwner_canDeleteTheirRelatedAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.caption=?
Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.uuid=?
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,d1_0.uuid,d1_0.debitornumber,d1_0.defaultprefix,hbpre1_0.version from hs_booking.project hbpre1_0 join hs_booking.debitor_xv d1_0 on d1_0.uuid=hbpre1_0.debitoruuid where hbpre1_0.uuid=?
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 29430227-d50e-4f95-8301-860fea500cc2
Hibernate: insert into hs_hosting.asset (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset_rv hhare1_0 where hhare1_0.uuid=?
Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset_rv hhare1_0 where hhare1_0.uuid=?
Hibernate: select sha1_0.parentassetuuid,sha1_0.uuid,sha1_0.alarmcontactuuid,sha1_0.assignedtoassetuuid,sha1_0.bookingitemuuid,sha1_0.caption,sha1_0.config,sha1_0.identifier,sha1_0.type,sha1_0.version from hs_hosting.asset sha1_0 where sha1_0.parentassetuuid=?
Hibernate: delete from hs_hosting.asset_rv where uuid=? and version=?
Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset hhare1_0 where hhare1_0.uuid=?
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: DELETE FROM hs_hosting.asset WHERE uuid=?
DELETING temporary HsHostingAssetRealEntity#29430227-d50e-4f95-8301-860fea500cc2 deleted 0 rows
Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
relatedOwner_canDeleteTheirRelatedAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
globalAdmin_withoutAssumedRole_canDeleteAnyAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.caption=?
Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.uuid=?
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,d1_0.uuid,d1_0.debitornumber,d1_0.defaultprefix,hbpre1_0.version from hs_booking.project hbpre1_0 join hs_booking.debitor_xv d1_0 on d1_0.uuid=hbpre1_0.debitoruuid where hbpre1_0.uuid=?
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, a9cee480-0100-42fe-a5cb-7927db1b8e5e
Hibernate: insert into hs_hosting.asset (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset_rv hhare1_0 where hhare1_0.uuid=?
Hibernate: select sha1_0.parentassetuuid,sha1_0.uuid,sha1_0.alarmcontactuuid,sha1_0.assignedtoassetuuid,sha1_0.bookingitemuuid,sha1_0.caption,sha1_0.config,sha1_0.identifier,sha1_0.type,sha1_0.version from hs_hosting.asset sha1_0 where sha1_0.parentassetuuid=?
Hibernate: delete from hs_hosting.asset_rv where uuid=? and version=?
Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset hhare1_0 where hhare1_0.uuid=?
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: DELETE FROM hs_hosting.asset WHERE uuid=?
DELETING temporary HsHostingAssetRealEntity#a9cee480-0100-42fe-a5cb-7927db1b8e5e deleted 0 rows
Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
globalAdmin_withoutAssumedRole_canDeleteAnyAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
relatedAdmin_canNotDeleteTheirRelatedAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.caption=?
Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.uuid=?
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,d1_0.uuid,d1_0.debitornumber,d1_0.defaultprefix,hbpre1_0.version from hs_booking.project hbpre1_0 join hs_booking.debitor_xv d1_0 on d1_0.uuid=hbpre1_0.debitoruuid where hbpre1_0.uuid=?
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 761ccb1d-87e3-43d5-8a7e-4d8872261691
Hibernate: insert into hs_hosting.asset (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset_rv hhare1_0 where hhare1_0.uuid=?
Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset_rv hhare1_0 where hhare1_0.uuid=?
Hibernate: select sha1_0.parentassetuuid,sha1_0.uuid,sha1_0.alarmcontactuuid,sha1_0.assignedtoassetuuid,sha1_0.bookingitemuuid,sha1_0.caption,sha1_0.config,sha1_0.identifier,sha1_0.type,sha1_0.version from hs_hosting.asset sha1_0 where sha1_0.parentassetuuid=?
Hibernate: delete from hs_hosting.asset_rv where uuid=? and version=?
2026-08-10T15:04:12.127Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: P0001
2026-08-10T15:04:12.127Z ERROR 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : ERROR: [403] Subject {2745755d-0152-4a12-98cd-91acb8d54325} is not allowed to delete hs_hosting.asset uuid 761ccb1d-87e3-43d5-8a7e-4d8872261691
  Where: PL/pgSQL function hs_hosting.asset_instead_of_delete_tf() line 7 at RAISE
Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset hhare1_0 where hhare1_0.uuid=?
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: DELETE FROM hs_hosting.asset WHERE uuid=?
DELETING temporary HsHostingAssetRealEntity#761ccb1d-87e3-43d5-8a7e-4d8872261691 deleted 1 rows
Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
relatedAdmin_canNotDeleteTheirRelatedAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
ContextBasedTestWithCleanup.retrieveInitialTestData
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rre1_0.uuid,rre1_0.objectidname,rre1_0.objecttable,rre1_0.objectuuid,rre1_0.objectTable||'#'||rre1_0.objectIdName||':'||rre1_0.roleType,rre1_0.objectTable||'#'||cast(rre1_0.objectUuid as varchar)||':'||rre1_0.roleType,rre1_0.roletype from rbac.role_rv rre1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select rge1_0.grantedroleuuid,rge1_0.subjectuuid,rge1_0.assumed,rge1_0.grantedbyroleidname,rge1_0.grantedbyroleuuid,rge1_0.grantedroleidname,rge1_0.grantedroletype,rge1_0.username,rge1_0.objectidname,rge1_0.objecttable,rge1_0.objectuuid from rbac.grant_rv rge1_0
Hibernate: select count(*) from rbac.object roe1_0
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0
deletingAnAssetAlsoDeletesRelatedRolesAndGrants(): TOTAL OBJECT COUNT (initial): 210 -> 210
Hibernate: select rrre1_0.uuid,rrre1_0.objectidname,rrre1_0.objecttable,rrre1_0.objectuuid,rrre1_0.objectTable||'#'||rrre1_0.objectIdName||':'||rrre1_0.roleType,rrre1_0.roletype from rbac.role_ev rrre1_0
Hibernate: select rrge1_0.uuid,rrge1_0.ascendantidname,rrge1_0.ascendantuuid,rrge1_0.assumed,rrge1_0.descendantidname,rrge1_0.descendantuuid,rrge1_0.grantedbyroleidname,rrge1_0.grantedbyroleuuid from rbac.grant_ev rrge1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.caption=?
Hibernate: select hbire1_0.uuid,hbire1_0.caption,hbire1_0.parentitemuuid,hbire1_0.projectuuid,hbire1_0.resources,hbire1_0.type,hbire1_0.validity,hbire1_0.version from hs_booking.item hbire1_0 where hbire1_0.uuid=?
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,d1_0.uuid,d1_0.debitornumber,d1_0.defaultprefix,hbpre1_0.version from hs_booking.project hbpre1_0 join hs_booking.debitor_xv d1_0 on d1_0.uuid=hbpre1_0.debitoruuid where hbpre1_0.uuid=?
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, aaa32cde-9486-4e89-8dde-2f229aa42e65
Hibernate: insert into hs_hosting.asset (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select hhare1_0.uuid,hhare1_0.alarmcontactuuid,hhare1_0.assignedtoassetuuid,hhare1_0.bookingitemuuid,hhare1_0.caption,hhare1_0.config,hhare1_0.identifier,hhare1_0.parentassetuuid,hhare1_0.type,hhare1_0.version from hs_hosting.asset_rv hhare1_0 where hhare1_0.uuid=?
Hibernate: select sha1_0.parentassetuuid,sha1_0.uuid,sha1_0.alarmcontactuuid,sha1_0.assignedtoassetuuid,sha1_0.bookingitemuuid,sha1_0.caption,sha1_0.config,sha1_0.identifier,sha1_0.type,sha1_0.version from hs_hosting.asset sha1_0 where sha1_0.parentassetuuid=?
Hibernate: delete from hs_hosting.asset_rv where uuid=? and version=?
Hibernate: select rrre1_0.uuid,rrre1_0.objectidname,rrre1_0.objecttable,rrre1_0.objectuuid,rrre1_0.objectTable||'#'||rrre1_0.objectIdName||':'||rrre1_0.roleType,rrre1_0.roletype from rbac.role_ev rrre1_0
Hibernate: select rrge1_0.uuid,rrge1_0.ascendantidname,rrge1_0.ascendantuuid,rrge1_0.assumed,rrge1_0.descendantidname,rrge1_0.descendantuuid,rrge1_0.grantedbyroleidname,rrge1_0.grantedbyroleuuid from rbac.grant_ev rrge1_0
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: DELETE FROM hs_hosting.asset WHERE uuid=?
DELETING temporary HsHostingAssetRealEntity#aaa32cde-9486-4e89-8dde-2f229aa42e65 deleted 0 rows
Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: call base.defineContext(
    cast(? as varchar(127)),
    cast(? as text),
    cast(? as varchar(63)),
    cast(? as text),
    cast(? as text));

Hibernate: select roe1_0.uuid,roe1_0.objecttable,roe1_0.serialid from rbac.object roe1_0
Hibernate: select count(*) from rbac.object roe1_0
deletingAnAssetAlsoDeletesRelatedRolesAndGrants(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0