CloneSet533


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22230.970block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1221068
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java
2221094
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java
Next
Last
Clone Instance
1
Line Count
22
Source Line
1068
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java

{
  String result = "null";
  if (_prefs.isUseFileCaching()) {
    try {
      bindClobVarInFile(ps, index, rs, type);
    }
    catch (Exception
           e) {
      // i18n[DBUtil.error.bindclobfailure=bindBlobVar: failed to
      // bind blob using filesystem - attempting to bind blob using
      // memory]
      String msg = s_stringMgr.getString("DBUtil.error.bindclobfailure");
      log.error(msg, e);
      // if we failed to bind the blob in a file, try memory.
      result = bindClobVarInMemory(ps, index, rs, type);
    }
  }
  else {
    result = bindClobVarInMemory(ps, index, rs, type);
  }
  return result;
}


First
Previous
Clone Instance
2
Line Count
22
Source Line
1094
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java

{
  String result = "null";
  if (_prefs.isUseFileCaching()) {
    try {
      bindBlobVarInFile(ps, index, rs, type);
    }
    catch (Exception
           e) {
      // i18n[DBUtil.error.bindblobfailure=bindBlobVar: failed to
      // bind blob using filesystem - attempting to bind blob using
      // memory]
      String msg = s_stringMgr.getString("DBUtil.error.bindblobfailure");
      log.error(msg, e);
      // if we failed to bind the blob in a file, try memory.
      result = bindBlobVarInMemory(ps, index, rs, type);
    }
  }
  else {
    result = bindBlobVarInMemory(ps, index, rs, type);
  }
  return result;
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  String result = "null";
  if (_prefs.isUseFileCaching()) {
    try {
       [[#variable1ced3740]](ps, index, rs, type);
    }
    catch (Exception
           e) {
      // i18n[DBUtil.error.bindblobfailure=bindBlobVar: failed to
      // i18n[DBUtil.error.bindclobfailure=bindBlobVar: failed to
      // bind blob using filesystem - attempting to bind blob using
      // memory]
      String msg = s_stringMgr.getString( [[#variable1ced3700]]);
      log.error(msg, e);
      // if we failed to bind the blob in a file, try memory.
      result = [[#variable1ced37a0]](ps, index, rs, type);
    }
  }
  else {
    result = [[#variable1ced37a0]](ps, index, rs, type);
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ced3740]]
bindClobVarInFile 
12[[#1ced3740]]
bindBlobVarInFile 
21[[#1ced3700]]
"DBUtil.error.bindclobfailure" 
22[[#1ced3700]]
"DBUtil.error.bindblobfailure" 
31[[#1ced37a0]]
bindClobVarInMemory 
32[[#1ced37a0]]
bindBlobVarInMemory