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

com.jpattern.orm.crud.AutogeneratedColumnValueGenerator Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package com.jpattern.orm.crud;

import com.jpattern.orm.dialect.Dialect;

/**
 * 
 * @author Francesco Cina'
 *
 * 26/ago/2011
 */
public class AutogeneratedColumnValueGenerator extends AColumnValueGenerator {

	/**
	 * 
	 */
	

	public AutogeneratedColumnValueGenerator(String name) {
		super(name);
	}

	@Override
	public String insertQueryParameter(Dialect dialect, String currentValue) {
		return "";
	}
	
	@Override
	public String insertColumn(Dialect dialect, String currentValue) {
		return "";
	}

	@Override
	public boolean returnGeneratedKeys() {
		return true;
	}

	@Override
	public boolean isAutoGenerated() {
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy