Hi guys, This is not supported right now, but it should be quite easy. On Tuesday, June 16, 2015 at 3:10:02 PM UTC+2, James Wang wrote: > > Sir, I am interested in this. > > Please shed some light. Thanks a lot in advance > James > > On Sunday, 4 March 2012 12:26:01 UTC, Lvc@ wrote: >> >> Hi Jack, >> read-only mode was planned months ago but no one seemed interested so >> there is no such feature. >> >> To do what you need create a server in your app following this: >> http://code.google.com/p/orient/wiki/EmbeddedServer >> >> And access to it from console using "remote" protocol. Everything will go >> fine. >> >> Lvc@ >> >> On 4 March 2012 08:29, jlist9 <[email protected]> wrote: >> >>> Hi all, >>> >>> Is there a way to open a DB in a read-only mode? I'm debugging using an >>> embedded DB. >>> I'm browsing the DB also from console. While console is connected, >>> opening it in code gets >>> me this error: >>> >>> Cannot open local storage '/mydir' with mode=rw >>> at >>> com.orientechnologies.orient.core.storage.impl.local.OStorageLocal.open(OStorageLocal.java:208) >>> >>> I'm hoping that opening it from either side using a read-only mode would >>> solve the problem. >>> When I look, I didn't find an option to do that. Is there a way to >>> connect to a DB using read-only >>> mode either from console or Java code? >>> >>> Thanks, >>> Jack >>> >> >>
-- --- 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.
