diff --git a/src/database/DatabaseTesting.java b/src/database/DatabaseTesting.java index e0249ca..e5aad7c 100644 --- a/src/database/DatabaseTesting.java +++ b/src/database/DatabaseTesting.java @@ -13,9 +13,9 @@ import java.sql.Statement; public class DatabaseTesting { public static void main(String[] args) { Table a = new Table("a"); - a.remplirTableAllFrom("CartesLumiere"); + a.remplirTableAllFrom("CartesAll"); System.out.println(a.toString()); - //BufferedImage jpg = new BufferedImage(467, 652, 1); + BufferedImage jpg = new BufferedImage(467, 652, 1); /* diff --git a/src/database/QueryGenerator.java b/src/database/QueryGenerator.java index 24052bf..3ec85ee 100644 --- a/src/database/QueryGenerator.java +++ b/src/database/QueryGenerator.java @@ -15,7 +15,7 @@ public class QueryGenerator { } public static String getTable(String s) { - return "public.\"" + s + "\""; + return "public." + '"' + s + '"'; } }