[All]
Accessing data with missing log files.
By: Ben Matterson
Abstract: You can access your datastore even if the log files are missing by using a read-only connection.
I lost my log files (anchor files), can I still access my data?
Yes, you can open the store as read-only by setting JDBC connection properties.
java.util.Properties props = new java.util.Properties();
props.setProperty("readonly","true");
db.setConnection(new ConnectionDescriptor("jdbc:borland:dslocal:"+fileName,
"pwd", false, "com.borland.datastore.jdbc.DataStoreDriver", props));
Connect with Us