|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.persist.SQLRelationLoader
public class SQLRelationLoader
SQLRelationLoader is a quick hack for creating and removing relation from a many-to-many relation database from ClassMolder. Eventually, it will be merged into SQLEngine. But, it requires chaning of the Persistence interface.
| Constructor Summary | |
|---|---|
SQLRelationLoader(String table,
String[] key,
int[] keyType,
TypeConvertor[] idTo,
TypeConvertor[] idFrom,
String[] otherKey,
int[] otherKeyType,
TypeConvertor[] ridTo,
TypeConvertor[] ridFrom,
PersistenceFactory factory)
|
|
| Method Summary | |
|---|---|
void |
createRelation(Connection conn,
Identity left,
Identity right)
|
void |
deleteRelation(Connection conn,
Identity left)
|
void |
deleteRelation(Connection conn,
Identity left,
Identity right)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLRelationLoader(String table,
String[] key,
int[] keyType,
TypeConvertor[] idTo,
TypeConvertor[] idFrom,
String[] otherKey,
int[] otherKeyType,
TypeConvertor[] ridTo,
TypeConvertor[] ridFrom,
PersistenceFactory factory)
| Method Detail |
|---|
public void createRelation(Connection conn,
Identity left,
Identity right)
throws PersistenceException
PersistenceException
public void deleteRelation(Connection conn,
Identity left)
throws PersistenceException
PersistenceException
public void deleteRelation(Connection conn,
Identity left,
Identity right)
throws PersistenceException
PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||