Skip to content
Snippets Groups Projects
Commit 366b7b1f authored by A C's avatar A C
Browse files

domainPreCORS

parent 611555a6
No related branches found
No related tags found
No related merge requests found
......@@ -468,15 +468,6 @@ public class DBC {
PreparedStatement prepared = conn.prepareStatement("INSERT INTO Moduli (Module, Requirements, Path) VALUES (?,?,?);");
// Users, Resources, , Services ,?4,?5,?6
//System.out.println(j.getString("domain"));
//System.out.println(j.getString("desc"));
//System.out.println(j.getString("users"));
//System.out.println(j.getString("services"));
//System.out.println(j.getString("resources"));
// System.out.println(prepared.toString());
prepared.setString(1, a);
prepared.setString(2, b);
......@@ -493,7 +484,9 @@ public class DBC {
} catch (SQLException e) {
System.out.println(e.getMessage());
if(!e.getMessage().contains("SQLITE_CONSTRAINT_PRIMARYKEY")) {
System.out.println(e.getMessage());
}
} finally {
try {
if (conn != null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment