You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
We have a case were a custom serializer is being used to translate a Java object that serves as an enum to an OrientDB int. The create and get operations work just fine. We noticed that the update however has an issue. Listed below is a part of stack trace. The generated Spring Data class is not handling the update correctly because it is trying to use the string value. Can someone please take a look into this. We would be happy to provide any additional information.
java.lang.NumberFormatException: For input string: "CAN"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.orientechnologies.orient.core.metadata.schema.OType.convert(OType.java:357)
at com.orientechnologies.orient.core.record.impl.ODocumentHelper.convertField(ODocumentHelper.java:215)
at com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:1082)
at com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:912)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.setDocFieldValue(OObjectProxyMethodHandler.java:406)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.setValue(OObjectProxyMethodHandler.java:832)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.manageSetMethod(OObjectProxyMethodHandler.java:760)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.invoke(OObjectProxyMethodHandler.java:112)
at com.adp.entitlement.domain.model.Grant_$$jvst1af_4.setQualifier(Grant$$_jvst1af_4.java)
at com.adp.entitlement.domain.model.Grant.update(Grant.java:283)
at com.adp.entitlement.domain.service.GrantService.updateGrants(GrantService.java:598)
The text was updated successfully, but these errors were encountered:
We have a case were a custom serializer is being used to translate a Java object that serves as an enum to an OrientDB int. The create and get operations work just fine. We noticed that the update however has an issue. Listed below is a part of stack trace. The generated Spring Data class is not handling the update correctly because it is trying to use the string value. Can someone please take a look into this. We would be happy to provide any additional information.
java.lang.NumberFormatException: For input string: "CAN"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.orientechnologies.orient.core.metadata.schema.OType.convert(OType.java:357)
at com.orientechnologies.orient.core.record.impl.ODocumentHelper.convertField(ODocumentHelper.java:215)
at com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:1082)
at com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:912)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.setDocFieldValue(OObjectProxyMethodHandler.java:406)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.setValue(OObjectProxyMethodHandler.java:832)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.manageSetMethod(OObjectProxyMethodHandler.java:760)
at com.orientechnologies.orient.object.enhancement.OObjectProxyMethodHandler.invoke(OObjectProxyMethodHandler.java:112)
at com.adp.entitlement.domain.model.Grant_$$jvst1af_4.setQualifier(Grant$$_jvst1af_4.java)
at com.adp.entitlement.domain.model.Grant.update(Grant.java:283)
at com.adp.entitlement.domain.service.GrantService.updateGrants(GrantService.java:598)
The text was updated successfully, but these errors were encountered: