|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DBRelation.DBReference | |
---|---|
org.apache.empire.db | This package contains the core Empire-DB implementation classes. |
Uses of DBRelation.DBReference in org.apache.empire.db |
---|
Methods in org.apache.empire.db that return DBRelation.DBReference | |
---|---|
DBRelation.DBReference[] |
DBRelation.getReferences()
Returns the references. |
DBRelation.DBReference |
DBTableColumn.referenceOn(DBTableColumn target)
Creates a foreign key relation for this column. |
Methods in org.apache.empire.db with parameters of type DBRelation.DBReference | |
---|---|
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. |
protected void |
DBRowSet.deleteReferenceRecords(DBRelation.DBReference[] refs,
Object[] parentKey,
Connection conn)
Deletes all records which are referenced by a particular relation. |
Constructors in org.apache.empire.db with parameters of type DBRelation.DBReference | |
---|---|
DBRelation(DBDatabase db,
String name,
DBRelation.DBReference[] references)
Creates a DBRelation object for a foreing key relation. |
|
DBRelation(DBDatabase db,
String name,
DBRelation.DBReference[] references,
DBRelation.DBCascadeAction onDeleteAction)
Creates a DBRelation object for a foreing key relation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |