268269270271272273274275276277278
setCurrentDatabaseinThreadLocal(); final OCommandRequestInternal command = (OCommandRequestInternal) iCommand; try { command.reset(); command.setDatabase(this); return command; } catch (Exception e) {
237238239240241242243244245246247
public OCommandRequest command(final OCommandRequest iCommand) { OCommandRequestInternal command = (OCommandRequestInternal) iCommand; try { command.reset(); command.setDatabase(this); return command; } catch (Exception e) {
248249250251252253254255256257258
253254255256257258259260261262263
655656657658659660661662663664665
setCurrentDatabaseinThreadLocal(); final OCommandRequestInternal command = (OCommandRequestInternal) iCommand; try { command.reset(); return command; } catch (Exception e) { throw new ODatabaseException("Error on command execution", e); }