Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.oracle |
This package contains classes necessary to support the Oracle database system.
|
org.apache.empire.db.sqlite | |
org.apache.empire.db.sqlserver |
This package contains classes necessary to support the Microsoft SQL-Server database system.
|
Modifier and Type | Field and Description |
---|---|
protected List<DBRelation> |
DBDatabase.relations |
Modifier and Type | Method and Description |
---|---|
DBRelation |
DBDatabase.addRelation(DBRelation.DBReference reference)
Adds a foreign key relation to the database.
|
DBRelation |
DBDatabase.addRelation(DBRelation.DBReference ref1,
DBRelation.DBReference ref2)
Add a foreign key relation to the database.
|
DBRelation |
DBDatabase.addRelation(String name,
DBRelation.DBReference... references)
Adds a foreign key relation to the database.
|
DBRelation |
DBDatabase.getRelation(String relationName)
Returns the relation of a given name
|
Modifier and Type | Method and Description |
---|---|
List<DBRelation> |
DBTable.getForeignKeyRelations()
Returns a list of all foreign key relations for this table
|
List<DBRelation> |
DBDatabase.getRelations()
Returns the relations which have been defined in the database.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DBDDLGenerator.addCreateRelationStmt(DBRelation rel,
StringBuilder sql,
DBSQLScript script) |
void |
DBDatabaseDriver.addEnableRelationStmt(DBRelation r,
boolean enable,
DBSQLScript script)
Appends a statement to enable or disable a foreign key relation.
|
protected void |
DBDDLGenerator.createRelation(DBRelation r,
DBSQLScript script)
Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script
|
void |
DBDatabase.removeRelation(DBRelation relation)
removes a relation from the list of relations
|
Modifier and Type | Method and Description |
---|---|
void |
DBDatabaseDriverOracle.addEnableRelationStmt(DBRelation r,
boolean enable,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLiteDDLGenerator.createRelation(DBRelation r,
DBSQLScript script) |
Modifier and Type | Method and Description |
---|---|
void |
DBDatabaseDriverMSSQL.addEnableRelationStmt(DBRelation r,
boolean enable,
DBSQLScript script) |
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.