com.fastchar.database.sql.FastOracle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar Show documentation
Show all versions of fastchar Show documentation
FastChar is Web+ORM Framework in Java.
package com.fastchar.database.sql;
import com.fastchar.core.FastChar;
import com.fastchar.core.FastEntity;
import com.fastchar.database.info.FastColumnInfo;
import com.fastchar.database.info.FastSqlInfo;
import com.fastchar.exception.FastSqlException;
import com.fastchar.utils.FastStringUtils;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeSet;
public class FastOracle extends FastSql {
public static boolean isOverride(String type) {
if (FastStringUtils.isNotEmpty(type)) {
return type.equalsIgnoreCase("oracle");
}
return false;
}
public FastOracle() {
this.type = "oracle";
}
@Override
public FastSqlInfo buildInsertSql(FastEntity> entity, String... checks) {
if (entity == null) {
return null;
}
List columns = new ArrayList<>();
List placeholders = new ArrayList<>();
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy