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 class DxConnection implements _Connection { 8 9 public int clientCount; 10 public _Connection connection; 11 12 public DxConnection( _Connection connection0 ) { 13 connection = connection0; 14 } 15 16 public void commit() throws DException { 17 connection.commit(); 18 } 19 20 public boolean makePersistent() throws DException { 21 return connection.makePersistent(); 22 } 23 24 public void rollback() throws DException { 25 connection.rollback(); 26 } 27 28 public String toString() { 29 return clientCount+""; 30 } 31 public int getClientCount() { 32 return clientCount; 33 } 34 public void setClientCount(int clientCount0){ 35 clientCount = clientCount0; 36 } 37 public _Connection getConnection() { 38 return connection; 39 } 40 public Object parseQuery(String parm1) throws com.daffodilwoods.database.resource.DException { 41 return connection.parseQuery(parm1); 42 } 43 public void setTransactionIsolation(int parm1) throws com.daffodilwoods.database.resource.DException { 44 connection.setTransactionIsolation(parm1); 45 } 46 public Object [] executeBatch(String parm1) throws com.daffodilwoods.database.resource.DException { 47 return connection.executeBatch(parm1); 48 } 49 public _Connection getSystemConnection() throws com.daffodilwoods.database.resource.DException { 50 return connection.getSystemConnection(); 51 } 52 53 public void setAutoCommit(boolean parm1) throws com.daffodilwoods.database.resource.DException { 54 connection.setAutoCommit(parm1); 55 } 56 57 58 59 public Object executeUpdate(String parm1, int parm2) throws com.daffodilwoods.database.resource.DException { 60 return connection.executeUpdate(parm1, parm2); 61 } 62 63 64 65 66 67 public _ColumnCharacteristics getColumnCharacteristics(QualifiedIdentifier parm1) throws com.daffodilwoods.database.resource.DException { 68 return connection.getColumnCharacteristics(parm1); 69 } 70 71 public void close() throws com.daffodilwoods.database.resource.DException { 72 connection.close(); 73 } 74 75 76 public boolean prepare() throws com.daffodilwoods.database.resource.DException { 77 return connection.prepare(); 78 } 79 80 81 public String getDatabaseURL() throws com.daffodilwoods.database.resource.DException { 82 return connection.getDatabaseURL(); 83 } 84 85 86 public String getCurrentUser() throws com.daffodilwoods.database.resource.DException { 87 return connection.getCurrentUser(); 88 } 89 90 91 public String getCurrentCatalog() throws com.daffodilwoods.database.resource.DException { 92 return connection.getCurrentCatalog(); 93 } 94 95 96 public void setCurrentCatalog(String parm1) throws com.daffodilwoods.database.resource.DException { 97 connection.setCurrentCatalog(parm1); 98 } 99 100 101 public int getIsolationLevel() throws com.daffodilwoods.database.resource.DException { 102 return connection.getIsolationLevel(); 103 } 104 105 public Object getSessionConstant() throws com.daffodilwoods.database.resource.DException { 106 return connection.getSessionConstant(); 107 } 108 109 public Object [] createDeepRecordCopy(QualifiedIdentifier parm1, Object [] parm2) throws com.daffodilwoods.database.resource.DException { 110 return connection.createDeepRecordCopy(parm1, parm2); 111 } 112 113 public void commitSavePoint() throws com.daffodilwoods.database.resource.DException { 114 connection.commitSavePoint(); 115 } 116 117 118 public boolean isDataModified() throws com.daffodilwoods.database.resource.DException { 119 return connection.isDataModified(); 120 } 121 122 public void rollbackSavePoint(String parm1) throws com.daffodilwoods.database.resource.DException { 123 connection.rollbackSavePoint(parm1); 124 } 125 public void releaseSavePoint(String parm1) throws com.daffodilwoods.database.resource.DException { 126 connection.releaseSavePoint(parm1); 127 } 128 public void setSavePoint(String parm1) throws com.daffodilwoods.database.resource.DException { 129 connection.setSavePoint(parm1); 130 } 131 public String setSavePoint() throws com.daffodilwoods.database.resource.DException { 132 return connection.setSavePoint(); 133 } 134 public Object execute(String query,int queryTimeOut,int type) throws DException{ 135 return connection.execute(query,queryTimeOut,type); 136 } 137 public Object executeQuery( String query,int queryTimeOut,int type) throws DException{ 138 return connection.executeQuery(query,queryTimeOut,type); 139 } 140 141 public _PreparedStatement getPreparedStatement(String parm1,int type) throws com.daffodilwoods.database.resource.DException { 142 return connection.getPreparedStatement(parm1,type); 143 } 144 145 public boolean getAutoCommit() throws com.daffodilwoods.database.resource.DException { 146 return connection.getAutoCommit(); 147 } 148 149 public _PreparedStatement getPreparedStatement(String query, int type,int autoGeneratedType,Object autoGenetatedValues) throws DException{ 150 return connection.getPreparedStatement(query,type,autoGeneratedType,autoGenetatedValues); 151 } 152 public Object execute(String query, int queryTimeOut, int type, int queryType,int autoGeneratedType, Object autoGenetatedValues) throws DException{ 153 return connection.execute(query,queryTimeOut,type,queryType,autoGeneratedType,autoGenetatedValues); 154 } 155 public boolean isClosed() throws DException { 156 return connection.isClosed(); 157 } 158 } 159 | Popular Tags |