jdbc
This is an old revision of the document!
JDBC Specification
Your JDBC driver should at least implement the methods listed here:
class java.sql.Connection:
Statement createStatement(); void close(); void commit(); void setAutoCommit(boolean autoCommit);
class java.sql.Statement:
boolean execute(String sql); ResultSet getResultSet();
class java.sql.ResultSet:
ResultSetMetaData getMetaData(); void beforeFirst(); Object getObject(int columnIndex); boolean next();
class java.sql.ResultSetMetaData:
int getColumnCount(); int getColumnType(int columnIndex);
java.sql.DriverManager.connect(String jdbcURL)
will be used to create connections.
The general form of the connection url is:
jdbc:fatworm://path/to/your/db/[;property=value[;property=value]]
jdbc.1331177754.txt.gz · Last modified: 2012/03/08 03:35 by xrchen