The basic structure of a project based DB (database responsible for connecting work), DAO interfaces and implementation class (class inheritance DB), bean package type objects, Druid used in DB and DAO
DB:
DB class is responsible for obtaining the data source, the basic steps are as follows
1. Prepare the configuration file db.properties
url=jdbc:oracle:thin:@192.168.31.50:1521:orcl
username=hanxd
password=123