Arushi has Published 157 Articles

Java DatabaseMetaData getColumns() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

3K+ Views

This method retrieves the description of the columns of a table. It accepts 4 parameters −catalog - A string parameter representing the name (or, name pattern) of the catalog (database in general) in which the table (that contains the columns of which you need to retrieve the description about) exists. ... Read More

Java DatabaseMetaData getDefaultTransactionIsolation() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

72 Views

In a database system where more than one transaction is being executed simultaneously and in parallel, the property of isolation states that all the transactions will be carried out and executed as if it is the only transaction in the system. No transaction will affect the existence of any other ... Read More

Java DatabaseMetaData getDriverMinorVersion() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

48 Views

The getDriverMinorVersion() method of the DatabaseMetaData interface returns the minor version of the JDBC driver used.To get the minor version of the JDBC driver used to connect with the database −Make sure your database is up and running.Register the driver using the registerDriver() method of the DriverManager class. Pass an ... Read More

Java DatabaseMetaData getDriverName() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

245 Views

The getDriverName() method of the DatabaseMetaData interface returns the name of the JDBC driver used.To get the name of the JDBC driver used to connect with the database.Make sure your database is up and running.Register the driver using the registerDriver() method of the DriverManager class. Pass an object of the ... Read More

Java DatabaseMetaData getJDBCMinorVersion() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

31 Views

The getJDBCMinorVersion() method of the DatabaseMetaData interface returns the minor version of the JDBC driver in integer format.To get the major version of the JDBC driver −Make sure your database is up and running.Register the driver using the registerDriver() method of the DriverManager class. Pass an object of the driver ... Read More

Java DatabaseMetaData getTables() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

3K+ Views

This method retrieves the description of the tables available in the specified database/catalog. It accepts 4 parameters −catalog   − A string parameter representing the name (or, name pattern) of the catalog (database in general) in which the table (that contains the columns of which you need to retrieve the ... Read More

Java DatabaseMetaData getURL() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

284 Views

This method retrieves the URL of the underlying Database Management System and returns in the form of a String variable.To get the list URL of the underlying DBMS −Make sure your database is up and running.Register the driver using the registerDriver() method of the DriverManager class. Pass an object of ... Read More

Java ResultSet next() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

19K+ Views

When we execute certain SQL queries (SELECT query in general) they return tabular data.The java.sql.ResultSet interface represents such tabular data returned by the SQL statements.i.e. the ResultSet object holds the tabular data returned by the methods that execute the statements which quires the database (executeQuery() method of the Statement interface ... Read More

Java ResultSet moveToInsertRow() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

699 Views

When we execute certain SQL queries (SELECT query in general) they return tabular data.The java.sql.ResultSet interface represents such tabular data returned by the SQL statements.i.e. the ResultSet object holds the tabular data returned by the methods that execute the statements which quires the database (executeQuery() method of the Statement interface ... Read More

Java ResultSet last() method with example

Arushi

Arushi

Updated on 30-Jul-2019 22:30:26

2K+ Views

When we execute certain SQL queries (SELECT query in general) they return tabular data.The java.sql.ResultSet interface represents such tabular data returned by the SQL statements.i.e. the ResultSet object holds the tabular data returned by the methods that execute the statements which quires the database (executeQuery() method of the Statement interface in ... Read More

Advertisements