CloneSet153


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
46210.989statement_sequence[13]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13776
E:/TSE/Projects-CloneDR/sql12/plugins/sqlval/src/com/mimer/ws/validateSQL/ValidateSQL99Client.java
24675
E:/TSE/Projects-CloneDR/sql12/plugins/sqlval/src/net/sourceforge/squirrel_sql/plugins/sqlval/WebServiceSession.java
Next
Last
Clone Instance
1
Line Count
37
Source Line
76
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/sqlval/src/com/mimer/ws/validateSQL/ValidateSQL99Client.java

l_call.setOperationName(new QName("SQL99Validator", "openSession"));
//Supply the user name. If you use anonymous you will be logged in and the pw will be ignored
l_call.addParameter("a_userName", XMLType.XSD_STRING, ParameterMode.IN);
//The pw. If user name is anonymous this can be anything. But it has to be supplied anyway.
l_call.addParameter("a_password", XMLType.XSD_STRING, ParameterMode.IN);
//The name of the calling client program.
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_callingProgram", XMLType.XSD_STRING, ParameterMode.IN);
//And the version of the calling program.
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_callingProgramVersion", XMLType.XSD_STRING, ParameterMode.IN);
//The target DBMS, could be Mimer SQL Engine, Oracle, ...
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_targetDbms", XMLType.XSD_STRING, ParameterMode.IN);
//The version of the target DBMS
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_targetDbmsVersion", XMLType.XSD_STRING, ParameterMode.IN);
//The connection Technology used, could be ODBC, JDBC, ADO
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_connectionTechnology", XMLType.XSD_STRING, ParameterMode.IN);
//Version
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_connectionTechnologyVersion", XMLType.XSD_STRING, ParameterMode.IN);
//Set this to 1 if your application is interactive where the user enters queries and then runs them
//Set it to 2 if it is non interactive, such as for instance a JDBC Bridge driver that intercepts SQL
l_call.addParameter("a_interactive", XMLType.XSD_INT, ParameterMode.IN);
QName l_qn = new QName("http://sqlvalidator.mimer.com/v1.0", "SessionData");
//        QName l_qn = new QName( "http://sqlvalidator.mimer.com/v1", "SessionData" );
l_call.registerTypeMapping(SessionData.class , l_qn, new org.apache.axis.encoding.ser.BeanSerializerFactory(SessionData.class , l_qn), new org.apache.axis.encoding.ser.BeanDeserializerFactory(SessionData.class , l_qn));
//Set the return type
l_call.setReturnType(l_qn);


First
Previous
Clone Instance
2
Line Count
46
Source Line
75
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/sqlval/src/net/sourceforge/squirrel_sql/plugins/sqlval/WebServiceSession.java

l_call.setOperationName(new QName("SQL99Validator", "openSession"));
// Supply the user name. If you use anonymous you will be logged in and
// the pw will be ignored
l_call.addParameter("a_userName", XMLType.XSD_STRING, ParameterMode.IN);
// The pw. If user name is anonymous this can be anything. But it has to
// be supplied anyway.
l_call.addParameter("a_password", XMLType.XSD_STRING, ParameterMode.IN);
//The name of the calling client program.
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_callingProgram", XMLType.XSD_STRING, ParameterMode.IN);
//And the version of the calling program.
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_callingProgramVersion", XMLType.XSD_STRING, ParameterMode.IN);
//The target DBMS, could be Mimer SQL Engine, Oracle, ...
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_targetDbms", XMLType.XSD_STRING, ParameterMode.IN);
//The version of the target DBMS
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_targetDbmsVersion", XMLType.XSD_STRING, ParameterMode.IN);
//The connection Technology used, could be ODBC, JDBC, ADO
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_connectionTechnology", XMLType.XSD_STRING, ParameterMode.IN);
//Version
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_connectionTechnologyVersion", XMLType.XSD_STRING, ParameterMode.IN);
//Set this to 1 if your application is interactive where the user enters queries and then runs them
//Set it to 2 if it is non interactive, such as for instance a JDBC Bridge driver that intercepts SQL
l_call.addParameter("a_interactive", XMLType.XSD_INT, ParameterMode.IN);
QName l_qn = new QName(IWebServiceURL.REQUEST_URL, "SessionData");
l_call.registerTypeMapping(SessionData.class , l_qn, new org.apache.axis.encoding.ser.BeanSerializerFactory(SessionData.class , l_qn), new org.apache.axis.encoding.ser.BeanDeserializerFactory(SessionData.class , l_qn));
//Set the return type
l_call.setReturnType(l_qn);


Clone AbstractionParameter Count: 1Parameter Bindings

l_call.setOperationName(new QName("SQL99Validator", "openSession"));
// Supply the user name. If you use anonymous you will be logged in and
// the pw will be ignored
//Supply the user name. If you use anonymous you will be logged in and the pw will be ignored
l_call.addParameter("a_userName", XMLType.XSD_STRING, ParameterMode.IN);
// The pw. If user name is anonymous this can be anything. But it has to
// be supplied anyway.
//The pw. If user name is anonymous this can be anything. But it has to be supplied anyway.
l_call.addParameter("a_password", XMLType.XSD_STRING, ParameterMode.IN);
//The name of the calling client program.
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_callingProgram", XMLType.XSD_STRING, ParameterMode.IN);
//And the version of the calling program.
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_callingProgramVersion", XMLType.XSD_STRING, ParameterMode.IN);
//The target DBMS, could be Mimer SQL Engine, Oracle, ...
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_targetDbms", XMLType.XSD_STRING, ParameterMode.IN);
//The version of the target DBMS
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_targetDbmsVersion", XMLType.XSD_STRING, ParameterMode.IN);
//The connection Technology used, could be ODBC, JDBC, ADO
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_connectionTechnology", XMLType.XSD_STRING, ParameterMode.IN);
//Version
//This is optional. If you don't want to give out this info, please enter "N/A"
l_call.addParameter("a_connectionTechnologyVersion", XMLType.XSD_STRING, ParameterMode.IN);
//Set this to 1 if your application is interactive where the user enters queries and then runs them
//Set it to 2 if it is non interactive, such as for instance a JDBC Bridge driver that intercepts SQL
l_call.addParameter("a_interactive", XMLType.XSD_INT, ParameterMode.IN);
QName l_qn = new QName( [[#variable1af5fbc0]], "SessionData");
//        QName l_qn = new QName( "http://sqlvalidator.mimer.com/v1", "SessionData" );
l_call.registerTypeMapping(SessionData.class , l_qn, new org.apache.axis.encoding.ser.BeanSerializerFactory(SessionData.class , l_qn), new org.apache.axis.encoding.ser.BeanDeserializerFactory(SessionData.class , l_qn));
//Set the return type
l_call.setReturnType(l_qn);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1af5fbc0]]
"http://sqlvalidator.mimer.com/v1.0" 
12[[#1af5fbc0]]
IWebServiceURL.REQUEST_URL