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

org.onetwo.common.db.spi.QueryProvideManager Maven / Gradle / Ivy

The newest version!
package org.onetwo.common.db.spi;

import java.util.Collection;
import java.util.Optional;

import javax.sql.DataSource;

import org.onetwo.common.db.filequery.func.SqlFunctionDialet;
import org.onetwo.dbm.core.spi.DbmInterceptor;
import org.onetwo.dbm.jdbc.spi.DbmJdbcOperations;

public interface QueryProvideManager {

	QueryWrapper createQuery(CreateQueryCmd createQueryCmd);
//	DbmQueryWrapper createQuery(String sqlString);
	FileNamedQueryFactory getFileNamedQueryManager();
	
	DataSource getDataSource();
	
	SqlParamterPostfixFunctionRegistry getSqlParamterPostfixFunctionRegistry();
	
	/***
	 * only for batch operation
	 * @author wayshall
	 * @return
	 */
	DbmJdbcOperations getJdbcOperations();
//	DataBase getDataBase();

	Optional getSqlFunctionDialet();
	
	Collection getRepositoryInterceptors();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy