<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ibatorConfiguration PUBLIC "-//Apache Software Foundation//DTD Apache iBATIS Ibator Configuration 1.0//EN" "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd" >
<ibatorConfiguration>
<classPathEntry
location="C:\Users\Lipsion\.m2\repository\com\oracle\ojdbc14\10.2.0.4.0\ojdbc14-10.2.0.4.0.jar" />
<ibatorContext id="context1">
<jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@192.168.3.48:1521:zoshow" userId="orders"
password="orders" />
<javaModelGenerator targetPackage="com.lipsion.trademanager.biz.dal"
targetProject="trademanager-biz-dal" />
<sqlMapGenerator targetPackage="com.lipsion.trademanager.biz.dal"
targetProject="trademanager-biz-dal" />
<daoGenerator targetPackage="com.lipsion.trademanager.biz.dal" targetProject="trademanager-biz-dal"
type="GENERIC-CI" />
<table schema="orders" tableName="OPERATORS_ROLE"></table>
</ibatorContext>
</ibatorConfiguration>
有关schema在不同的数据库配置也会有所不同:
sql server:dbo
mysql:库名
oracle:用户空间(登陆名)