Writing vertex to OrientDB with gremlin-scala wrapper -


i'm using "com.michaelpollmeier" %% "gremlin-scala" % "3.2.0.1" "com.michaelpollmeier" % "orientdb-gremlin" % "3.2.0-incubating.1-snapshot" store domain objects vertices orientdb (v2.1.20)

i understand it's pretty bleeding edge code i'd pointers understand why driver throwing exception:

caused by: com.orientechnologies.orient.core.exception.odatabaseexception: error on deserialization of serializable @ com.orientechnologies.orient.core.serialization.serializer.record.binary.oserializablewrapper.fromstream(oserializablewrapper.java:47) @ com.orientechnologies.orient.core.serialization.serializer.record.binary.orecordserializerbinaryv0.readsinglevalue(orecordserializerbinaryv0.java:382) ... 13 more caused by: java.lang.classnotfoundexception: com.esc.domain.address

any hint appreciated what's going on :)

best, edoardo

eventually found cause (see github issue it) in scala macro used in gremlin-scala convert case class vertex prior saving it. in short doesn't recur member case class instances , sends whatever there.

solution forego macro , implement custom gremlin.scala.marshallable[yourcc]


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -