At document level doesn't exist a register for type serializer, yes you have to implement the OSerializableStream interface. if the types are final you can wrap them. Feel free also to do a feature request for the support of JDK8 date/time classes ;)
bye. On 01/07/2015 10:31 AM, Markus Menner wrote: > Hi guys, > > I'm currently migration our app from using the Object Database to > using the Document Database. > > We use a few custom types (i.e. the JDK8 LocalDateTime, etc.) that we > so far registered with a OObjectSerializerContext (which doesn't work > for the document database). > > For the Document Database: is there something similar, or do I need to > implement the OSerializableStream interface? > The latter however would be difficult, since the JDK8 date/time > classes are final, so subclassing doesn't work. > > Thanks, > Markus > -- > > --- > You received this message because you are subscribed to the Google > Groups "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
