사용자가 api 를 만들수 있는지 여부를 설정 하도록 개선.
[Tadpole.git] / com.hangum.tadpole.commons.sql / src / com / hangum / tadpole / engine / config / TiberoConfig.xml
blob6bdb264f34d414653c94a77fd81d22548ab1da97
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
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
8   
9   Contributors:
10       hangum - initial API and implementation
11 -->
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">
16 <sqlMapConfig>
17         <!--  set setting options -->
18         <properties resource="com/hangum/tadpole/engine/config/commons/setting.propertis"/>
19                 
20         <transactionManager type="JDBC">
21                 <dataSource type="DBCP">
22                         <property name="JDBC.Driver" value="com.tmax.tibero.jdbc.TbDriver" />
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" />
31                         <!--
32                                 Use of the validation query can be problematic. If you have
33                                 difficulty, try without it.
34                         -->
35                         <property name="Pool.ValidationQuery" value="select 'TadpoleHub' from dual" />
36                         
37                         <!-- 
38                                 TadpoleHub define value start
39                          -->
40                         <property name="initialSize" value="1" />
41                         <!--  커넥션 풀에서 커넥션 가져올때 유효성 검사 -->
42                         <property name="testOnBorrow" value="false" />
43                         <!--  커넥션풀에 커넥션 돌려줄때 유효성 검사 -->
44                         <property name="testOnReturn" value="false" />
45                         <!--  idle  상태의 커넥션 유효성 검사 -->
46                         <property name="testWhileIdle" value="true" />
47                         <!--  testWhileIdle가 true일때 idle 상태 유효성 채크 (3분에 한번씩 테스트 쿼리를 날린다.) -->
48                         <property name="timeBetweenEvictionRunsMillis" value="180000" />
49                         <!--  testWhileIdle가 true일때 idle 상태 유효성 채크해서 사용하지 않는 커넥션 제거한다. (10분 동안 연결이 없으면 커넥션을 삭제한다.) -->
50                         <property name="minEvictableIdleTimeMillis" value="600000" />
51                         <!-- 사용하지 않는 커넥션 테스트 여부 -->
52                         <property name="numTestsPerEvictionRun" value="5" />
53                         <!--사용하지 않는 커넥션 삭제여부  -->
54                         <property name="removeAbandonedTimeout" value="300" />
55                         <property name="removeAbandoned" value="false" />
56                         <!--  유효하지 않는 커넥션을 생성한 코드 위치 로그 생성 -->
57                         <property name="logAbandoned" value="false" />
58                         <!--  idel 한 상태에서 최소 커넥션유지 수 -->
59                         <property name="minIdle" value="0" />
61                 </dataSource>
62         </transactionManager>
64         <sqlMap resource="com/hangum/tadpole/engine/query/TiberoSQL.xml" />
65 </sqlMapConfig>