/** * Sets the database password. * * @param password the password */ @Override public void setPassword(String password) { checkEnv(); m_Password = password; String passCopy = password; try { passCopy = m_env.substitute(passCopy); } catch (Exception ex) { } m_DataBaseConnection.setPassword(password); }
/** * Sets the database password. * * @param password the password */ @Override public void setPassword(String password) { checkEnv(); m_Password = password; String passCopy = password; try { passCopy = m_env.substitute(passCopy); } catch (Exception ex) { } m_DataBaseConnection.setPassword(password); }
/** * Sets the database URL. * * @param url the URL */ @Override public void setUrl(String url) { checkEnv(); m_URL = url; String uCopy = m_URL; try { uCopy = m_env.substitute(uCopy); } catch (Exception ex) { } m_DataBaseConnection.setDatabaseURL(uCopy); }
/** * Sets the database URL. * * @param url the URL */ @Override public void setUrl(String url) { checkEnv(); m_URL = url; String uCopy = m_URL; try { uCopy = m_env.substitute(uCopy); } catch (Exception ex) { } m_DataBaseConnection.setDatabaseURL(uCopy); }
/** * Sets the database user. * * @param user the user name */ @OptionMetadata(displayName = "Username", description = "The user name for the database", displayOrder = 2) @Override public void setUser(String user) { checkEnv(); m_Username = user; String userCopy = user; try { userCopy = m_env.substitute(userCopy); } catch (Exception ex) { } m_DataBaseConnection.setUsername(userCopy); }
/** * Sets the database user. * * @param user the user name */ @OptionMetadata(displayName = "Username", description = "The user name for the database", displayOrder = 2) @Override public void setUser(String user) { checkEnv(); m_Username = user; String userCopy = user; try { userCopy = m_env.substitute(userCopy); } catch (Exception ex) { } m_DataBaseConnection.setUsername(userCopy); }
/** Sets the database url using the DatabaseUtils file. */ public void setDestination() { try { checkEnv(); m_DataBaseConnection = newDatabaseConnection(); setUser(m_Username); setPassword(m_Password); // m_DataBaseConnection.setUsername(m_Username); // m_DataBaseConnection.setPassword(m_Password); } catch (Exception ex) { printException(ex); } }
/** Sets the database url using the DatabaseUtils file. */ public void setDestination() { try { checkEnv(); m_DataBaseConnection = newDatabaseConnection(); setUser(m_Username); setPassword(m_Password); // m_DataBaseConnection.setUsername(m_Username); // m_DataBaseConnection.setPassword(m_Password); } catch (Exception ex) { printException(ex); } }
/** * Sets the database url. * * @param url the database url */ public void setDestination(String url) { try { checkEnv(); m_DataBaseConnection = newDatabaseConnection(); // m_DataBaseConnection.setDatabaseURL(url); setUrl(url); setUser(m_Username); setPassword(m_Password); // m_DataBaseConnection.setUsername(m_Username); // m_DataBaseConnection.setPassword(m_Password); } catch (Exception ex) { printException(ex); } }
/** * Sets the database url. * * @param url the database url */ public void setDestination(String url) { try { checkEnv(); m_DataBaseConnection = newDatabaseConnection(); // m_DataBaseConnection.setDatabaseURL(url); setUrl(url); setUser(m_Username); setPassword(m_Password); // m_DataBaseConnection.setUsername(m_Username); // m_DataBaseConnection.setPassword(m_Password); } catch (Exception ex) { printException(ex); } }
/** * Sets the database url. * * @param url the database url * @param userName the user name * @param password the password */ public void setDestination(String url, String userName, String password) { try { checkEnv(); m_DataBaseConnection = newDatabaseConnection(); setUrl(url); setUser(userName); setPassword(password); // m_DataBaseConnection.setDatabaseURL(url); // m_DataBaseConnection.setUsername(userName); // m_DataBaseConnection.setPassword(password); } catch (Exception ex) { printException(ex); } }
/** * Sets the database url. * * @param url the database url * @param userName the user name * @param password the password */ public void setDestination(String url, String userName, String password) { try { checkEnv(); m_DataBaseConnection = newDatabaseConnection(); setUrl(url); setUser(userName); setPassword(password); // m_DataBaseConnection.setDatabaseURL(url); // m_DataBaseConnection.setUsername(userName); // m_DataBaseConnection.setPassword(password); } catch (Exception ex) { printException(ex); } }