|
@@ -621,7 +621,7 @@ public class GuiMysql extends Mysql {
|
|
|
stat.setInt(1, teamId);
|
|
stat.setInt(1, teamId);
|
|
|
stat.setInt(2, marginHome);
|
|
stat.setInt(2, marginHome);
|
|
|
|
|
|
|
|
- stat.executeQuery();
|
|
|
|
|
|
|
+ stat.executeUpdate();
|
|
|
|
|
|
|
|
} catch (final SQLException e) {
|
|
} catch (final SQLException e) {
|
|
|
// TODO Auto-generated catch block
|
|
// TODO Auto-generated catch block
|
|
@@ -637,7 +637,7 @@ public class GuiMysql extends Mysql {
|
|
|
stat.setInt(1, teamId);
|
|
stat.setInt(1, teamId);
|
|
|
stat.setInt(2, marginDraw);
|
|
stat.setInt(2, marginDraw);
|
|
|
|
|
|
|
|
- stat.executeQuery();
|
|
|
|
|
|
|
+ stat.executeUpdate();
|
|
|
|
|
|
|
|
} catch (final SQLException e) {
|
|
} catch (final SQLException e) {
|
|
|
// TODO Auto-generated catch block
|
|
// TODO Auto-generated catch block
|
|
@@ -653,7 +653,7 @@ public class GuiMysql extends Mysql {
|
|
|
stat.setInt(1, teamId);
|
|
stat.setInt(1, teamId);
|
|
|
stat.setInt(2, marginAway);
|
|
stat.setInt(2, marginAway);
|
|
|
|
|
|
|
|
- stat.executeQuery();
|
|
|
|
|
|
|
+ stat.executeUpdate();
|
|
|
|
|
|
|
|
} catch (final SQLException e) {
|
|
} catch (final SQLException e) {
|
|
|
// TODO Auto-generated catch block
|
|
// TODO Auto-generated catch block
|
|
@@ -669,7 +669,7 @@ public class GuiMysql extends Mysql {
|
|
|
stat.setInt(1, teamId);
|
|
stat.setInt(1, teamId);
|
|
|
stat.setInt(2, lookbackHome);
|
|
stat.setInt(2, lookbackHome);
|
|
|
|
|
|
|
|
- stat.executeQuery();
|
|
|
|
|
|
|
+ stat.executeUpdate();
|
|
|
|
|
|
|
|
} catch (final SQLException e) {
|
|
} catch (final SQLException e) {
|
|
|
// TODO Auto-generated catch block
|
|
// TODO Auto-generated catch block
|
|
@@ -685,7 +685,7 @@ public class GuiMysql extends Mysql {
|
|
|
stat.setInt(1, teamId);
|
|
stat.setInt(1, teamId);
|
|
|
stat.setInt(2, lookbackDraw);
|
|
stat.setInt(2, lookbackDraw);
|
|
|
|
|
|
|
|
- stat.executeQuery();
|
|
|
|
|
|
|
+ stat.executeUpdate();
|
|
|
|
|
|
|
|
} catch (final SQLException e) {
|
|
} catch (final SQLException e) {
|
|
|
// TODO Auto-generated catch block
|
|
// TODO Auto-generated catch block
|
|
@@ -701,7 +701,7 @@ public class GuiMysql extends Mysql {
|
|
|
stat.setInt(1, teamId);
|
|
stat.setInt(1, teamId);
|
|
|
stat.setInt(2, lookbackAway);
|
|
stat.setInt(2, lookbackAway);
|
|
|
|
|
|
|
|
- stat.executeQuery();
|
|
|
|
|
|
|
+ stat.executeUpdate();
|
|
|
|
|
|
|
|
} catch (final SQLException e) {
|
|
} catch (final SQLException e) {
|
|
|
// TODO Auto-generated catch block
|
|
// TODO Auto-generated catch block
|