Java DatabaseMetaData getMaxCursorNameLength() method with example.

Nishtha Thakur
Published on 09-May-2019 15:41:43
The getMaxCursorNameLength() method of the DatabaseMetaData interface is used to find out the maximum number of characters that the underlying database allows in the name of a cursor.This method returns an integer value, representing the maximum number of characters allowed in a cursor name. If this value is 0 it ... Read More

Java DatabaseMetaData getMaxCatalogNameLength() method with example.

Smita Kapse
Published on 09-May-2019 15:39:27
The getMaxCatalogNameLength() method of the DatabaseMetaData interface is used to find out the maximum number of characters that the underlying database allows in the name of a catalog.This method returns an integer value, representing the maximum number of characters allowed in a catalog name. If this value is 0 it ... Read More

Java DatabaseMetaData getMaxTablesInSelect() method with example.

Anvi Jain
Published on 09-May-2019 15:36:42
The getMaxTablesInSelect() method of the DatabaseMetaData interface is used to find out the maximum number of tables that the underlying database allows in an SQL SELECT statement.This method returns an integer value, representing the maximum number of tables allowed in a SELECT statement. If this value is 0 it indicates ... Read More

Java DatabaseMetaData getUserName() method with example

Vikyath Ram
Published on 09-May-2019 15:35:48
This method retrieves the user name used to establish the current connection −To retrieve the user name as known to 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 driver class corresponding to the ... Read More

Java DatabaseMetaData getMaxStatementLength() method with example.

Nishtha Thakur
Published on 09-May-2019 15:34:18
The getMaxStatementLength() method of the DatabaseMetaData interface is used to find out the maximum number of characters that the underlying database allows in a single SQL statement.This method returns an integer value, representing the maximum number of characters allowed in an SQL statement. If this value is 0 it indicates ... Read More

Java DatabaseMetaData getURL() method with example

Arushi
Published on 09-May-2019 15:33:44
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 DatabaseMetaData getTables() method with example

Arushi
Published on 09-May-2019 15:30:40
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 getIndexInfo() method with example

Vikyath Ram
Published on 09-May-2019 15:26:02
This method retrieves the description of the indices of a table. It accepts 5 parameters −catalog − A string parameter representing the name of the catalog (database in general) in which the table (that contains the indices of which you need the description of) exists, pass "" to get the ... Read More

Java DatabaseMetaData getMaxStatements() method with example.

Smita Kapse
Published on 09-May-2019 15:27:28
The getMaxStatements() method of the DatabaseMetaData interface is used to find out the maximum number of open statements (objects) that the underlying database allows at one time.This method returns an integer value, representing the maximum number of statements that are allowed to be open at a time. If this value ... Read More

Java DatabaseMetaData getMaxRowSize() method with example.

Anvi Jain
Published on 09-May-2019 15:25:21
The getMaxRowSize() method of the DatabaseMetaData interface is used to find out the maximum number of bytes that the underlying database allows in a row.This method returns an integer value, representing the maximum row size. If this value is 0 it indicates that there is no limit or, limit is ... Read More
Advertisements