MySQL:
class="java" name="code">
<transactionManager type="JDBC">
<dataSource type="SIMPLE">
<property value="com.mysql.jdbc.Driver" name="JDBC.Driver"/>
<property value="jdbc:mysql://127.0.0.1:3306/ibatis" name="JDBC.ConnectionURL"/>
<property value="root" name="JDBC.Username"/>
<property value="root" name="JDBC.Password"/>
</dataSource>
</transactionManager>
ORACLE:
<transactionManager type="JDBC">
<dataSource type="SIMPLE">
<property value=oracle.jdbc.driver.OracleDriver" name="JDBC.Driver"/>
<property value="jdbc:oracle:thin:@127.0.0.1:1521:orcl" name="JDBC.ConnectionURL"/>
<property value="scott" name="JDBC.Username"/>
<property value="tiger" name="JDBC.Password"/>
</dataSource>
</transactionManager>