KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > dods > DriverDependencies


1 package org.enhydra.dods;
2
3 /**
4  * DriverDependancies
5  *
6  * @author Vladimir Puskas
7  */

8 import com.lutris.appserver.server.sql.DBConnection;
9 import com.lutris.dods.builder.generator.query.RDBColumn;
10 import java.sql.ResultSet JavaDoc;
11 import java.sql.SQLException JavaDoc;
12
13 public interface DriverDependencies {
14     /**
15      * Method insertBlob
16      *
17      * @param rs a ResultSet
18      * @param cont a byte[]
19      * @param column a RDBColumn
20      * @param handle a String
21      *
22      * @exception SQLException
23      */

24     public void insertBlob(DBConnection conn,
25                            byte[] cont,
26                            RDBColumn primary,
27                            RDBColumn blobColumn,
28                            String JavaDoc handle) throws SQLException JavaDoc;
29
30     /**
31      * Method readBlob
32      *
33      * @param blob a Blob
34      *
35      * @return a byte[]
36      *
37      * @exception SQLException
38      */

39     public byte[] readBlob(ResultSet JavaDoc rs, String JavaDoc colName) throws SQLException JavaDoc;
40     public boolean isBlobAccessSpecial();
41 }
42
Popular Tags