Already setDB in standard mode. Make sure you call setReadOnly earlier!