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

org.fingertip.simpledao.common.DaoConfig Maven / Gradle / Ivy

The newest version!
package org.fingertip.simpledao.common;

import javax.sql.DataSource;

public class DaoConfig {
	/**
	 * 是否忽略影响行数
	 */
	private boolean ignoreUpdateCount;
	
	/**
	 * 数据源
	 */
	private DataSource dataSource;
	
	/**
	 * sql输出
	 */
	private boolean sqlOut;
	
	public DaoConfig() {
		// TODO Auto-generated constructor stub
	}

	public DaoConfig(boolean ignoreUpdateCount, DataSource dataSource, boolean sqlOut) {
		super();
		this.ignoreUpdateCount = ignoreUpdateCount;
		this.dataSource = dataSource;
		this.sqlOut = sqlOut;
	}

	public boolean isIgnoreUpdateCount() {
		return ignoreUpdateCount;
	}

	public void setIgnoreUpdateCount(boolean ignoreUpdateCount) {
		this.ignoreUpdateCount = ignoreUpdateCount;
	}

	public DataSource getDataSource() {
		return dataSource;
	}

	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}

	public boolean isSqlOut() {
		return sqlOut;
	}

	public void setSqlOut(boolean sqlOut) {
		this.sqlOut = sqlOut;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy