1 21 22 package org.apache.derby.iapi.db; 23 24 import org.apache.derby.iapi.services.context.ContextManager; 25 import org.apache.derby.iapi.error.StandardException; 26 import org.apache.derby.iapi.sql.ResultSet; 27 import org.apache.derby.iapi.sql.conn.LanguageConnectionContext; 28 import org.apache.derby.iapi.jdbc.AuthenticationService; 29 import org.apache.derby.iapi.services.i18n.LocaleFinder; 30 import java.io.InputStream ; 31 import java.io.OutputStream ; 32 import java.sql.Date ; 33 import java.util.Hashtable ; 34 import java.util.Locale ; 35 36 52 53 public interface Database extends org.apache.derby.database.Database, LocaleFinder 54 { 55 60 79 public LanguageConnectionContext setupConnection(ContextManager cm, String user, String drdaID, String dbname) throws StandardException; 80 81 86 public void pushDbContext(ContextManager cm); 87 88 91 public boolean isActive(); 92 93 95 public int getEngineType(); 96 97 106 public AuthenticationService getAuthenticationService(); 107 108 118 public Object getResourceAdapter(); 119 120 121 public void setLocale(Locale locale); 122 } 123 | Popular Tags |