Additional Java SE Packages

CachedRowSet

CachedRowSet is a disconnected RowSet implementation. It retrieves data from the database, stores the data in memory, and can then be used after the database connection has been closed. Key Features Does not require a continuous database connection. Stores rows in memory. Can be serialized and transferred between applications. Supports scrolling and updating. Can reconnect […]

CachedRowSet Read More »

RowSet Implementations

JDBC provides several standard implementations of the RowSet interface. They are mainly divided based on whether they maintain an active database connection or work in a disconnected manner. RowSet Types RowSet Implementation Type Main Purpose JdbcRowSet Connected Works like an enhanced ResultSet while maintaining an active database connection. CachedRowSet Disconnected Stores database rows in memory

RowSet Implementations Read More »

AnnotationFormatError

AnnotationFormatError is a runtime error that occurs when an annotation is improperly defined or used, and the Java Virtual Machine (JVM) detects that the annotation does not conform to the expected annotation type format.It is part of the java.lang.annotation package and extends Error, meaning it represents serious issues that applications are not expected to catch

AnnotationFormatError Read More »

Extracting Database Metadata using DatabaseMetaData

DatabaseMetaData is a JDBC interface used to obtain information about the database, JDBC driver, tables, columns, and supported database features. It is obtained from a Connection object using the getMetaData() method. Using DatabaseMetaData, a Java program can dynamically inspect database information without directly querying system tables. This is useful for database administration, debugging, database migration

Extracting Database Metadata using DatabaseMetaData Read More »

Scroll to Top