1 <?xml version="1.0" encoding="UTF-8" ?>
3 Copyright (c) 2013 hangum.
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the GNU Lesser Public License v2.1
6 which accompanies this distribution, and is available at
7 http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10 hangum - initial API and implementation
12 <!DOCTYPE sqlMapConfig
13 PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
14 "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
17 <!-- set setting options -->
18 <properties resource="com/hangum/tadpole/engine/config/commons/setting.propertis"/>
20 <transactionManager type="JDBC">
21 <dataSource type="DBCP">
22 <property name="JDBC.Driver" value="org.apache.tajo.jdbc.TajoDriver" />
23 <property name="JDBC.ConnectionURL" value="${JDBC.ConnectionURL}" />
24 <property name="JDBC.Username" value="${JDBC.Username}" />
25 <property name="JDBC.Password" value="${JDBC.Password}" />
27 <!--OPTIONAL PROPERTIES BELOW -->
28 <property name="Pool.MaximumActiveConnections" value="50" />
29 <property name="Pool.MaximumIdleConnections" value="5" />
30 <property name="Pool.MaximumWait" value="1000" />
32 Use of the validation query can be problematic. If you have
33 difficulty, try without it.
35 <property name="Pool.ValidationQuery" value="show tables" />
36 <property name="Pool.LogAbandoned" value="true" />
37 <property name="Pool.RemoveAbandoned" value="true" />
38 <property name="Pool.RemoveAbandonedTimeout" value="50000" />
43 <sqlMap resource="com/hangum/tadpole/engine/query/TAJOSQL.xml" />