blob: a6e372fd54ca8981839ffeb48f959cd615a96ff6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2012 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
*
* Contributors:
* Oracle - initial API and implementation
*******************************************************************************/
package org.eclipse.jpt.jpa.eclipselink.core.context.persistence;
import org.eclipse.jpt.jpa.core.context.persistence.PersistenceXmlEnumValue;
/**
* BatchWriting
*/
public enum BatchWriting implements PersistenceXmlEnumValue {
none("None"), //$NON-NLS-1$
jdbc("JDBC"), //$NON-NLS-1$
buffered("Buffered"), //$NON-NLS-1$
oracle_jdbc("Oracle-JDBC"); //$NON-NLS-1$
private final String propertyValue;
BatchWriting(String propertyValue) {
this.propertyValue = propertyValue;
}
/**
* The string used as the property value in the persistence.xml
*/
public String getPropertyValue() {
return this.propertyValue;
}
}