Hi Andrey, Could you point me to the sample or documentation. I am little
confused here. Thank you in advance.

On Tue, Jun 9, 2015 at 2:29 PM Andrey Lomakin <[email protected]>
wrote:

> You will specify it during construction of document
>
> On Tue, Jun 9, 2015, 11:57 Chaitanya <[email protected]> wrote:
>
>> But how document.save() will save it to the required class?
>>
>> On Tue, Jun 9, 2015 at 2:26 PM Andrey Lomakin <[email protected]>
>> wrote:
>>
>>> Or merely document.save()
>>>
>>> On Tue, Jun 9, 2015, 11:55 Chaitanya <[email protected]> wrote:
>>>
>>>> Ok. Gotcha. We need to call ODatabaseDocumentTx.save(ODocument).
>>>>
>>>> On Tue, Jun 9, 2015 at 2:23 PM Andrey Lomakin <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi ,
>>>>> You use it as plain-simple database . The only difference is that you
>>>>> get database instance not by creation of ODatabaseDocumentTx but by 
>>>>> calling
>>>>> of pool.acquire() . That is only difference .
>>>>>
>>>>> On Tue, Jun 9, 2015, 11:50 Chaitanya <[email protected]> wrote:
>>>>>
>>>>>> Thank you Andrey.
>>>>>>
>>>>>> Do you have any sample code for adding a new document using this
>>>>>> 'orientPool'? I unable to find any documentation to do so.
>>>>>>
>>>>>> On Tue, Jun 9, 2015 at 2:12 PM Andrey Lomakin <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi.
>>>>>>> You can use it in such way. It will not create any problems .
>>>>>>>
>>>>>>> On Tue, Jun 9, 2015, 11:26 Chaitanya <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I found a bug/3524
>>>>>>>> <https://github.com/orientechnologies/orientdb/issues/3524>
>>>>>>>> related to this depreciation. But what exactly the difference. 
>>>>>>>> Ultimately
>>>>>>>> we are going to get the pool object with following code:
>>>>>>>> *OPartitionedDatabasePool orientPool = *
>>>>>>>> *        new OPartitionedDatabasePoolFactory().get(url, username,
>>>>>>>> password);*
>>>>>>>> I am planning to use 'orientPool' singleton object in all the
>>>>>>>> threads. Will it create any problem?
>>>>>>>>
>>>>>>>> Thank you
>>>>>>>> Chaitanya
>>>>>>>> On Tue, Jun 9, 2015 at 12:21 PM Chaitanya Reddy <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi
>>>>>>>>>
>>>>>>>>> I am just starting to write code in java. From the documentation I
>>>>>>>>> found the database pool code. But my ide is complaining about it with
>>>>>>>>> deprecated message. Can any one suggest a better way to use pools, if
>>>>>>>>> possible a sample code too. Thanks in advance.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> Chaitanya
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> ---
>>>>>>>>> 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.
>>>>>>>>
>>>>>>>  --
>>>>>>>
>>>>>>> ---
>>>>>>> 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.
>>>>>>
>>>>>  --
>>>>>
>>>>> ---
>>>>> 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.
>>>>
>>>  --
>>>
>>> ---
>>> 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.
>>
>  --
>
> ---
> 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