public class DatabaseRegister extends Object
コンストラクタと説明 |
---|
DatabaseRegister(String datasource,
String tableName)
新しいレコード登録用インスタンスを生成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
execute(List<SQLData> oldPKParams,
List<SQLData> params)
非推奨です。
|
void |
execute(SQLRecordDataList oldPKParams,
SQLRecordDataList params)
登録を実行します。
|
void |
execute(SQLRecordData oldPKParams,
SQLRecordData params)
登録を実行します。
|
void |
remove(List<SQLRecordData> records)
レコードの削除を行います。
|
void |
remove(SQLRecordData record) |
public DatabaseRegister(String datasource, String tableName) throws InvalidTableException
datasource
- データベース接続IDtableName
- 対象テーブル名InvalidTableException
- 不正なテーブル名の場合にスローされます@Deprecated public void execute(List<SQLData> oldPKParams, List<SQLData> params) throws SQLException, IOException, DatabaseException
oldPKParams
- params
- SQLException
IOException
DatabaseException
public void execute(SQLRecordData oldPKParams, SQLRecordData params) throws SQLException, IOException, DatabaseException
oldPKParams
- 既存レコードの主キー値の配列params
- 更新データSQLException
IOException
DatabaseException
public void execute(SQLRecordDataList oldPKParams, SQLRecordDataList params) throws SQLException, IOException, DatabaseException
oldPKParams
- 既存レコードの主キー値の配列params
- 更新データSQLException
IOException
DatabaseException
public void remove(List<SQLRecordData> records) throws DatabaseException, SQLException, IOException
records
- DatabaseException
SQLException
IOException
public void remove(SQLRecordData record) throws DatabaseException, SQLException, IOException
Copyright © 2012 NTT DATA INTRAMART CORPORATION