1.I want to make an single class to connect database's, but I try for a long time, what I to do?
attach to files of two java files!!!

error scription:
ConnectionMgr.java:4: cannot resolve symbol
symbol : class Connection
location: class ConnectionMgr
private static Connection conn = null;
^
ConnectionMgr.java:26: cannot resolve symbol
symbol : class Connection
location: class ConnectionMgr
public Connection connect()throws Exception
^
ConnectionMgr.java:22: cannot resolve symbol
symbol : variable DriverManager
location: class ConnectionMgr
conn = DriverManager.getConnection(jdbcUrl, user, pwd);