dbl.resetStructure(); dbl.setUrl(m_dbaseURLText.getText()); dbl.setUser(m_userNameText.getText());
dbl.resetStructure(); dbl.setUrl(m_dbaseURLText.getText()); dbl.setUser(m_userNameText.getText());
/** * Resets the Loader to the settings in either the default DatabaseUtils.props * or any property file that the user has specified via setCustomPropsFile(). */ public void resetOptions() { resetStructure(); try { if (m_DataBaseConnection != null && m_DataBaseConnection.isConnected()) { m_DataBaseConnection.disconnectFromDatabase(); } m_DataBaseConnection = newDatabaseConnection(); } catch (Exception ex) { printException(ex); } m_URL = m_DataBaseConnection.getDatabaseURL(); if (m_URL == null) { m_URL = "none set!"; } m_User = m_DataBaseConnection.getUsername(); if (m_User == null) { m_User = ""; } m_Password = m_DataBaseConnection.getPassword(); if (m_Password == null) { m_Password = ""; } m_orderBy = new ArrayList<String>(); }
return current; } else { resetStructure(); return null; } else { m_DataBaseConnection.disconnectFromDatabase(); resetStructure(); return null;
return current; } else { resetStructure(); return null; } else { m_DataBaseConnection.disconnectFromDatabase(); resetStructure(); return null;
/** * Resets the Loader to the settings in either the default DatabaseUtils.props * or any property file that the user has specified via setCustomPropsFile(). */ public void resetOptions() { resetStructure(); try { if (m_DataBaseConnection != null && m_DataBaseConnection.isConnected()) { m_DataBaseConnection.disconnectFromDatabase(); } m_DataBaseConnection = newDatabaseConnection(); } catch (Exception ex) { printException(ex); } m_URL = m_DataBaseConnection.getDatabaseURL(); if (m_URL == null) { m_URL = "none set!"; } m_User = m_DataBaseConnection.getUsername(); if (m_User == null) { m_User = ""; } m_Password = m_DataBaseConnection.getPassword(); if (m_Password == null) { m_Password = ""; } m_orderBy = new ArrayList<String>(); }
public void reset() { resetStructure(); try { if (m_DataBaseConnection != null && m_DataBaseConnection.isConnected()) {
public void reset() { resetStructure(); try { if (m_DataBaseConnection != null && m_DataBaseConnection.isConnected()) {