diff --git a/docs/modules/onecx-workspace-svc/pages/onecx-workspace-svc-docs.adoc b/docs/modules/onecx-workspace-svc/pages/onecx-workspace-svc-docs.adoc index feb0a0e..c6d5b61 100644 --- a/docs/modules/onecx-workspace-svc/pages/onecx-workspace-svc-docs.adoc +++ b/docs/modules/onecx-workspace-svc/pages/onecx-workspace-svc-docs.adoc @@ -12,7 +12,7 @@ quarkus.datasource.db-kind=postgresql quarkus.datasource.jdbc.max-size=30 quarkus.datasource.jdbc.min-size=10 quarkus.hibernate-orm.jdbc.timezone=UTC -quarkus.hibernate-orm.log.sql=false +quarkus.hibernate-orm.log.sql=true quarkus.http.auth.permission.health.paths=/q/* quarkus.http.auth.permission.health.policy=permit quarkus.http.auth.permission.legacy.paths=/1000kit-portal-server/* @@ -80,3 +80,4 @@ app: ---- + diff --git a/src/main/java/org/tkit/onecx/workspace/domain/daos/WorkspaceDAO.java b/src/main/java/org/tkit/onecx/workspace/domain/daos/WorkspaceDAO.java index 4eeaf09..8d33941 100644 --- a/src/main/java/org/tkit/onecx/workspace/domain/daos/WorkspaceDAO.java +++ b/src/main/java/org/tkit/onecx/workspace/domain/daos/WorkspaceDAO.java @@ -152,9 +152,6 @@ public PageResult findBySearchCriteria(WorkspaceSearchCriteria criter predicates.add(workspaceTable.get(NAME).in(criteria.getNames())); } if (criteria.getProductName() != null && !criteria.getProductName().isEmpty()) { - var workspaceQuery = this.getEntityManager().createQuery(cq); - workspaceQuery.setHint(HINT_LOAD_GRAPH, - this.getEntityManager().getEntityGraph(Workspace.WORKSPACE_PRODUCTS)); addSearchStringPredicate(predicates, cb, workspaceTable.get(PRODUCTS).get(Product_.PRODUCT_NAME), criteria.getProductName()); }