I am doing the following:
Account account =new Account();
account.setName("OrientDB Account");
Person person = new Person();
person.setName("Mike");
Account.setPerson(person);
//Now save the account object
db.save(account);
When I used to do this before in 1.7.10 it was working fine now it is
embedded in property person inside Account.
On Monday, January 26, 2015 at 12:22:53 PM UTC+4, Luigi Dell'Aquila wrote:
>
> Hi Kareem,
>
> how are you creating your documents? Do you have schema defined on your
> classes?
>
> Luigi
>
>
> 2015-01-25 20:39 GMT+01:00 Kareem Jabr <[email protected] <javascript:>>:
>
>> Just found out that the saved embedded object is there in the
>> Account.person property... But not as a record in the Person table. How
>> to make it a separate record in Person table?
>>
>> --
>>
>> ---
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
---
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.