我使用"com.michaelpollmeier" %% "gremlin-scala" % "3.2.0.1"
与"com.michaelpollmeier" % "orientdb-gremlin" % "3.2.0-incubating.1-SNAPSHOT"
一起将一些域对象存储为Orientice的顶点(v2.1.20)
我理解它非常出色的代码,但是我想了解一下为什么驱动程序会抛出这个异常:
引起: com.orientechnologies.orient.core.exception.ODatabaseException:错误 关于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更多引起:java.lang.ClassNotFoundException: com.esc.domain.Address
任何提示都会非常感激,以及:
最佳, 爱德华多
答案 0 :(得分:1)
最终找到了gremlin-scala中使用的Scala宏中的原因(请参阅github issue),以便在保存之前将案例类转换为Vertex。简而言之,它不会重复进入成员案例类实例并发送任何内容。
解决方案是放弃宏并实现自定义SDL_RendererFlip flip = (SDL_RendererFlip)(SDL_FLIP_HORIZONTAL | SDL_FLIP_VERTICAL);
SDL_RenderCopyEx(renderer, ResourceManager::GetInstance().getTexture("rpg_pack"), &wood_corner, &rect, 0, 0, flip);