Uses of Class
org.apache.empire.db.DBRelation

Packages that use DBRelation
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. 
 

Uses of DBRelation in org.apache.empire.db
 

Fields in org.apache.empire.db with type parameters of type DBRelation
protected  List<DBRelation> DBDatabase.relations
           
 

Methods in org.apache.empire.db that return DBRelation
 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
 

Methods in org.apache.empire.db that return types with arguments of type DBRelation
 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.
 

Methods in org.apache.empire.db with parameters of type DBRelation
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.
The default is to drop or create the relation Override this method to provide different behavior for your database.
protected  void DBDDLGenerator.createRelation(DBRelation r, DBSQLScript script)
          Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script
 

Uses of DBRelation in org.apache.empire.db.oracle
 

Methods in org.apache.empire.db.oracle with parameters of type DBRelation
 void DBDatabaseDriverOracle.addEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script)
           
 

Uses of DBRelation in org.apache.empire.db.sqlite
 

Methods in org.apache.empire.db.sqlite with parameters of type DBRelation
protected  void SQLiteDDLGenerator.createRelation(DBRelation r, DBSQLScript script)
           
 

Uses of DBRelation in org.apache.empire.db.sqlserver
 

Methods in org.apache.empire.db.sqlserver with parameters of type DBRelation
 void DBDatabaseDriverMSSQL.addEnableRelationStmt(DBRelation r, boolean enable, DBSQLScript script)
           
 



Copyright © 2008–2014 Apache Software Foundation. All rights reserved.