Skip to content

Commit

Permalink
MODORDSTOR-434: $1::text fixing "could not determine data type" (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianladisch authored Nov 25, 2024
1 parent fd17158 commit 83e7a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/folio/dao/PieceClaimingRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WITH updated AS (
'statusUpdatedDate', to_char(clock_timestamp(),'YYYY-MM-DD"T"HH24:MI:SS.MSTZH:TZM')::text,
'metadata', pieces.jsonb -> 'metadata' || jsonb_build_object(
'updatedDate', to_char(clock_timestamp(),'YYYY-MM-DD"T"HH24:MI:SS.MSTZH:TZM')::text,
'updatedByUserId', $1))
'updatedByUserId', $1::text))
FROM %1$s.%3$s as titles
WHERE (titles.jsonb ->> 'claimingActive')::boolean = TRUE
AND pieces.titleid = titles.id
Expand Down

0 comments on commit 83e7a31

Please sign in to comment.