JDBC Tutorial #8 : Updating a user from Table

This video explains how to update a row in the database. I have implemented a JFrame for making things easy to understand. Once a user record is edited, UPDATE sql command is used to reflect that change in the database. After making changes, the table view will be refreshed with the help of doClick() function of JButton. This tutorial series covers following topics ■ Connecting Java Program to MySQL Database ■ Inserting data into database ■ Fetching data from database ■ Updating an entry in database ■ Creating a table programmatically ■ Using PreparedStatements ■ Display database contents in JTable
Back to Top