What packages are used by JDBC?

There are 8 packages: java.sql.Driver, Connection,Statement, PreparedStatement, CallableStatement, ResultSet, ResultSetMetaData, DatabaseMetaData.

Showing Answers 1 - 2 of 2 Answers

Jaime

  • Jul 16th, 2005
 

java.sql.BatchUpdatException Provides information about errors that occurred during batch operations  
 
java.sql.Blob Provides access to and manipulation of Binary Large Object data  
 
java.sql.CallableStatement Provides access to and manipulation of Stored Procedures  
 
java.sql.Clob Provides access to and manipulation of Character Large Object data  
 
java.sql.Connection Constructs and manages the connection to the database Provides metadata information about the database  
 
java.sql.DatabaseMetaData Provides meta data about the database.  
 
java.sql.Driver Provides information about and manages the JDBC driver  
 
java.sql.ParameterMetaData Provides the number, type and properties of parameters to prepared statements.  
 
java.sql.PreparedStatement Manages dynamic SQL statements  
 
java.sql. ResultSet Provides metadata information about the result set  
 
java.sql.ResultSetMetaData Manages result set metadata information  
 
java.sql.Statement Manages static SQL statements  
javax.sql.ConnectionPoolDataSource Supports caching and reusing of physical connections, which improves application performance and scalability  
 
javax.sql.DataSource Provides access to JDBC drivers and manages data sources.  
 
javax.sql.PooledConnection Represents a physical connection to a data source.  
 
javax.sql.RowSet Encapsulates a set of rows that have been retrieved from a tabular data source.  
 
javax.sql.RowSetMetaData Manages row set meta data information.  
 
javax.sql.XAConnection A XAConnection object is a Pooled Connection object that can participate in a distributed transaction.  
 
javax.sql.XADataSource Provides connections that can participate in a distributed transaction.

  Was this answer useful?  Yes

geetha

  • Oct 4th, 2005
 

Packages are

java.sql and javax.sql only..

Those mentioned in the previous lists are the classes & interfaces in those packages.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions