EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

org.eclipse.persistence.config
Class BatchWriting

java.lang.Object
  extended by org.eclipse.persistence.config.BatchWriting

public class BatchWriting
extends java.lang.Object

Specify the use of batch writing to optimize transactions with multiple writes, by default batch writing is not used.

JPA persistence property Usage:

properties.add(PersistenceUnitProperties.BATCH_WRITING, BatchWriting.JDBC);

Property values are case-insensitive


Field Summary
static java.lang.String Buffered
           
static java.lang.String DEFAULT
           
static java.lang.String JDBC
           
static java.lang.String None
           
static java.lang.String OracleJDBC
           
 
Constructor Summary
BatchWriting()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

None

public static final java.lang.String None
See Also:
Constant Field Values

JDBC

public static final java.lang.String JDBC
See Also:
Constant Field Values

Buffered

public static final java.lang.String Buffered
See Also:
Constant Field Values

OracleJDBC

public static final java.lang.String OracleJDBC
See Also:
Constant Field Values

DEFAULT

public static final java.lang.String DEFAULT
See Also:
Constant Field Values
Constructor Detail

BatchWriting

public BatchWriting()

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference