package com.quantum.adapters;
+import java.util.HashMap;
+import java.util.Map;
-public class MySQLAdapter extends DatabaseAdapter {
- public String getShowTableQuery(String qualifier, boolean isDefault) {
- return "SHOW TABLES"; //$NON-NLS-1$
- }
+
+public class MySQLAdapter extends GenericAdapter {
+
+ /**
+ * @param type
+ */
+ protected MySQLAdapter() {
+ super(AdapterFactory.MYSQL);
+ }
+ public Map getDefaultConnectionParameters() {
+ Map map = new HashMap();
+ map.put("port", "3306");
+ map.put("hostname", "localhost");
+ return map;
+ }
}
\ No newline at end of file