개발 등/MYSQL

IBatis + MYSQL UTF-8 방식 설정하기

darkhorizon 2011. 9. 27. 18:40
728x90
반응형

<transactionManager type="JDBC" commitRequired="false">
<dataSource type="SIMPLE">
<property name="JDBC.Driver" value="com.mysql.jdbc.Driver"/>
<property name="JDBC.ConnectionURL" value="jdbc:mysql://xxx.xxx.xxx.xxx:3306/aaa?useUnicode=true&amp;characterEncoding=UTF8&amp;"/>
<property name="JDBC.Username" value="root"/>
<property name="JDBC.Password" value="xxxxxx"/>
</dataSource>
</transactionManager> 

위와 같이 강조한 부분을 추가하면 됨
728x90