---
type: archive
area: archive
status: archived
date: 2026-05-03
created: 2026-05-03
updated: 1980-01-01
tags:
  - archive
---
## JDBC:
- All DriverManager class , PreparedStatemant, ResultSetd implements auto closable interface 
- LMD : insert, update, delete
- LDD  : create, alter, drop
- Statement returns us a resultSet results , basic sql statement risk a sql injection
- Prepared Statements based on substitution parameters with index of parameters starts from 1.
- Call sql Function
![[img-20240819-024427-8d3bd59e.png]]
- To Progress a result set just by calling resultset method and getting values from every columns
![[img-20240819-024835-ed4f0dd0-28.png]]

- By default auto-commit is on in jDBC

![[img-20240819-025107-89d4c57c.png]]

- ResultsSet contain metadata that be visualized  