Commit 30ba274eca2c3e1c5798a0abe47f638c0b25fbc4

Authored by Dmytro Shvaika
Committed by Andrew Shvayka
1 parent 67fa64d4

fix setting additional_info

... ... @@ -34,7 +34,7 @@ public abstract class AbstractRelationInsertRepository implements RelationInsert
34 34 if (entity.getAdditionalInfo() == null) {
35 35 nativeQuery.setParameter("additionalInfo", null);
36 36 } else {
37   - nativeQuery.setParameter("additionalInfo", entity.getAdditionalInfo().asText());
  37 + nativeQuery.setParameter("additionalInfo", entity.getAdditionalInfo().toString());
38 38 }
39 39 return nativeQuery
40 40 .setParameter("fromId", entity.getFromId())
... ...