/** * Sets the database URL * * @param url string with the database URL */ @Override public void setUrl(String url) { checkEnv(); m_URL = url; String dbU = m_URL; try { dbU = m_env.substitute(dbU); } catch (Exception ex) { } m_DataBaseConnection.setDatabaseURL(dbU); }
/** * Sets the database user * * @param user the database user name */ @Override public void setUser(String user) { checkEnv(); m_User = user; String userCopy = user; try { userCopy = m_env.substitute(userCopy); } catch (Exception ex) { } m_DataBaseConnection.setUsername(userCopy); }
/** * Sets the database user * * @param user the database user name */ @Override public void setUser(String user) { checkEnv(); m_User = user; String userCopy = user; try { userCopy = m_env.substitute(userCopy); } catch (Exception ex) { } m_DataBaseConnection.setUsername(userCopy); }
/** * Sets user password for the database * * @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 string with the database URL */ @Override public void setUrl(String url) { checkEnv(); m_URL = url; String dbU = m_URL; try { dbU = m_env.substitute(dbU); } catch (Exception ex) { } m_DataBaseConnection.setDatabaseURL(dbU); }
/** * Sets user password for the database * * @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); }
DatabaseConnection result; checkEnv();
DatabaseConnection result; checkEnv();
checkEnv(); try { InstanceQuery iq = new InstanceQuery();
checkEnv(); try { InstanceQuery iq = new InstanceQuery();