com.fastchar.database.sql.FastMySql 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.*;
public class FastMySql extends FastSql {
public static boolean isOverride(String type) {
if (FastStringUtils.isNotEmpty(type)) {
return type.equalsIgnoreCase("mysql");
}
return false;
}
public FastMySql() {
this.type = "mysql";
}
@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