Hi Argh, In this case you can only configure Orient with OGlobalConfiguration before db is opened.
However, if you want to configure sharding you have to start a separate server or embed a server into your application. Best regards, Artem Orobets * Orient Technologiesthe Company behind OrientDB* 2014-07-11 9:21 GMT+03:00 Argh Skwidge <[email protected]>: > I am using embedded mode, with a plocal URL. > > String dbUrl = > "plocal:/orientdb-community-1.7.4/databases/GratefulDeadConcerts"; > OrientGraph graph = new OrientGraph(dbUrl, dbUser, dbPass); > > > > On Friday, 11 July 2014 00:35:08 UTC+12, Artem Orobets wrote: >> >> Hi Argh, >> >> It is not clear how do you connect to the database. >> >> There is 3 different ways to use orientdb >> >> - Embedded mode. When you connection url starts with "plocal:" >> - You start OrientDB server separately. In this case your connection >> url starts with "remote:" >> - You embed a server into your application so it runs on the same JVM >> as your application. This is the way that you have found there >> <https://github.com/orientechnologies/orientdb/wiki/Embedded-Server> >> >> What approach do you use? >> >> >> Best regards, >> Artem Orobets >> >> *Orient Technologies the Company behind OrientDB* >> > -- > > --- > 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.
