org.silverpeas.jdbc
Class JdbcSqlQueries
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<JdbcSqlQuery>
org.silverpeas.jdbc.JdbcSqlQueries
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<JdbcSqlQuery>, Collection<JdbcSqlQuery>, List<JdbcSqlQuery>, RandomAccess
public class JdbcSqlQueries
- extends ArrayList<JdbcSqlQuery>
This class handles list of JdbcSqlQuery
instance and provide a method execute to
perform each one.
As there is no sense that the collection handles other query than those of modification,
this collection is oriented to SQL query modifications.
The queries are executed into processes (transactional or not) without
handling the connection to the database.
- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
Method Summary |
long |
execute()
Executes all the queries contained into the list. |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
JdbcSqlQueries
public JdbcSqlQueries()
execute
public long execute()
throws SQLException
- Executes all the queries contained into the list.
- Throws:
SQLException
Copyright © 2016 Silverpeas. All Rights Reserved.