orientechnologies / spring-data-orientdb

OrientDB implementation for SpringData

Home Page:http://forum.springsource.org/showthread.php?99627-OrientDB-support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question: is it possible to interact with embedded documents?

tony-kerz opened this issue · comments

i took this library for a spin, and it seems to be ok for the basic case so far.

as usual, when integrating real requirements, basic morphs to "less-basic".

i'm trying to use the recent spatial feature,
in such a way that a domain object like a Person for instance would have a location which i guess would manifest as an embedded document.

so, i would want to save and query on domain objects having embedded documents of type OPoint.

it's not obvious to me how to make that happen with this library, is it possible?

if not, i would be happy to attempt a pull-request with some guidance around what would need to happen.

best,
tony.

Hey @maggiolo00 could you please help @tony-kerz on this, so he can contribute with a PR?

@lvca
i sure never used this module but i can try to help @tony-kerz to integrate GEO stuff.
From what i saw it could be done like spring-data-mongo

http://docs.spring.io/spring-data/data-mongo/docs/1.9.1.RELEASE/reference/html/#mongo.geo-json

@tony-kerz any interest for a PR?