public BulletinModel() {

		try {
			Class.forName("com.mysql.jdbc.Driver");
		} catch(ClassNotFoundException e) {
			System.out.println("Driver not found");
			e.printStackTrace();
			return;
		}
		
		try {
			connection = DriverManager.getConnection(databaseUrl, user, pass);	
			statement = connection.createStatement();

		} catch(SQLException e) {
			e.printStackTrace();
			try {
				if(statement != null) statement.close();
			} catch(SQLException se2) {}
			try {
				if(connection != null) connection.close();
			} catch(SQLException se3) {}
		}
	}