public void visit(CreateProcedureCommand obj) { //check that the procedure does not contain references to itself if (obj.getUpdateType() == Command.TYPE_UNKNOWN) { if (GroupCollectorVisitor.getGroups(obj,true).contains(obj.getVirtualGroup())) { handleValidationError(QueryPlugin.Util.getString("ValidationVisitor.Procedure_has_group_self_reference"),obj); //$NON-NLS-1$ } if (obj.getResultSetColumns() != null) { //some unit tests bypass setting the columns this.createProc = obj; } } }
public void visit(CreateProcedureCommand obj) { //check that the procedure does not contain references to itself if (obj.getUpdateType() == Command.TYPE_UNKNOWN) { if (GroupCollectorVisitor.getGroups(obj,true).contains(obj.getVirtualGroup())) { handleValidationError(QueryPlugin.Util.getString("ValidationVisitor.Procedure_has_group_self_reference"),obj); //$NON-NLS-1$ } if (obj.getResultSetColumns() != null) { //some unit tests bypass setting the columns this.createProc = obj; } } }
public void visit(CreateProcedureCommand obj) { //check that the procedure does not contain references to itself if (obj.getUpdateType() == Command.TYPE_UNKNOWN) { if (GroupCollectorVisitor.getGroups(obj,true).contains(obj.getVirtualGroup())) { handleValidationError(QueryPlugin.Util.getString("ValidationVisitor.Procedure_has_group_self_reference"),obj); //$NON-NLS-1$ } if (obj.getResultSetColumns() != null) { //some unit tests bypass setting the columns this.createProc = obj; } } }
if (parentProcCommand.getUpdateType() != Command.TYPE_UNKNOWN) { procEnv.getContext().pushCall(Command.getCommandToken(parentProcCommand.getUpdateType()) + " " + parentProcCommand.getVirtualGroup()); //$NON-NLS-1$ } else { if (parentProcCommand.getVirtualGroup() != null) {
if (parentProcCommand.getUpdateType() != Command.TYPE_UNKNOWN) { procEnv.getContext().pushCall(Command.getCommandToken(parentProcCommand.getUpdateType()) + " " + parentProcCommand.getVirtualGroup()); //$NON-NLS-1$ } else { if (parentProcCommand.getVirtualGroup() != null) {
if (parentProcCommand.getUpdateType() != Command.TYPE_UNKNOWN) { procEnv.getContext().pushCall(Command.getCommandToken(parentProcCommand.getUpdateType()) + " " + parentProcCommand.getVirtualGroup()); //$NON-NLS-1$ } else { if (parentProcCommand.getVirtualGroup() != null) {
case Command.TYPE_UPDATE_PROCEDURE: CreateProcedureCommand cupc = (CreateProcedureCommand)command; if (cupc.getUpdateType() != Command.TYPE_UNKNOWN || cupc.getVirtualGroup() == null) {
case Command.TYPE_UPDATE_PROCEDURE: CreateProcedureCommand cupc = (CreateProcedureCommand)command; if (cupc.getUpdateType() != Command.TYPE_UNKNOWN || cupc.getVirtualGroup() == null) {
case Command.TYPE_UPDATE_PROCEDURE: CreateProcedureCommand cupc = (CreateProcedureCommand)command; if (cupc.getUpdateType() != Command.TYPE_UNKNOWN || cupc.getVirtualGroup() == null) {