Binary 如何使用OrientDBStudio将pdf文件或word插入OrientDB?

Binary 如何使用OrientDBStudio将pdf文件或word插入OrientDB?,binary,orientdb,Binary,Orientdb,我正在尝试创建一个新记录,其中一个属性中包含pdf,但当我单击“保存”按钮时,出现以下错误消息: "com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content for record: \"@class\":\"Documento\",\"@version\":0,\"@rid\":\"#-1:-1\",\"Nombre\":\"Exam

我正在尝试创建一个新记录,其中一个属性中包含pdf,但当我单击“保存”按钮时,出现以下错误消息:

"com.orientechnologies.orient.core.exception.OSerializationException: Error on       unmarshalling JSON content for record: \"@class\":\"Documento\",\"@version\":0,\"@rid\":\"#-1:-1\",\"Nombre\":\"Exam\",\"Materia\":\"#12:0\",\"Tipo\":\"Exam\",\"Formato\":\"Pdf\",\"Archivo\":\"$file\",\"Tamano\":2\r\n--> com.orientechnologies.common.io.OIOException: Bad Base64 input character decimal 36 in array position 0"

问题是:是否可以在OrientDB中保存pdf文档?如何解决此错误?

目前,多部分上传存在问题,即使此问题得到解决, 如果您使用studio上传文件,您将拥有一堆二进制数据,对于studio来说毫无意义,它们不知道如何处理这些数据(没有mime类型)。OrientDB不像Couchdb那样具有附件的概念,如果您想处理文件并使用文档Api,您必须创建自己的文档