KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > serversystem > _Connection


1 package com.daffodilwoods.daffodildb.server.serversystem;
2
3 import com.daffodilwoods.daffodildb.server.datadictionarysystem.*;
4 import com.daffodilwoods.database.general.*;
5 import com.daffodilwoods.database.resource.*;
6
7 public interface _Connection {//extends _ServerSession {
8
public static final int EXECUTE = 0;
9    public static final int EXECUTEUPDATE = 1;
10    public static final int AUTOGENERATEDKEYS = 0;
11    public static final int COLUMNINDEXES = 1;
12    public static final int COLUMNNAMES =2;
13    public static final int NOAUTOGENERATEDKEYS =3;
14
15   Object JavaDoc parseQuery(String JavaDoc query) throws DException;
16   _ColumnCharacteristics getColumnCharacteristics(QualifiedIdentifier tblName) throws DException;
17   void rollback() throws DException;
18   void commit() throws DException;
19   void close()throws DException;
20   Object JavaDoc executeUpdate(String JavaDoc querys,int queryTimeOut) throws DException;
21   Object JavaDoc execute(String JavaDoc query,int queryTimeOut,int type) throws DException;
22   Object JavaDoc executeQuery( String JavaDoc query,int queryTimeOut,int type) throws DException;
23   boolean prepare() throws DException;
24   boolean makePersistent() throws DException;
25   void setTransactionIsolation(int level)throws DException;
26   Object JavaDoc[] executeBatch(String JavaDoc query) throws DException;
27   _Connection getSystemConnection()throws DException;
28   void setAutoCommit(boolean autoCommit) throws DException;
29   _PreparedStatement getPreparedStatement( String JavaDoc query,int type) throws DException;
30   public void rollbackSavePoint(String JavaDoc savepoint) throws DException;
31   public void releaseSavePoint(String JavaDoc savepoint) throws DException;
32   public void setSavePoint(String JavaDoc savepoint) throws DException;
33   public String JavaDoc setSavePoint() throws DException;
34   String JavaDoc getCurrentCatalog()throws DException;
35   void setCurrentCatalog(String JavaDoc currentCatalog)throws DException;
36   String JavaDoc getCurrentUser()throws DException;
37   void commitSavePoint() throws DException;
38   Object JavaDoc[] createDeepRecordCopy(QualifiedIdentifier tableName,Object JavaDoc[] keys) throws DException;
39   public boolean isDataModified() throws DException;
40   Object JavaDoc getSessionConstant() throws DException ;
41   int getIsolationLevel() throws DException ;
42   String JavaDoc getDatabaseURL()throws DException;
43   boolean getAutoCommit()throws DException;
44   public _PreparedStatement getPreparedStatement(String JavaDoc query, int type,int autoGeneratedType,Object JavaDoc autoGenetatedValues) throws DException;
45   public Object JavaDoc execute(String JavaDoc query, int queryTimeOut, int type, int queryType,int autoGeneratedType, Object JavaDoc autoGenetatedValues) throws DException;
46   public boolean isClosed() throws DException;
47 }
48
Popular Tags