Get an introduction to transactions in JDBC.
- [Instructor] Transactions are a big part…of the reason why people use RDBMS systems.…And we're not going to dig too deep into transaction…management, but I do want to help you understand…what a transaction is and when we would use it…and then sort of how we're going to play with 'em.…Now, first of all, what is a transaction?…Now, at its simplest form, a transaction is a unit of work.…So think about a bank transfer.…You have to withdraw from one account…and deposit it into another.…And all of that has to happen in one exact…execution of time.…
If you do the withdrawal without the deposit,…the customer's out money.…If you do the deposit without the withdrawal,…you're out money.…Either way that's not good.…So that simple unit of work is a transaction.…Now the rule is is that all work…in that transaction is either completed 100%…or it fails 100%.…There is no in-between.…Now, transaction themselves are very, very…powerful concepts yet must be managed…but you as the developer have to manage…those transaction boundaries.…
AuthorFrank P Moley III
- Deciphering JDBC terminology
- Using containerized PostgreSQL
- Creating, reading, updating, and deleting data
- The Repository pattern
- Using stored procedures
- Ordering and limiting results
- Transactions in JDBC
- Handling exceptions
Skill Level Intermediate
Database Foundations: Core Conceptswith Adam Wilbert2h 14m Beginner
Programming Foundations: Databaseswith Simon Allardice3h 11m Appropriate for all
Java Essential Training: Objects and APIswith David Gassner2h 46m Intermediate
What you need to know5m 10s
1. Introducing Java Data Access
2. Data Access Basics
3. Advanced Data Access
Next steps3m 26s
- 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.