diff --git a/backend/src/main/java/com/Adapter/icare/Repository/DatastoreRepository.java b/backend/src/main/java/com/Adapter/icare/Repository/DatastoreRepository.java index 2311d1c6..3d8919f2 100644 --- a/backend/src/main/java/com/Adapter/icare/Repository/DatastoreRepository.java +++ b/backend/src/main/java/com/Adapter/icare/Repository/DatastoreRepository.java @@ -87,8 +87,8 @@ public interface DatastoreRepository extends JpaRepository { "FROM datastore," + "JSON_TABLE(datastore.value, '$.data[*]'" + " COLUMNS (" + - " de VARCHAR(255) PATH '$.de'," + - " co VARCHAR(255) PATH '$.co'," + + " de VARCHAR(255) PATH '$.dataElement'," + + " co VARCHAR(255) PATH '$.categoryOptionCombo'," + " dataValue INT PATH '$.value'" + " )" + ") AS jsonTable" +