fix ImportHostingAssets
This commit is contained in:
parent
87671f310c
commit
6514d6a17c
@ -1145,7 +1145,7 @@ public class ImportHostingAssets extends BaseOfficeDataImport {
|
|||||||
final int expectedCountInTestDataCount,
|
final int expectedCountInTestDataCount,
|
||||||
final int minCountExpectedInProdData) {
|
final int minCountExpectedInProdData) {
|
||||||
final var q = em.createNativeQuery(
|
final var q = em.createNativeQuery(
|
||||||
"select count(*) from hs_hosting.asset where type = cast(:type as HsHostingAssetType)",
|
"select count(*) from hs_hosting.asset where type = cast(:type as hs_hosting.HsHostingAssetType)",
|
||||||
Integer.class);
|
Integer.class);
|
||||||
q.setParameter("type", assetType.name());
|
q.setParameter("type", assetType.name());
|
||||||
final var count = (Integer) q.getSingleResult();
|
final var count = (Integer) q.getSingleResult();
|
||||||
|
Loading…
Reference in New Issue
Block a user