KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rmijdbc > RJRefInterface


1
2 /**
3  * RmiJdbc client/server JDBC Driver
4  * (C) ExperLog 1999-2000
5  *
6  * @version 1.0
7  * @author Pierre-Yves Gibello (pierreyves.gibello@experlog.com)
8  */

9
10 package org.objectweb.rmijdbc;
11
12 import java.sql.*;
13 import java.rmi.RemoteException JavaDoc;
14
15 /**
16  * A reference to an SQL structured type value in the database.
17  * A Ref can be saved to persistent storage. A Ref is dereferenced by
18  * passing it as a parameter to an SQL statement and executing the statement.
19  */

20 public interface RJRefInterface extends java.rmi.Remote JavaDoc {
21   String JavaDoc getBaseTypeName() throws RemoteException JavaDoc, SQLException;
22
23   // -----------------------JDBC 3.0 ------------------------
24
Object JavaDoc getObject(java.util.Map JavaDoc map) throws RemoteException JavaDoc, SQLException;
25     Object JavaDoc getObject() throws RemoteException JavaDoc, SQLException;
26     void setObject(Object JavaDoc value) throws RemoteException JavaDoc, SQLException;
27 };
28
29
Popular Tags