public enum MultiInsertStrategy extends java.lang.Enum<MultiInsertStrategy> implements ValueEnum
SQLDataSource only, the strategy to use to insert multiple records when  addData() is called with a list of records.| Enum Constant and Description | 
|---|
| MULTIPLEVALUESGenerate a single SQL statement that inserts multiple rows, using a database-specific strategy (usually specifying
 multiple   VALUESclauses, but Oracle does not support that  approach so we implement the same behavior
 using subselects). | 
| SIMPLEIterate over the supplied list of records and issue a single-record add for each of them | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getValue() | 
| static MultiInsertStrategy | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static MultiInsertStrategy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MultiInsertStrategy SIMPLE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "simple".
public static final MultiInsertStrategy MULTIPLEVALUES
VALUES clauses, but Oracle does not support that  approach so we implement the same behavior
 using subselects).  Actually, depending on the number of records to insert and the  batch size, this strategy  may generate more than one
 SQL statement
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "multipleValues".
public static MultiInsertStrategy[] values()
for (MultiInsertStrategy c : MultiInsertStrategy.values()) System.out.println(c);
public static MultiInsertStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null