Hi Carlo,
Could you create issue in bug tracker and put there reference of our
conversation ?

On Thu, Sep 18, 2014 at 12:00 PM, Carlo Polisini <[email protected]>
wrote:

> Hi all,
> I am using a transaction for storing my entity but I found that after the
> commit, and not just after the save, linked references of the entity are
> all null, and from the console I get these messages:
>
> 10:31:43.677 [main] ERROR testcase - universe galaxy is null :(
> Sep 18, 2014 10:31:43 AM com.orientechnologies.common.log.OLogManager log
> WARNING: Record #12:11 references a deleted instance
> 10:31:43.678 [main] ERROR testcase - universe galaxy is null :(
> Sep 18, 2014 10:31:43 AM com.orientechnologies.common.log.OLogManager log
> WARNING: Record #12:11 references a deleted instance
>
> where entity Galaxy is linked list in the Entity universe.
> It seems to me that transaction is creating temporary references that are
> removed after the commit, but the entity is not in sync with the db.
>
> The only workaround I found is to reload the entity from the DB
> (db.load(entity)) after the commit action.
>
> In attach you found the test case if needed, relevant code it's in
> com.bitdivide.controllers.UniverseController.java
>
>
>  --
>
> ---
> 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.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
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.

Reply via email to