Enterprise Java Development@TOPIC@

Chapter 4. RDBMS Schema

4.1. RDBMS
4.1.1. Background
4.1.2. Tables/Columns
4.1.3. Constraints
4.1.4. Relationships
4.1.5. Indexes
4.2. Data Definition Language (DDL)
4.2.1. Create Table
4.2.2. Drop Table
4.2.3. Create Foreign Key Constraint
4.2.4. Drop Foreign Key Constraint
4.2.5. Create Index
4.2.6. Drop Index
4.3. DDL Files in Maven Module

  • DBMS based on a relational model

  • Introduced by E. F. Codd in 1970s

  • Some challenges by other forms but still remains a standard for corporate data stores

Used to manipulate schema in RDBMS

src/main/resources/
`-- ddl
    |-- book-create.ddl
    |-- book-drop.ddl
    |-- book-tuningadd.ddl
    `-- book-tuningremove.ddl
target/classes/
`-- ddl
    |-- book-create.ddl
    |-- book-drop.ddl
    |-- book-tuningadd.ddl
    `-- book-tuningremove.ddl