public class ScalarCollectionIO extends Object implements CollectionIO
Modifier and Type | Field and Description |
---|---|
static CollectionIO |
INSTANCE |
Constructor and Description |
---|
ScalarCollectionIO() |
Modifier and Type | Method and Description |
---|---|
void |
executeInserts(PreparedStatement ps,
List<Row> rows,
List<Column> columns,
boolean supportsBatchUpdates,
String sql,
JDBCConnection connection)
Sets the values of a fragment to a SQL prepared statement, and executes
the statement for each value.
|
Serializable |
getCurrentFromResultSet(ResultSet rs,
List<Column> columns,
Model model,
Serializable[] returnId,
int[] returnPos)
Gets one value from the current position of the result set.
|
public static final CollectionIO INSTANCE
public Serializable getCurrentFromResultSet(ResultSet rs, List<Column> columns, Model model, Serializable[] returnId, int[] returnPos) throws SQLException
CollectionIO
getCurrentFromResultSet
in interface CollectionIO
SQLException
public void executeInserts(PreparedStatement ps, List<Row> rows, List<Column> columns, boolean supportsBatchUpdates, String sql, JDBCConnection connection) throws SQLException
CollectionIO
executeInserts
in interface CollectionIO
SQLException
Copyright © 2013 Nuxeo SA. All Rights Reserved.