organize imports
This commit is contained in:
parent
7601d3f14f
commit
9d144f43c8
|
@ -16,10 +16,13 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.math.*;
|
import java.math.BigDecimal;
|
||||||
import java.sql.*;
|
import java.sql.Connection;
|
||||||
|
import java.sql.Driver;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.sql.Timestamp;
|
||||||
|
|
||||||
import javax.sql.*;
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
import org.compiere.dbPort.Convert;
|
import org.compiere.dbPort.Convert;
|
||||||
|
|
||||||
|
|
|
@ -16,18 +16,29 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.Serializable;
|
||||||
import java.sql.*;
|
import java.sql.Connection;
|
||||||
import java.util.*;
|
import java.sql.DatabaseMetaData;
|
||||||
import java.util.logging.*;
|
import java.sql.SQLException;
|
||||||
import javax.naming.*;
|
import java.util.Hashtable;
|
||||||
import javax.sql.*;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import javax.naming.CommunicationException;
|
||||||
|
import javax.naming.Context;
|
||||||
|
import javax.naming.InitialContext;
|
||||||
|
import javax.naming.NamingException;
|
||||||
|
import javax.sql.DataSource;
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
import org.adempiere.as.ASFactory;
|
import org.adempiere.as.ASFactory;
|
||||||
import org.compiere.*;
|
import org.compiere.Adempiere;
|
||||||
import org.compiere.interfaces.*;
|
import org.compiere.interfaces.Server;
|
||||||
import org.compiere.util.*;
|
import org.compiere.interfaces.Status;
|
||||||
|
import org.compiere.util.CLogMgt;
|
||||||
|
import org.compiere.util.CLogger;
|
||||||
|
import org.compiere.util.Env;
|
||||||
|
import org.compiere.util.Ini;
|
||||||
|
import org.compiere.util.ValueNamePair;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adempiere Connection Descriptor
|
* Adempiere Connection Descriptor
|
||||||
|
|
|
@ -16,15 +16,34 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Cursor;
|
||||||
import java.util.*;
|
import java.awt.FlowLayout;
|
||||||
import java.util.logging.*;
|
import java.awt.Frame;
|
||||||
import javax.swing.*;
|
import java.awt.GridBagConstraints;
|
||||||
|
import java.awt.GridBagLayout;
|
||||||
|
import java.awt.Insets;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.util.ResourceBundle;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import javax.swing.Icon;
|
||||||
|
import javax.swing.JLabel;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
|
import javax.swing.JPasswordField;
|
||||||
|
|
||||||
import org.adempiere.plaf.AdempierePLAF;
|
import org.adempiere.plaf.AdempierePLAF;
|
||||||
import org.compiere.swing.*;
|
import org.compiere.swing.CButton;
|
||||||
import org.compiere.util.*;
|
import org.compiere.swing.CCheckBox;
|
||||||
|
import org.compiere.swing.CComboBox;
|
||||||
|
import org.compiere.swing.CDialog;
|
||||||
|
import org.compiere.swing.CLabel;
|
||||||
|
import org.compiere.swing.CPanel;
|
||||||
|
import org.compiere.swing.CTextField;
|
||||||
|
import org.compiere.util.CLogger;
|
||||||
|
import org.compiere.util.Ini;
|
||||||
|
import org.compiere.util.ValueNamePair;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Dialog.
|
* Connection Dialog.
|
||||||
|
|
|
@ -16,12 +16,23 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Color;
|
||||||
import javax.swing.*;
|
import java.awt.Cursor;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.MouseAdapter;
|
||||||
|
import java.awt.event.MouseEvent;
|
||||||
|
|
||||||
|
import javax.swing.ImageIcon;
|
||||||
|
import javax.swing.JComponent;
|
||||||
|
import javax.swing.JFrame;
|
||||||
|
import javax.swing.JLabel;
|
||||||
|
import javax.swing.JTextField;
|
||||||
|
import javax.swing.LookAndFeel;
|
||||||
|
|
||||||
import org.adempiere.plaf.AdempierePLAF;
|
import org.adempiere.plaf.AdempierePLAF;
|
||||||
import org.compiere.swing.*;
|
import org.compiere.swing.CEditor;
|
||||||
import org.compiere.util.DB;
|
import org.compiere.util.DB;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings (German)
|
* Connection Resource Strings (German)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings (French)
|
* Connection Resource Strings (French)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Norwegian Connection Resource Strings
|
* Norwegian Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swedish Connection Resource Strings
|
* Swedish Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings (Thai)
|
* Connection Resource Strings (Thai)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ListResourceBundle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection Resource Strings
|
* Connection Resource Strings
|
||||||
|
|
|
@ -16,10 +16,17 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.sql.*;
|
import java.sql.Connection;
|
||||||
import java.util.logging.*;
|
import java.sql.DatabaseMetaData;
|
||||||
import org.compiere.*;
|
import java.sql.ResultSet;
|
||||||
import org.compiere.util.*;
|
import java.sql.ResultSetMetaData;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import org.compiere.Adempiere;
|
||||||
|
import org.compiere.util.CLogMgt;
|
||||||
|
import org.compiere.util.CLogger;
|
||||||
|
import org.compiere.util.DB;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JDBC Meta Info
|
* JDBC Meta Info
|
||||||
|
|
|
@ -15,14 +15,18 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.Hashtable;
|
||||||
import java.util.logging.*;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import javax.naming.*;
|
import javax.naming.AuthenticationException;
|
||||||
import javax.naming.ldap.*;
|
import javax.naming.Context;
|
||||||
import javax.naming.directory.*;
|
import javax.naming.NamingEnumeration;
|
||||||
|
import javax.naming.NamingException;
|
||||||
|
import javax.naming.directory.Attribute;
|
||||||
|
import javax.naming.directory.Attributes;
|
||||||
|
import javax.naming.ldap.InitialLdapContext;
|
||||||
|
|
||||||
import org.compiere.util.*;
|
import org.compiere.util.CLogger;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,7 +16,12 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import java.sql.*;
|
import java.sql.Connection;
|
||||||
|
import java.sql.Driver;
|
||||||
|
import java.sql.DriverManager;
|
||||||
|
import java.sql.ResultSet;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.sql.Statement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test Connection (speed)
|
* Test Connection (speed)
|
||||||
|
|
|
@ -16,8 +16,11 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.db;
|
package org.compiere.db;
|
||||||
|
|
||||||
import javax.naming.*;
|
import javax.naming.CommunicationException;
|
||||||
import org.compiere.interfaces.*;
|
import javax.naming.InitialContext;
|
||||||
|
import javax.naming.NamingEnumeration;
|
||||||
|
|
||||||
|
import org.compiere.interfaces.Status;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test EJB
|
* Test EJB
|
||||||
|
|
Loading…
Reference in New Issue