Hi Alex -- did you ever find a solution to this?
I have a bunch of code that need to receive JSON-like scala, List[] Map[String, _], String,Int,Float. I can't readily use them because ODB's scala support (according to the API docs) is still "use the scala.collection.JavaConverters._" and you'll be OK. ... which fails immediately for collections containing Java collections. (*facepalm!*) So, what's the state-of-the art now? Can I externally supply Jackson Mapper or some-such to retrieve data from ODB? - Stu On Monday, June 6, 2011 at 11:42:49 AM UTC-7, Alex Cruise wrote: > > On Mon, Jun 6, 2011 at 4:33 AM, Luca Garulli <[email protected] > <javascript:>> wrote: > >> Hi Alex, >> +1. What about the interface that the Extention Module should implements? >> > > I was thinking about it, and it doesn't even necessarily need special API > support from OrientDB. It could be a self-contained wrapper library, so > that when you want to get an ODatabaseXXX instance, rather than getting > them the usual way, you go through a specialized Scala-oriented connection > factory, that does whatever's required to the ODatabaseXXX (e.g. installing > serialization hooks etc.) before giving it back to you. > > However, I think we'd want to be sure that the hooks aren't global--I > remember seeing a lot of statics in the OrientDB codebase, it'd be good to > know what functionality is affected by globals, what's confined to a single > ODatabase handle, and what's somewhere in between. :) > > -0xe1a > -- --- 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.
