您的位置:首页 > 其它

DEDECMS后台登陆验证码错误的解决方案

2011-12-14 16:50 323 查看
用过ibatis的人都知道重复代码超多,现奉上代码生成器一个。

eclipse要更新http://ibatis.apache.org/tools/abator

主要配置如下:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE abatorConfiguration PUBLIC "-//Apache Software Foundation//DTD Abator for iBATIS Configuration 1.0//EN" " http://ibatis.apache.org/dtd/abator-config_1_0.dtd" >
<abatorConfiguration >
<abatorContext >
<jdbcConnection
driverClass="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@192.168.***.***:1521:mgrmoney"
userId="sjtd"
password="sjtd" >
<classPathEntry location="E:/oracle/product/10.2.0/db_1/jdbc/lib/classes12.jar" />
</jdbcConnection>
<javaModelGenerator targetPackage="dto" targetProject="aaa" />
<sqlMapGenerator targetPackage="slqmap" targetProject="aaa" />
<daoGenerator targetPackage="dao" targetProject="aaa" type="SPRING" />
<table schema="sjtd" tableName="dairy" ></table>
</abatorContext>
</abatorConfiguration>

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: