Hi Luca, the expected result is the creation of an instance of OrientGraph class (to manage the graph database HRG).
Thanks Alessandro Il giorno lunedì 17 febbraio 2014 16:47:44 UTC+1, Lvc@ ha scritto: > > Hi, > what's the expected result? > > Lvc@ > > > > On 17 February 2014 16:45, Alessandro Remartini > <[email protected]<javascript:> > > wrote: > >> Dear all, >> >> I have included new 1.7-rc1 libraries in my Netbeans web project (I used >> 1.6 version) and I have introduced the use of OrientGraphFactory in the new >> package orientdb-graphdb-1.7-rc1.jar. The libraries included in my project >> are: >> >> javassist-3.16.1-GA.jar >> orient-commons-1.7-rc1.jar >> orientdb-core-1.7-rc1.jar >> orientdb-client-1.7-rc1.jar >> orientdb-enterprise-1.7-rc1.jar >> blueprints-core-2.5.0-20140129.150537-29.jar >> orientdb-graphdb-1.7-rc1.jar >> >> and the new code snippet to instantiate the OrientGraph is become: >> >> >> * try{* >> >> *OrientGraphFactory factory; * >> >> >> >> >> *factory = new >> OrientGraphFactory("remote:localhost/HRG","admin","admin");factory.setupPool(1, >> >> 10);_hrgGraph = factory.getTx();factory.close();* >> >> *}catch ( Exception e){ * >> >> *return false;* >> *}* >> >> There is a strange behavior, because the factory.setupPool (1,10) >> statement causes the skip of the next instructions without generate >> exception. >> >> Please, anyone can help me? >> >> Thanks for your help >> >> Regards >> >> Alessandro >> >> >> -- >> >> --- >> 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/groups/opt_out. >> > > -- --- 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/groups/opt_out.
