- Timestamp:
- 07/18/16 12:26:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/MySQLResultStorage.java
r121 r135 22 22 import java.util.Properties; 23 23 24 25 24 import com.mysql.jdbc.jdbc2.optional.MysqlDataSource; 26 25 … … 37 36 public class MySQLResultStorage implements IResultStorage { 38 37 39 /**40 * Connection to the database41 */42 //private Connection con = null;43 44 38 /** 45 39 * Connection pool for the data base. … … 121 115 sql.append(result.getSizeTestData() + ","); 122 116 sql.append(result.getSizeTrainingData() + ","); 123 sql.append(result.getSuccHe() + ",");124 sql.append(result.getSuccZi() + ",");125 sql.append(result.getSuccG75() + ",");126 sql.append(result.getSuccG60() + ",");127 117 sql.append(result.getError() + ","); 128 118 sql.append(result.getRecall() + ","); … … 164 154 public int containsResult(String experimentName, String productName, String classifierName) { 165 155 String sql = "SELECT COUNT(*) as cnt FROM crosspare.results WHERE configurationName=\'" + 166 experimentName + "\' AND productName=\'" + productName + "\' AND classifier=\'" + classifierName + "\';"; 156 experimentName + "\' AND productName=\'" + productName + "\' AND classifier=\'" + 157 classifierName + "\';"; 167 158 Statement stmt; 168 159 try {
Note: See TracChangeset
for help on using the changeset viewer.