File tree 1 file changed +3
-1
lines changed
core/src/main/java/org/polypheny/db/catalog/entity
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 20
20
import io .activej .serializer .annotations .Deserialize ;
21
21
import io .activej .serializer .annotations .Serialize ;
22
22
import io .activej .serializer .annotations .SerializeNullable ;
23
+ import java .io .Serial ;
23
24
import java .io .Serializable ;
24
25
import lombok .EqualsAndHashCode ;
25
26
import lombok .NonNull ;
30
31
@ EqualsAndHashCode
31
32
public class LogicalDefaultValue implements Serializable {
32
33
34
+ @ Serial
33
35
private static final long serialVersionUID = 6085682952587659184L ;
34
36
35
37
@ Serialize
@@ -53,7 +55,7 @@ public LogicalDefaultValue(
53
55
@ Deserialize ("functionName" ) final String functionName ) {
54
56
this .fieldId = fieldId ;
55
57
this .type = type ;
56
- this .value = PolyValue .deserialize ( typedJson );
58
+ this .value = PolyValue .fromTypedJson ( typedJson , PolyValue . class );
57
59
this .typedJson = typedJson ;
58
60
this .functionName = functionName ;
59
61
}
You can’t perform that action at this time.
0 commit comments