JAVA training.
JAVA training.
The aim of the workshop is to create an object-oriented data access layer. As part of the workshop, I created the UserDao class, thanks to which I will be able to perform operations on the database. I will store the data in a database called workshop2 in a table called users.
It will contain the following columns:
+------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | email | varchar(255) | NO | UNI | NULL | | | username | varchar(255) | NO | | NULL | | | password | varchar(60) | NO | | NULL | | +------------------+--------------+------+-----+---------+----------------+
This project used:
classes, objects, loading data using SQL, deleting data using SQL, changing data using SQL.