Revision 10627 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/data/driver/AlphanumericDBDriver.java

View differences:

AlphanumericDBDriver.java
3 3
import java.sql.Connection;
4 4
import java.sql.SQLException;
5 5

  
6
import com.hardcode.gdbms.driver.exceptions.OpenDriverException;
7
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
6 8
import com.iver.cit.gvsig.fmap.drivers.ITableDefinition;
7 9

  
8 10
/**
9
 * 
11
 *
10 12
 */
11 13
public interface AlphanumericDBDriver extends DBDriver{
12 14

  
......
23 25
     * @throws SQLException Si se produce un error ejecutando la instrucci?n
24 26
     *         SQL public void openTable(Connection con, String table,
25 27
     *         HasProperties props) throws SQLException;
28
     * @throws OpenDriverException
26 29
     */
27 30
    public void open(Connection con, String sql)
28
        throws SQLException;
29
    
31
        throws SQLException, OpenDriverException;
32

  
30 33
    /**
31 34
     * Devuelve el "esquema" del origen de datos subyacente al driver.
32 35
     * (azabala).
33
     * Es necesario porque determinados drivers de escritura 
36
     * Es necesario porque determinados drivers de escritura
34 37
     * (los de bbdd que no soportan resultsets updatables) necesitan conocer
35 38
     * el esquema de la tabla subyacente (nombre, p. ej) para poder construir
36
     * al vuelo la consulta SQL final. 
39
     * al vuelo la consulta SQL final.
40
     * @throws ReadDriverException TODO
37 41
     * */
38
    public ITableDefinition getTableDefinition();
42
    public ITableDefinition getTableDefinition() throws ReadDriverException;
39 43
}

Also available in: Unified diff