public class SQLRelationLoader extends Object
Constructor and Description |
---|
SQLRelationLoader(String table,
String[] key,
int[] keyType,
TypeConvertor[] idTo,
TypeConvertor[] idFrom,
String[] otherKey,
int[] otherKeyType,
TypeConvertor[] ridTo,
TypeConvertor[] ridFrom,
PersistenceFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
createRelation(Connection conn,
Identity left,
Identity right) |
void |
deleteRelation(Connection conn,
Identity left) |
void |
deleteRelation(Connection conn,
Identity left,
Identity right) |
public SQLRelationLoader(String table, String[] key, int[] keyType, TypeConvertor[] idTo, TypeConvertor[] idFrom, String[] otherKey, int[] otherKeyType, TypeConvertor[] ridTo, TypeConvertor[] ridFrom, PersistenceFactory factory)
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
Copyright © 2018. All rights reserved.