Init
This commit is contained in:
1 parent
065bdb572b
commit
dcb918ddd6
13 files changed
+508
-9
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package server.tools;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
|
||||
public class DBConnection {
|
||||
private String driverName;
|
||||
private String url;
|
||||
private String user;
|
||||
private String password;
|
||||
|
||||
// 加载驱动
|
||||
static {
|
||||
|
||||
}
|
||||
|
||||
public static Connection getConnection() {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void close(Connection con, PreparedStatement pst) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user