All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.orm.query.LockMode Maven / Gradle / Ivy

There is a newer version: 6.3.0
Show newest version
package com.jpattern.orm.query;

/**
 * 
 * @author Francesco Cina'
 *
 * 29/ago/2011
 */
public enum LockMode {
	
	NO_LOCK(""),
	FOR_UPDATE("FOR UPDATE "), 
	FOR_UPDATE_NOWAIT("FOR UPDATE NOWAIT ");

	private final String lockMode;

	 private LockMode(String lockMode) {
		 this.lockMode = lockMode;
	 }

	 public String getMode() {
	   return lockMode;
	 }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy