public static Connection getConnection() throws ConnectException
	{
		Connection con=null;
		try {
			Class.forName("oracle.jdbc.driver.OracleDriver");
			con=DriverManager.getConnection("jdbc:oracle:thin:@dbhost.ugrad.cs.ubc.ca:1522:ug","ora_p3t8","a71541122");
			con.setAutoCommit(false);
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			throw new ConnectException(e.getMessage());
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			throw new ConnectException(e.getMessage());
		}
		return con;
		
	}