Skip to content

Commit dfb58d2

Browse files
authored
Update 6_database_apps_JDBC_preparedStatements.java
1 parent 43f91fe commit dfb58d2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎cert/6_database_apps_JDBC_preparedStatements.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ public static void main(String [] args){
1111
String url = "jdbc:mysql://localhost:3306/test-app-db?useSSL=false";
1212
String user = "testappuser";
1313
String password = "password";
14-
15-
String personName = "John Doe"
14+
String personName = "johndoe"
1615
String sql = "INSERT INTO Person(Name) VALUES (?)";
1716

1817
try(Connection con = DriveManager.getConnection(url,user,password);
@@ -25,4 +24,4 @@ public static void main(String [] args){
2524
lgr.log(Level.SEVERE, ex.getMessage(), ex);
2625
}
2726
}
28-
}
27+
}

0 commit comments

Comments
 (0)