|
|
|
@ -7,7 +7,7 @@ import java.sql.Statement;
|
|
|
|
|
|
|
|
|
|
public class JDBCBean {
|
|
|
|
|
private static String driver = "com.mysql.cj.jdbc.Driver";
|
|
|
|
|
private static String url = "jdbc:mysql://localhost:3306/library?&useSSL=false&serverTimezone=UTC&userUnicode=true&characterEncoding=UTF-8";
|
|
|
|
|
private static String url = "jdbc:mysql://localhost:3306/library?&useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8";
|
|
|
|
|
private static String username = "root";
|
|
|
|
|
private static String password = "root";
|
|
|
|
|
private Connection conn = null;
|
|
|
|
|