org.onetwo.dbm.mapping.JdbcStatementContextBuilder Maven / Gradle / Ivy
The newest version!
package org.onetwo.dbm.mapping;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.onetwo.common.db.sqlext.QueryDSLOps;
import org.onetwo.common.utils.ArrayUtils;
import org.onetwo.common.utils.Assert;
import org.onetwo.common.utils.CUtils;
import org.onetwo.common.utils.LangUtils;
import org.onetwo.dbm.event.spi.DbmEventAction;
import org.onetwo.dbm.mapping.SQLBuilderFactory.SqlBuilderType;
import org.onetwo.dbm.utils.DbmUtils;
import org.springframework.jdbc.core.SqlParameterValue;
public class JdbcStatementContextBuilder implements JdbcStatementContext> {
/*
public static DymanicSQLBuilder create(JFishMappedEntry entry, DSqlType dtype){
SQLBuilder sb = sqlBuilderFactory.createQMark(entry.getTableInfo().getName(), entry.getTableInfo().getAlias(), dtype);
return create(entry, sb);
}*/
public static JdbcStatementContextBuilder create(DbmEventAction eventAction, AbstractDbmMappedEntryImpl entry, EntrySQLBuilder sqlBuilder){
JdbcStatementContextBuilder dsql = new JdbcStatementContextBuilder(eventAction, entry, sqlBuilder);
return dsql;
}
private AbstractDbmMappedEntryImpl entry;
private EntrySQLBuilder sqlBuilder;
private Map columnValues = CUtils.newLinkedHashMap();
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy