com.jpattern.orm.crud.AutogeneratedColumnValueGenerator Maven / Gradle / Ivy
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