+1 for keeping it
On 18/07/14 06:39, Markus Menner wrote:
> Hi Luca,
>
> YES, we're using the Object interface very intensively. So please do not
> discard it, but improve it!
>
> OrientDB rocks!
>
> Kind regards,
> Markus
>
> On Saturday, 5 July 2014 15:44:39 UTC+2, 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.