As far as I remember - It was enough to inherit from "V" class.

So I just created empty POJO V class on implementation side

śr., 31 lip 2019 o 17:14 Tuhin Sengupta <tuhin.sgu...@gmail.com> napisał(a):

> Hi all,
>
> I am using OrientDB 3.0.
> Now, Orient API's allow saving POJO's using simple API as follows:
>
> Animal animal = new Animal();
> animal.setName("Gaudi");
> animal.setLocation("Madrid");
> animal = db.save(animal);
>
> Orient stores the object and serializes/de-serializes it while
> saving/fetching.
>
> Is it possible for a user to use this in-built
> serialization/de-serialization while using the graph model of Orient DB?
> In other words, is it possible for a user to have POJO saved as/in a
> vertex instead of a document?
>
>
> Regards,
> Tuhin
>
> --
>
> ---
> 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-database+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/orient-database/ef25f9e3-8e55-42c3-a3c2-7a3cdfefb70c%40googlegroups.com
> <https://groups.google.com/d/msgid/orient-database/ef25f9e3-8e55-42c3-a3c2-7a3cdfefb70c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 

--- 
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-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/orient-database/CAEHhHo65q3A4hG_gKcy80O9PpAsATSp3u%3DH_usz4WVg-GggRUg%40mail.gmail.com.

Reply via email to