CreateAsset

4

tests

0

failures

0

ignored

6.768s

duration

100%

successful

Tests

Test Duration Result
anyUser_canCreateNewDomainSetupAsset() 1.535s passed
createsAndGrantsRoles() 2.295s passed
identifiersForTheSameTypeAreUnique() 1.477s passed
testHostsharingAdmin_withoutAssumedRole_canCreateNewAsset() 1.461s passed

Standard output

2026-08-10T16:30:10.403Z  INFO 368 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRepositoryIntegrationTest$CreateAsset]: CreateAsset does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T16:30:10.407Z  INFO 368 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRepositoryIntegrationTest$CreateAsset
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
identifiersForTheSameTypeAreUnique(): 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 count(*) from hs_hosting.asset hhare1_0
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,hbpre1_0.version from hs_booking.project_rv hbpre1_0 where hbpre1_0.caption=?
Hibernate: select hbde1_0.uuid,hbde1_0.debitornumber,hbde1_0.defaultprefix from hs_booking.debitor_xv hbde1_0 where hbde1_0.uuid=?
Hibernate:     select ha.uuid,
           ha.alarmcontactuuid,
           ha.assignedtoassetuuid,
           ha.bookingitemuuid,
           ha.caption,
           ha.config,
           ha.identifier,
           ha.parentassetuuid,
           ha.type,
           ha.version
        from hs_hosting.asset_rv ha
            left join hs_booking.item bi on bi.uuid = ha.bookingitemuuid
            left join hs_hosting.asset pha on pha.uuid = ha.parentassetuuid
        where (? is null or bi.projectuuid=?)
          and (? is null or pha.uuid=?)
          and (? is null or ?=cast(ha.type as text))

toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, f7d99935-2413-46ce-a9f7-cbc80aa1be73
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRbacEntity, f0579504-a8ff-4dcf-80ae-a18aa374d241
Hibernate: insert into hs_booking.item (caption,parentitemuuid,projectuuid,resources,type,validity,version,uuid) values (?,?,?,?,?,?,?,?)
Hibernate: insert into hs_hosting.asset_rv (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
2026-08-10T16:30:11.371Z  WARN 368 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23505
2026-08-10T16:30:11.371Z ERROR 368 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : ERROR: duplicate key value violates unique constraint "asset_type_identifier_key"
  Detail: Key (type, identifier)=(MANAGED_WEBSPACE, fir01) already exists.
  Where: SQL statement "insert
            into hs_hosting.asset (uuid, version, bookingitemuuid, type, parentassetuuid, assignedtoassetuuid, identifier, caption, config, alarmcontactuuid)
            values (new.uuid, new.version, new.bookingitemuuid, new.type, new.parentassetuuid, new.assignedtoassetuuid, new.identifier, new.caption, new.config, new.alarmcontactuuid)
            returning *"
PL/pgSQL function hs_hosting.asset_instead_of_insert_tf() line 5 at SQL statement
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 HsHostingAssetRbacEntity#f0579504-a8ff-4dcf-80ae-a18aa374d241 deleted 0 rows
Hibernate: DELETE FROM hs_booking.item WHERE uuid=?
DELETING temporary HsBookingItemRealEntity#f7d99935-2413-46ce-a9f7-cbc80aa1be73 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
identifiersForTheSameTypeAreUnique(): 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
anyUser_canCreateNewDomainSetupAsset(): 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: insert into hs_hosting.asset_rv (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 hhare1_0 where hhare1_0.uuid=?
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 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: 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
anyUser_canCreateNewDomainSetupAsset(): 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
createsAndGrantsRoles(): 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 hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,hbpre1_0.version from hs_booking.project_rv hbpre1_0 where hbpre1_0.caption=?
Hibernate: select hbde1_0.uuid,hbde1_0.debitornumber,hbde1_0.defaultprefix from hs_booking.debitor_xv hbde1_0 where hbde1_0.uuid=?
Hibernate:     select ha.uuid,
           ha.alarmcontactuuid,
           ha.assignedtoassetuuid,
           ha.bookingitemuuid,
           ha.caption,
           ha.config,
           ha.identifier,
           ha.parentassetuuid,
           ha.type,
           ha.version
        from hs_hosting.asset_rv ha
            left join hs_booking.item bi on bi.uuid = ha.bookingitemuuid
            left join hs_hosting.asset pha on pha.uuid = ha.parentassetuuid
        where (? is null or bi.projectuuid=?)
          and (? is null or pha.uuid=?)
          and (? is null or ?=cast(ha.type as text))

toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, abc46d4a-2fa6-485c-9b1b-f31437d038aa
Hibernate: insert into hs_booking.item (caption,parentitemuuid,projectuuid,resources,type,validity,version,uuid) values (?,?,?,?,?,?,?,?)
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));

toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRbacEntity, 6c0a4b01-cd86-4509-8fb8-db056241ba97
Hibernate: insert into hs_hosting.asset_rv (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
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 HsHostingAssetRbacEntity#6c0a4b01-cd86-4509-8fb8-db056241ba97 deleted 0 rows
Hibernate: DELETE FROM hs_booking.item WHERE uuid=?
DELETING temporary HsBookingItemRealEntity#abc46d4a-2fa6-485c-9b1b-f31437d038aa 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
createsAndGrantsRoles(): 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
testHostsharingAdmin_withoutAssumedRole_canCreateNewAsset(): 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 count(*) from hs_hosting.asset hhare1_0
Hibernate: select hbpre1_0.uuid,hbpre1_0.caption,hbpre1_0.debitoruuid,hbpre1_0.version from hs_booking.project_rv hbpre1_0 where hbpre1_0.caption=?
Hibernate: select hbde1_0.uuid,hbde1_0.debitornumber,hbde1_0.defaultprefix from hs_booking.debitor_xv hbde1_0 where hbde1_0.uuid=?
Hibernate:     select ha.uuid,
           ha.alarmcontactuuid,
           ha.assignedtoassetuuid,
           ha.bookingitemuuid,
           ha.caption,
           ha.config,
           ha.identifier,
           ha.parentassetuuid,
           ha.type,
           ha.version
        from hs_hosting.asset_rv ha
            left join hs_booking.item bi on bi.uuid = ha.bookingitemuuid
            left join hs_hosting.asset pha on pha.uuid = ha.parentassetuuid
        where (? is null or bi.projectuuid=?)
          and (? is null or pha.uuid=?)
          and (? is null or ?=cast(ha.type as text))

toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 51586300-ce7d-431c-b58c-5d512b9b0437
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRbacEntity, cd06ebb9-5130-4506-af0c-56557db95bce
Hibernate: insert into hs_booking.item (caption,parentitemuuid,projectuuid,resources,type,validity,version,uuid) values (?,?,?,?,?,?,?,?)
Hibernate: insert into hs_hosting.asset_rv (alarmcontactuuid,assignedtoassetuuid,bookingitemuuid,caption,config,identifier,parentassetuuid,type,version,uuid) values (?,?,?,?,?,?,?,?,?,?)
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=?
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=?
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 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=?
Hibernate: select count(*) from hs_hosting.asset hhare1_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 HsHostingAssetRbacEntity#cd06ebb9-5130-4506-af0c-56557db95bce deleted 0 rows
Hibernate: DELETE FROM hs_booking.item WHERE uuid=?
DELETING temporary HsBookingItemRealEntity#51586300-ce7d-431c-b58c-5d512b9b0437 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
testHostsharingAdmin_withoutAssumedRole_canCreateNewAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
Hibernate: select count(*) from rbac.role_rv rre1_0
Hibernate: select count(*) from rbac.grant_rv rge1_0