Examples of notifyChanges()


Examples of com.dci.intellij.dbn.connection.ConnectionHandler.notifyChanges()

                    statement.setQueryTimeout(getStatementExecutionSettings().getExecutionTimeout());
                    statement.execute(executeStatementText);
                    executionResult = createExecutionResult(statement, executionInput);
                    if (executablePsiElement != null) {
                        if (executablePsiElement.isTransactional()) activeConnection.notifyChanges(file.getVirtualFile());
                        if (executablePsiElement.isTransactionControl()) activeConnection.resetChanges();
                    }
                }
            } catch (SQLException e) {
                executionResult = createErrorExecutionResult(executionInput, e.getMessage());
View Full Code Here

Examples of com.dci.intellij.dbn.connection.ConnectionHandler.notifyChanges()

                CallableStatement callableStatement = connection.prepareCall (command);

                prepareCall(executionInput, callableStatement);
                callableStatement.execute();
                callableStatement.setQueryTimeout(10);
                if (!usePoolConnection) connectionHandler.notifyChanges(method.getVirtualFile());

                MethodExecutionResult executionResult = executionInput.getExecutionResult();
                if (executionResult != null) {
                    loadValues(executionResult, callableStatement);
                    executionResult.setExecutionDuration((int) (System.currentTimeMillis() - startTime));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.