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.
