Commit 30ba274eca2c3e1c5798a0abe47f638c0b25fbc4
Committed by
Andrew Shvayka
1 parent
67fa64d4
fix setting additional_info
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -34,7 +34,7 @@ public abstract class AbstractRelationInsertRepository implements RelationInsert | @@ -34,7 +34,7 @@ public abstract class AbstractRelationInsertRepository implements RelationInsert | ||
34 | if (entity.getAdditionalInfo() == null) { | 34 | if (entity.getAdditionalInfo() == null) { |
35 | nativeQuery.setParameter("additionalInfo", null); | 35 | nativeQuery.setParameter("additionalInfo", null); |
36 | } else { | 36 | } else { |
37 | - nativeQuery.setParameter("additionalInfo", entity.getAdditionalInfo().asText()); | 37 | + nativeQuery.setParameter("additionalInfo", entity.getAdditionalInfo().toString()); |
38 | } | 38 | } |
39 | return nativeQuery | 39 | return nativeQuery |
40 | .setParameter("fromId", entity.getFromId()) | 40 | .setParameter("fromId", entity.getFromId()) |