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

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

public class OracleDepartmentDAO extends AbstractDepartmentDAO implements DepartmentDAO {

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