반응형
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> |
반응형
'java' 카테고리의 다른 글
@EnableScheduling, @Profile, @Scheduled 스케쥴링 된 함수 한번만 실행하기. (0) | 2018.12.10 |
---|---|
mybatis sql include property (0) | 2018.11.08 |
java simple get random alphanumeric string 간단 랜덤 함수 (0) | 2018.11.07 |
kisa sha256 java 예제 (0) | 2018.11.05 |
mybatis jdbcTypeForNull NULL (0) | 2018.11.05 |
java, springboot, hikari example (0) | 2018.10.30 |
ThreadLocal Test (0) | 2018.10.30 |
java - google otp (0) | 2018.10.19 |