User Tools

Site Tools


jdbc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jdbc [2012/03/08 03:27] – created xrchenjdbc [2012/03/18 04:55] (current) xrchen
Line 7: Line 7:
  Statement createStatement();  Statement createStatement();
  void close();  void close();
- void commit(); + // void commit(); 
- void setAutoCommit(boolean autoCommit);+ // void setAutoCommit(boolean autoCommit);
  
 class java.sql.Statement: class java.sql.Statement:
Line 24: Line 24:
  int  getColumnType(int columnIndex);  int  getColumnType(int columnIndex);
  
 +''java.sql.DriverManager.getConnection(String jdbcURL)'' will be used to create connections.
 +The general form of the connection url is:
 +    jdbc:fatworm://absolute/path/to/your/db/[;property=value[;property=value]]
 +
 +
 +Your driver class should be ''fatworm.driver.Driver'', since the client will call
 +
 + Class.forName("fatworm.driver.Driver")
 +
 +to initialize your driver.
  
jdbc.1331177265.txt.gz · Last modified: 2012/03/08 03:27 by xrchen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki