앱)mybatis config.xml
<?xml version="1.0" encoding="UTF-8">
<cofiguration>
<settings>
<setting name="cacheEnabled" value="false" />
<setting name="useGeneratedKeys" value="true" />
<setting name="defaultExecutorType" value="REUSE" />
<setting name="defaultStatementTimeout" value="3480" /><!-- sql timeout(58 minutes) -->
</settings>
<typeAliases>
<typeAlias alias="xxxVO" type="com.example.xxxVO />
<typeAlias alias="xxxVO" type="com.example.xxxVO />
<typeAlias alias="xxxVO" type="com.example.xxxVO />
<typeAlias alias="xxxVO" type="com.example.xxxVO />
</typeAliases>
</configuration>
<cofiguration>
<settings>
<setting name="cacheEnabled" value="false" />
<setting name="useGeneratedKeys" value="true" />
<setting name="defaultExecutorType" value="REUSE" />
<setting name="defaultStatementTimeout" value="3480" /><!-- sql timeout(58 minutes) -->
</settings>
<typeAliases>
<typeAlias alias="xxxVO" type="com.example.xxxVO />
<typeAlias alias="xxxVO" type="com.example.xxxVO />
<typeAlias alias="xxxVO" type="com.example.xxxVO />
<typeAlias alias="xxxVO" type="com.example.xxxVO />
</typeAliases>
</configuration>
'백엔드개발 > 자바스프링' 카테고리의 다른 글
앱)select box 선택시에 팝업이 뜨는 로직정리 (0) | 2018.11.14 |
---|---|
앱)mysql sequence 쿼리 샘플 (0) | 2018.11.14 |
앱)spring transaction properties mybatis Config설정 예시 샘플 (0) | 2018.11.08 |
앱)자바 enum 예제 (0) | 2018.07.09 |
앱)자바 멀티스레드 샘플 코드 (0) | 2018.07.09 |