1 19 20 package org.netbeans.lib.ddl; 21 22 import java.sql.*; 23 import java.util.Set ; 24 import org.netbeans.lib.ddl.*; 25 26 35 public interface DatabaseSpecificationFactory { 36 37 40 public Set supportedDatabases(); 41 42 47 public boolean isDatabaseSupported(String databaseProductName); 48 49 58 public DatabaseSpecification createSpecification(DBConnection connection, Connection c) 59 throws DatabaseProductNotFoundException, DDLException; 60 61 69 public DatabaseSpecification createSpecification(DBConnection connection, String databaseProductName, Connection c) throws DatabaseProductNotFoundException; 70 71 public DatabaseSpecification createSpecification(Connection c) 72 throws DatabaseProductNotFoundException, SQLException; 73 74 76 public boolean isDebugMode(); 77 78 80 public void setDebugMode(boolean mode); 81 } 82 83 86 | Popular Tags |