Hibernate Study Notes (1), hibernate Study Notes (
Several minor issues encountered during hibernate learning. Simply record them and take notes.
1. What is DML? I used to be familiar with the interview, but I forgot that although I didn't belong to Hibernate, I recorded it when I suddenly remembered it.
DML (data manipulation language): database operation language. They are SELECT, UPDATE, INSERT, and DELETE. They are mainly statements used to operate data in the database.
DDL (data definition language): database definition language. The main Commands include CREATE, ALTER, and DROP. DDL is mainly used to define or change the TABLE structure, data type, links and constraints between tables, and other initialization work, most of them are used when creating tables.
DCL (Data Control Language): Database Control Language. Is a statement used to set or change database user or role permissions, including (grant, deny, revoke, etc.) statements. By default, only sysadmin, dbcreator, db_owner, db_securityadmin, and other personnel are authorized to execute DCL.
2. Configure the JNDI data source of Hibernate