+1 keep
On Saturday, July 5, 2014 9:44:39 AM UTC-4, Lvc@ wrote:
>
> Hi guys,
> I see many issues against our Object Database interface. This is because
> the main author, Luca Molino, has not time anymore to spend on it.
>
> Until we don't find a new contributors/committer, I not encourage using
> such API, but rather I encourage the usage of Graph API or Document
> Database API with a little mapping from your POJO and OrientDB as this
> example:
>
> public class Person {
> protected ODocument doc;
>
> public String getName(){
> return doc.field( "name" );
> }
> public void setName(String name){
> doc.field( "name", name );
> }
> }
>
> You could also continue using the Object Database interface, but when
> you're stuck with a problem on this interface, you can always go lower by
> getting the underlying Document API and do what you want with it:
>
> OObjectDatabaseTx odb = new OObjectDatabaseTx("plocal:/temp/mydb");
> *ODatabaseDocument ddb = odb.getUnderlying();*
>
> List<ODocument> result = ddb.query(...);
>
> Lvc@
>
>
--
---
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.