반응형

mybatis jndi 설정 예제입니다.


1
2
3
4
5
6
7
8
9
10
<configuration>
  <environments default="jndi">
    <environment id="jndi">
      <transactionManager type="JDBC" />
      <dataSource type="JNDI">
        <property name="data_source" value="java:comp/env/jdbc/test" />
      </dataSource>
    </environment>
  </environments>
</configuration>


반응형

+ Recent posts