求大神发一个java程序网吧管理系统的源程序给我,课设做不出来
package team.zqy.wangbaManager.DAO;
import java.sql.*;
public abstract class BaseDAO {
private static String driver="com.mysql.jdbc.Driver";
private static String url="jdbc:mysql://127.0.0.1:3307/wangba?characterEncoding=UTF-8";
private static String username="root";
private static String password="root";
private static Connection conn=null;
static{
try{
Class.forName(driver);
}catch(ClassNotFoundException e){
e.printStackTrace();
}
}
public BaseDAO(){};
public Connection getConn() throws SQLException{
try{
conn = DriverManager.getConnection(url,username,password);
}catch(SQLException e){
e.printStackTrace();
}
return conn;
}
}