Join David Gassner for an in-depth discussion in this video Getting the DatabaseMetaData object, part of Java: Database Integration with JDBC.
In most database application environments, you already know the database structure, the…names of the tables, the number, and types of the columns, and so on,…but there are times when you have to discover this information dynamically, and JDBC gives…you that ability through a function called metadata.…The term metadata in the context of databases describes exactly the sort of information,…and you can get the metadata from a database connection quite easily.…I'll do an initial demonstration of this functionality in a project named Table List.…
I'm using a Singleton Connection Manager which I have described how to build in a previous exercise.…I have gotten a reference to my connection, and then within the try catch block, I'm going…to add some data to get a list of tables that's in my database.…Within the try block, I'll first declare an object instantiated as DatabaseMetaData.…As with many other objects in JDBC, you might see more than one version.…Always be sure to choose the version from java.sql for maximum portability.…
Author David Gassner explains how to choose a JDBC driver and connect to one or more databases. He also provides detailed instructions on reading, selecting, and updating data; calling stored procedures; managing data via JavaBean classes or with prepared statements; and working with metadata.
- Importing a MySQL database
- Connecting to databases
- Handling JDBC exceptions
- Looping through result sets
- Limiting the number of fetched rows
- Filtering data with prepared statements
- Calling stored procedures
- Inserting, updating, and deleting rows with prepared statements
- Using a persistent database connection
- Committing and rolling back transactions
Skill Level Intermediate
3ds Max 2015 Essential Trainingwith Aaron F. Ross10h 43m Beginner
3ds Max 2013 Essential Trainingwith Aaron F. Ross7h 9m Beginner
1. Installing Software
2. Getting Started with JDBC
3. Managing Database Resources
Handling JDBC exceptions7m 7s
4. Reading Data
5. Managing Data
6. Using Metadata
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.