DeleteByUuid

4

tests

0

failures

0

ignored

7.315s

duration

100%

successful

Tests

Test Duration Result
deletingAnAssetAlsoDeletesRelatedRolesAndGrants() 2.480s passed
globalAdmin_withoutAssumedRole_canDeleteAnyAsset() 1.503s passed
relatedAdmin_canNotDeleteTheirRelatedAsset() 1.464s passed
relatedOwner_canDeleteTheirRelatedAsset() 1.868s passed

Standard output

2026-08-10T16:38:00.373Z  INFO 369 --- [    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-10T16:38:00.387Z  INFO 369 --- [    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, 299a9487-d1a7-4d65-89b2-47e64e1066f4
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#299a9487-d1a7-4d65-89b2-47e64e1066f4 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, 1a41c6ea-659d-472d-b2e4-8038b8f7e7a8
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#1a41c6ea-659d-472d-b2e4-8038b8f7e7a8 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, 76a93726-09cb-4e9b-a9c5-89575ebf94d4
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-10T16:38:04.764Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: P0001
2026-08-10T16:38:04.764Z ERROR 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : ERROR: [403] Subject {46dc46df-11ba-45fc-a350-052d0692f66a} is not allowed to delete hs_hosting.asset uuid 76a93726-09cb-4e9b-a9c5-89575ebf94d4
  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#76a93726-09cb-4e9b-a9c5-89575ebf94d4 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, 54b11ef7-f026-44a8-91c6-35ed5f0c3ac9
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#54b11ef7-f026-44a8-91c6-35ed5f0c3ac9 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