Soriento - new Scala library for OrientDb

78 views
Skip to first unread message

Dmitriy Parenskiy

unread,
Jul 3, 2015, 3:12:25 AM7/3/15
to orient-...@googlegroups.com
Hi!
I am create simple mapping library for Scala and OrientDb.
Features: 
  • Serialize/deserialize case classes to/from ODocument and save case classes to OrientDb.
  • DSL for create OClasses.
  • DSL for query by SQL with exctract case classes from documents.
  • And more (in progress).
This library is still in alpha, but I use some parts of it in my production project.
Welcome to contribute!

Luca Garulli

unread,
Jul 3, 2015, 3:31:28 AM7/3/15
to orient-...@googlegroups.com
Hi Dmitriy,
Thanks for working on this project.

We have many Scala users here that used OrientDB directly. Could you please explain how your library would help Scala users?


Best Regards,

Luca Garulli
CEO at Orient Technologies LTD
the Company behind OrientDB

--

---
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 orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dmitriy Parenskiy

unread,
Jul 3, 2015, 4:59:40 AM7/3/15
to orient-...@googlegroups.com
Hi Luca,
Standard usage of OrientDb Java Object API involves the use of simple Java classes for mapping documents to POJO and POJO to documents.
In the Scala world more idiomatically use case classes.
My library operates exclusively case classes (aka algebraic data types). This is more useful for scala developers.

Luca Garulli

unread,
Jul 4, 2015, 4:33:42 AM7/4/15
to orient-...@googlegroups.com
Hi Dmitriy,
Thanks for the explanation.

Best Regards,

Luca Garulli
CEO at Orient Technologies LTD
the Company behind OrientDB

On 3 July 2015 at 10:59, Dmitriy Parenskiy <dim...@gmail.com> wrote:
Hi Luca,
Standard usage of OrientDb Java Object API involves the use of simple Java classes for mapping documents to POJO and POJO to documents.
In the Scala world more commonly used case classes.

Stuart Reynolds

unread,
Apr 15, 2016, 1:05:47 AM4/15/16
to OrientDB
Hi Dimitri,

Does you library allow simply deserializing scala documents?

I'm trying to pass documents from ODB to APIs that accept scala List, Map, ... types.
Using the scala.collections.Java convertors fails because documents are recursive structures (thus ideally, the conversion to scala types need to happen from the document leaves up).

- Stuart
Reply all
Reply to author
Forward
0 new messages