fix setting additional_info
This commit is contained in:
parent
67fa64d448
commit
30ba274eca
@ -34,7 +34,7 @@ public abstract class AbstractRelationInsertRepository implements RelationInsert
|
|||||||
if (entity.getAdditionalInfo() == null) {
|
if (entity.getAdditionalInfo() == null) {
|
||||||
nativeQuery.setParameter("additionalInfo", null);
|
nativeQuery.setParameter("additionalInfo", null);
|
||||||
} else {
|
} else {
|
||||||
nativeQuery.setParameter("additionalInfo", entity.getAdditionalInfo().asText());
|
nativeQuery.setParameter("additionalInfo", entity.getAdditionalInfo().toString());
|
||||||
}
|
}
|
||||||
return nativeQuery
|
return nativeQuery
|
||||||
.setParameter("fromId", entity.getFromId())
|
.setParameter("fromId", entity.getFromId())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user