Uses of Class
org.apache.empire.db.DBRelation
Packages that use DBRelation
Package
Description
This package contains the core Empire-DB implementation classes.
This package contains classes necessary to support the Oracle database system.
This package contains classes necessary to support the Microsoft SQL-Server database system.
-
Uses of DBRelation in org.apache.empire.db
Fields in org.apache.empire.db with type parameters of type DBRelationMethods in org.apache.empire.db that return DBRelationModifier and TypeMethodDescriptionDBDatabase.addRelation(String name, DBRelation.DBReference... references) Adds a foreign key relation to the database.final DBRelationDBDatabase.addRelation(DBRelation.DBReference reference) Adds a foreign key relation to the database.final DBRelationDBDatabase.addRelation(DBRelation.DBReference ref1, DBRelation.DBReference ref2) Adds a foreign key relation to the database.DBDatabase.getRelation(String relationName) Returns the relation of a given nameMethods in org.apache.empire.db that return types with arguments of type DBRelationModifier and TypeMethodDescriptionDBDatabase.findRelationsOn(DBTable table) Returns a list of foreign key relations on a given tableDBTable.getForeignKeyRelations()Returns a list of all foreign key relations for this tableDBDatabase.getRelations()Returns the relations which have been defined in the database.Methods in org.apache.empire.db with parameters of type DBRelationModifier and TypeMethodDescriptionprotected voidDBDDLGenerator.addCreateRelationStmt(DBRelation rel, DBSQLBuilder sql, DBSQLScript script) protected voidDBDDLGenerator.createRelation(DBRelation r, DBSQLScript script) Appends the DDL-Script for creating the given foreign-key relation to an SQL-ScriptvoidDBDatabase.removeRelation(DBRelation relation) removes a relation from the list of relations -
Uses of DBRelation in org.apache.empire.dbms
Methods in org.apache.empire.dbms with parameters of type DBRelationModifier and TypeMethodDescriptionvoidDBMSHandler.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script) Appends a statement to enable or disable a foreign key relation.
The default is to drop or create the relation Override this method to provide different behavior for your database.voidDBMSHandlerBase.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script) Appends a statement to enable or disable a foreign key relation.
The default is to drop or create the relation Override this method to provide different behavior for your database. -
Uses of DBRelation in org.apache.empire.dbms.oracle
Methods in org.apache.empire.dbms.oracle with parameters of type DBRelationModifier and TypeMethodDescriptionvoidDBMSHandlerOracle.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script) -
Uses of DBRelation in org.apache.empire.dbms.sqlite
Methods in org.apache.empire.dbms.sqlite with parameters of type DBRelationModifier and TypeMethodDescriptionprotected voidSQLiteDDLGenerator.createRelation(DBRelation r, DBSQLScript script) -
Uses of DBRelation in org.apache.empire.dbms.sqlserver
Methods in org.apache.empire.dbms.sqlserver with parameters of type DBRelationModifier and TypeMethodDescriptionvoidDBMSHandlerMSSQL.appendEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script)