This website works better with JavaScript.
Home
Explore
Help
Sign In
joanmoncho
/
Ejercicio9
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2
Commits
1
Branch
467 KiB
Java
100%
Tree:
413bb0f228
master
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '413bb0f228'
${ noResults }
Ejercicio9
/
bin
History
Joan Moncho
ec5ed69a37
commit
2 years ago
..
Conexion.class
commit
2 years ago
Hotel.class
commit
2 years ago
README.md
commit
2 years ago
VentanaHoteles$1.class
commit
2 years ago
VentanaHoteles$2.class
commit
2 years ago
VentanaHoteles.class
commit
2 years ago
README.md
Ejercicio9
Primero creamos la conexion a la base de datos para que podamos modificar o añadir nuevos registros en la base de datos.
Luego usamos la funcion executeUpdate para insertar los datos a la base de datos.
Por ultimo usamos la funcion executeQuery (SELECT * FROM hotel) para que nos muestre la tabla.