/[projects]/dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/Database.java
ViewVC logotype

Diff of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/Database.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2207 by torben, Thu Sep 11 16:42:08 2014 UTC revision 2218 by torben, Fri Sep 12 15:23:06 2014 UTC
# Line 188  public class Database { Line 188  public class Database {
188    
189    
190          protected ArrayList<Adresse> hentAdresseListe(PreparedStatement stmt) throws SQLException{          protected ArrayList<Adresse> hentAdresseListe(PreparedStatement stmt) throws SQLException{
191                  ArrayList<Adresse> list = new ArrayList<Adresse>( 30000 );                  ArrayList<Adresse> list = new ArrayList<Adresse>( 1000000 );
192    
193                  //logger.info("Starting query");                  //logger.info("Starting query");
194                  ResultSet res = stmt.executeQuery();                  ResultSet res = stmt.executeQuery();
# Line 234  public class Database { Line 234  public class Database {
234              conn = DriverManager.getConnection(              conn = DriverManager.getConnection(
235                             "jdbc:mysql://" +                             "jdbc:mysql://" +
236                             db_host +                             db_host +
237                             ":3306/",                             ":3306/?rewriteBatchedStatements=true",
238                             connectionProps);                             connectionProps);
239              logger.info("Connected to database");              logger.info("Connected to database");
240              return conn;              return conn;

Legend:
Removed from v.2207  
changed lines
  Added in v.2218

  ViewVC Help
Powered by ViewVC 1.1.20