package cn.myapps.runtime.rest.department.dao;

import java.sql.Connection;
import java.sql.SQLException;

public class DB2DepartmentDAO extends AbstractDepartmentDAO implements DepartmentDAO {

	public DB2DepartmentDAO(Connection conn) throws Exception {
		super();
		if (conn != null) {
			try {
				this.schema = conn.getMetaData().getUserName().trim()
						.toUpperCase();
			} catch (SQLException sqle) {
				sqle.printStackTrace();
			}
		}
	}
}
