}
public static Connection getConnection() throws Exception {
if (connection == null) {
connection = getNewConnection();
entitlement = new AccessTaskDatabase(connection).getEntitlement(databaseUserName);
ConnectionUtil.checkConnection(connection);
}
return connection;
}