about JDBC

JDBC -
    JDBC terms used for java database connectivity. Java has java.sql package which support  java database connectivity (jdbc). This api provides the facility to manage database through java code.
   
With in the java.sql package, Java API has seven classes.
   
1.Date
2.DriverManager
3.DriverPropertyInfo
4.SQLPermission
5.Time
6.Timestamp
7.Types
   
and have 22 interfaces

1.Array
2.Blob
3.CallableStatement
4.Clob
5.Connection
6.DatabaseMetaData
7.Driver
8.NClob
9.ParameterMetaData
10.PreparedStatement
11.Ref
12.ResultSet
13.ResultSetMetaData
14.RowId
15.Savepoint
16.SQLData
17.SQLInput
18.SQLOutput
19.SQLXML
20.Statement
21.Struct
22.Wrapper

and have 17 exceptions.

1.BatchUpdateException
2.DataTruncation
3.SQLClientInfoException
4.SQLDataException
5.SQLException
6.SQLFeatureNotSupportedException
7.SQLIntegrityConstraintViolationException
8.SQLInvalidAuthorizationSpecException
9.SQLNonTransientConnectionException
10.SQLNonTransientException
11.SQLRecoverableException
12.SQLSyntaxErrorException
13.SQLTimeoutException
14.SQLTransactionRollbackException
15.SQLTransientConnectionException
16.SQLTransientException
17.SQLWarning

Comments

Recent Post

Recent Posts Widget

Popular posts from this blog

Capture image from webcam java code, examples

How to capture finger prints in java

Shallow Copy Deep Copy Java example