Revision 12365

View differences:

trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/driver/foodriver/FooConnection.java
1 1
package com.hardcode.gdbms.driver.foodriver;
2 2

  
3
import java.sql.Array;
4
import java.sql.Blob;
5 3
import java.sql.CallableStatement;
6
import java.sql.Clob;
7 4
import java.sql.Connection;
8 5
import java.sql.DatabaseMetaData;
9
import java.sql.NClob;
10 6
import java.sql.PreparedStatement;
11
import java.sql.SQLClientInfoException;
12 7
import java.sql.SQLException;
13 8
import java.sql.SQLWarning;
14
import java.sql.SQLXML;
15 9
import java.sql.Savepoint;
16 10
import java.sql.Statement;
17
import java.sql.Struct;
18 11
import java.util.Map;
19
import java.util.Properties;
20 12

  
21 13

  
22 14
public class FooConnection implements Connection {
......
43 35

  
44 36
	public void setAutoCommit(boolean arg0) throws SQLException {
45 37
		// TODO Auto-generated method stub
46

  
38
		
47 39
	}
48 40

  
49 41
	public boolean getAutoCommit() throws SQLException {
......
53 45

  
54 46
	public void commit() throws SQLException {
55 47
		// TODO Auto-generated method stub
56

  
48
		
57 49
	}
58 50

  
59 51
	public void rollback() throws SQLException {
60 52
		// TODO Auto-generated method stub
61

  
53
		
62 54
	}
63 55

  
64 56
	public void close() throws SQLException {
65 57
		// TODO Auto-generated method stub
66

  
58
		
67 59
	}
68 60

  
69 61
	public boolean isClosed() throws SQLException {
......
78 70

  
79 71
	public void setReadOnly(boolean arg0) throws SQLException {
80 72
		// TODO Auto-generated method stub
81

  
73
		
82 74
	}
83 75

  
84 76
	public boolean isReadOnly() throws SQLException {
......
88 80

  
89 81
	public void setCatalog(String arg0) throws SQLException {
90 82
		// TODO Auto-generated method stub
91

  
83
		
92 84
	}
93 85

  
94 86
	public String getCatalog() throws SQLException {
......
98 90

  
99 91
	public void setTransactionIsolation(int arg0) throws SQLException {
100 92
		// TODO Auto-generated method stub
101

  
93
		
102 94
	}
103 95

  
104 96
	public int getTransactionIsolation() throws SQLException {
......
113 105

  
114 106
	public void clearWarnings() throws SQLException {
115 107
		// TODO Auto-generated method stub
116

  
108
		
117 109
	}
118 110

  
119 111
	public Statement createStatement(int arg0, int arg1) throws SQLException {
......
138 130

  
139 131
	public void setTypeMap(Map arg0) throws SQLException {
140 132
		// TODO Auto-generated method stub
141

  
133
		
142 134
	}
143 135

  
144 136
	public void setHoldability(int arg0) throws SQLException {
145 137
		// TODO Auto-generated method stub
146

  
138
		
147 139
	}
148 140

  
149 141
	public int getHoldability() throws SQLException {
......
163 155

  
164 156
	public void rollback(Savepoint arg0) throws SQLException {
165 157
		// TODO Auto-generated method stub
166

  
158
		
167 159
	}
168 160

  
169 161
	public void releaseSavepoint(Savepoint arg0) throws SQLException {
170 162
		// TODO Auto-generated method stub
171

  
163
		
172 164
	}
173 165

  
174 166
	public Statement createStatement(int arg0, int arg1, int arg2) throws SQLException {
......
201 193
		return null;
202 194
	}
203 195

  
204
	public Clob createClob() throws SQLException {
205
		// TODO Auto-generated method stub
206
		return null;
207
	}
208

  
209
	public Blob createBlob() throws SQLException {
210
		// TODO Auto-generated method stub
211
		return null;
212
	}
213

  
214
	public NClob createNClob() throws SQLException {
215
		// TODO Auto-generated method stub
216
		return null;
217
	}
218

  
219
	public SQLXML createSQLXML() throws SQLException {
220
		// TODO Auto-generated method stub
221
		return null;
222
	}
223

  
224
	public boolean isValid(int timeout) throws SQLException {
225
		// TODO Auto-generated method stub
226
		return false;
227
	}
228

  
229
	public void setClientInfo(String name, String value) throws SQLClientInfoException {
230
		// TODO Auto-generated method stub
231
	}
232

  
233
	public void setClientInfo(Properties properties) throws SQLClientInfoException {
234
		// TODO Implement it
235
	}
236

  
237
	public String getClientInfo(String name) throws SQLException {
238
		// TODO Auto-generated method stub
239
		return null;
240
	}
241

  
242
	public Properties getClientInfo() throws SQLException {
243
		// TODO Auto-generated method stub
244
		return null;
245
	}
246

  
247
	public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
248
		// TODO Auto-generated method stub
249
		return null;
250
	}
251

  
252
	public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
253
		// TODO Auto-generated method stub
254
		return null;
255
	}
256

  
257
	public Object unwrap(Class arg0) throws SQLException {
258
		// TODO Auto-generated method stub
259
		return null;
260
	}
261

  
262
	public boolean isWrapperFor(Class arg0) throws SQLException {
263
		// TODO Auto-generated method stub
264
		return false;
265
	}
266

  
267 196
}

Also available in: Unified diff