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