provide The Java Access database capability package is ()
A:java.sql b:java.awt C:java.lang d:java.swing
Analytical:
A java.sql Package provides Java access to database capabilities B,JAVA.AWT Package is Java Graphics Interface package C,java.lang is the core of the Java language Good, Lang is language shorthand d,java.swing is a Java-encapsulated and OS-independent graphics interface Bread
notes:JAVA.SQL provides an API to access and process data stored in a data source (typically a relational database) using the JAVATM programming language. This API includes a framework that allows you to dynamically install different drivers to access different data sources.
Java (tm), the TM, refers to trade mark, a trademark, formerly owned by Sun and sold to Oracle now.
The java.sql package contains APIs for the following:
Establishing a connection to the database through the DriverManager utility
DriverManager class: Establishing a connection to a driver
Sqlpermission Class: Code provides permissions when running in Security Manager (such as applets), attempting to set up a record stream through DriverManager
Driver Interface: Provides APIs for registering and connecting drivers based on JDBC technology ("JDBC Driver"), typically used only by the DriverManager class
Driverpropertyinfo class: Provides the properties of the JDBC driver and is not intended for general user use to send SQL statements to the database
Statement: Used to send basic SQL statements
PreparedStatement: Used to send prepared statements or basic SQL statements (derived from Statement)
CallableStatement: Used to invoke a database stored procedure (derived from PreparedStatement)
Connection interface: Provides methods for creating statements and managing connections and their properties
SavePoint: Providing a savepoint in a transaction get and update the results of a query ResultSet interface SQL type standard mappings to classes and interfaces in the Java programming language
Array interface: Mapping relationship for SQL array
Blob interface: Mapping relationships for SQL blobs
Clob Interface: Mapping relationships for SQL Clob
Date class: Mapping relationships for SQL date
NClob Interface: Mapping relationships for SQL NClob
Ref interfaces: Mapping relationships for SQL ref
RowId Interface: Mapping relationships for SQL RowId
struct interfaces: Mapping relationships for SQL structs
SQLXML Interface: Mapping relationships for SQL XML
Time class: Mapping relationships for SQL time
Timestamp class: Mapping relationships for SQL Timestamp
Types class: Provides constants for SQL type Custom mapping SQL user-defined types (UDTs) to classes in the Java programming language
SqlData interface: Specifies the mapping of a UDT to an instance of this class
Sqlinput interface: Provides a way to read UDT properties from a stream
SQLOutput Interface: Provides method metadata used to write UDT properties back to the flow
DatabaseMetaData Interface: Provides information about the database
ResultSetMetaData Interface: Provides information about the columns of the ResultSet object
Parametermetadata Interface: Provides information about the parameters of the PreparedStatement command exception
SQLException: Thrown by most methods when there is a problem accessing the data, and by some other means for other reasons
SQLWarning: Thrown to indicate a warning
DataTruncation: To indicate that the data may have been truncated and thrown
Batchupdateexception: Thrown to indicate that all commands in the bulk update are not executed successfully
Java Written Test Essentials (java.sql package)