Professional Documents
Culture Documents
Gamified Virtual Classroom Implementing - JDBC Activity: Team 4
Gamified Virtual Classroom Implementing - JDBC Activity: Team 4
-JDBC aCTIVITY
Team 4
Satish Reddy
Naveendhar
Shantam
Savitra
Sahana
Shynitha
DatabaseMetaData Interface &
Methods
• DatabaseMetaData : These Interface gives as all the
information about database.
This MetaData is used to find Capabilities of Data
Base Management System(DBMS) with respect to JDBC
driver used to connect with the Database.
• What is Database MetaData Interface
If you want to know the background details of your
current working database, your program is connected to
which database or you project is running on which database.
• The data of database that we collect using
DatabaseMetaData interface
we can fetch all the information about the database
(Version,Username, Drivername,URL, Number of tables,,
etc) except password because the password is sensitive
information .so, this interface hides passwords to avoid
Cyber-Attacks.
Example
• Name of database
• Vendor of database
• Version of database
• what are last varsion
• Number of tables
Methods of DatabaseMetaData
interface
Commonly used methods of DatabaseMetaData
interface
• getDriverName()
• getDriverVersion()
• getUserName()
• getURL()
• getNumericFunctions()
• getStringFunctions()
• getSystemFunctions()
• getTimeDateFunctions()
Object And Syntax
How to get the object of DatabaseMetaData: