Hi Hung,
Take a look at:
https://github.com/orientechnologies/orientdb/wiki/Migration-from-1.7.x-to-2.0.x

Lvc@


On 23 January 2015 at 15:34, Andrey Lomakin <[email protected]>
wrote:

> Hi Hung,
> Instead of ODatabaseDocumentPool please use
> com.orientechnologies.orient.core.db.OPartitionedDatabasePool
> implementation.
>
> About local cache it is thread local cache implementation and it's
> life-cycle is  handled automatically by database.
> You merely need to forget about it :-).
>
> What about the rest of your points ?
>
>
>
> On Thu, Jan 22, 2015 at 1:28 PM, Hung Tran <[email protected]> wrote:
>
>> Hi Andrey,
>>
>> I only report what problems I have seen when I compile my project with
>> the OrientDB 2.0. Now, I need to go through one by one to see what is a
>> replacement, and how it should work in a new way. It would be great if you
>> could give me some idea about them.
>>
>> About ODatabaseDocumentPool, my code is using it to initialize a custom
>> pool, what should I do? what is an alternative class? should I remove my
>> code and not using pool?
>>
>> About 2nd level cache, it won't stop me, I am just curious what is a
>> replacement for caching technique, is it a local cache? How it works, am
>> I need to add into local cache and find from the cache myself before
>> hitting database?
>>
>> My Best,
>> Hung Tran
>>
>> On Thursday, January 22, 2015 at 1:50:39 PM UTC+7, Andrey Lomakin wrote:
>>>
>>>
>>> Hi Hung,
>>>
>>> Sorry but how presence of depricated class ODatabaseDocumentPool or
>>> absence of second level cache stops you to use new version ?
>>> Could you be more specific how each change stops you to use current
>>> version ?
>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Andrey Lomakin.
>>>
>>>   --
>>
>> ---
>> 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.
>
>  --
>
> ---
> 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.
>

-- 

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