Skip to content

Commit

Permalink
feat manejo del JDBC III INCOMPLETE
Browse files Browse the repository at this point in the history
Manejo del JDBC III INCOPLETE

see also:
resolves:
  • Loading branch information
brian-emarquez committed May 17, 2021
1 parent 7592368 commit 9b1518d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ManejoJDBC_III/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### Manejo de JDBC III

_PATRON DE DISEÑO_

- DAO : Data Access Object
22 changes: 22 additions & 0 deletions ManejoJDBC_III/src/main/java/datos/PersonaDAO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

package datos;

import domain.Persona;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;

public class PersonaDAO {
private static final String SQL_SELECT = "SELECT id_persona, nombre, apellido, email FROM persona";

public List<Persona> Seleccionar(){
Connection conn = null;
PreparedStatement stmt = null;
ResultSet rs = null;
Persona persona = null;
List<Persona> personas = new ArrayList<>();



}
}

0 comments on commit 9b1518d

Please sign in to comment.