Explain the locking system in JDBC & its types?
The locks are the preventive software mechanism which the other users cannot use the data resource.
Types of locks are there-
- Row and key locks
- Page Locks
- Table locks
- Database locks
The locks are the preventive software mechanism which the other users cannot use the data resource.