52ky 发表于 2022-10-5 07:47:09

Ibator插件

Ibator插件,Ibator反射机制,自动生成将以下代码存为ibatorConfig.xml文件(依据自己状况修复必要参数):lt;?xmlversion=1.0encoding=UTF-8?gt;lt;!DOCTYPEibatorConfigurationPUBLIC-//ApacheSoftwareFoundation//DTDApacheiBATISIbatorConfiguration1.0//ENibatis.apache.org/dtd/ibator-config_1_0.dtdgt;lt;ibatorConfigurationgt;lt;classPathEntrylocation=D:\Java\lib\sqljdbc.jar/gt;??lt;ibatorContextid=context1gt;??lt;jdbcConnectiondriverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver?connectionURL=jdbc:sqlserver://localH/OST:1433;databaseName=testDB?userId=sapassword=vellsoft/gt;??lt;javaModelGeneratortargetPackage=com.chen.entity?targetProject=Struts2Demo/src/gt;??lt;sqlMapGeneratortargetPackage=com.chen.sqlmaptargetProject=Struts2Demo/src/gt;??lt;daoGeneratortargetPackage=com.chen.daotargetProject=Struts2Demo/src?type=GENERIC-CI/gt;??lt;tableschema=tableName=customergt;lt;/tablegt;??lt;/ibatorContextgt;lt;/ibatorConfigurationgt;本资料共包括以下附件:
features\org.apache.ibatis.ibator_1.2.0.jar
features\org.apache.ibatis.ibator_1.2.1.jar
plugins\org.apache.ibatis.ibator.core_1.2.0.jar
plugins\org.apache.ibatis.ibator.core_1.2.1.jar
plugins\org.apache.ibatis.ibator.eclipse.core_1.2.0.jar
plugins\org.apache.ibatis.ibator.eclipse.core_1.2.1.jar
plugins\org.apache.ibatis.ibator.eclipse.doc_1.2.0.jar
plugins\org.apache.ibatis.ibator.eclipse.doc_1.2.1.jar
plugins\org.apache.ibatis.ibator.eclipse.ui_1.2.0.jar
plugins\org.apache.ibatis.ibator.eclipse.ui_1.2.1.jar
site.xml
.....

(The Ibator plug-in, the Ibator reflection mechanism, automatically generates and saves the following code as an ibatorConfig.xml file (repairs the necessary parameters according to your own conditions): lt;? xmlversion=1.0encoding=UTF-8? gt; lt;! DOCTYPEibatorConfigurationPUBLIC-//ApacheSoftwareFoundation//DTDApacheiBATISIbatorConfiguration1.0//ENibatis.apache.org/dtd/ibator-config_ 1_ 0.dtdgt; lt; ibatorConfigurationgt; lt; classPathEntrylocation=D:\Java\lib\sqljdbc.jar/gt;?? lt; ibatorContextid=context1gt;?? lt; jdbcConnectiondriverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver? connectionURL=jdbc: sqlserver://localH/OST:1433 ; databaseName=testDB? userId=sapassword=vellsoft/gt;?? lt; javaModelGeneratortargetPackage=com.chen.entity? targetProject=Struts2Demo/src/gt;?? lt; sqlMapGeneratortargetPackage=com.chen.sqlmaptargetProject=Struts2Demo/src/gt;?? lt; daoGeneratortargetPackage=com.chen. daotargetProject=Struts2Demo/src? type=GENERIC-CI/gt;?? lt; tableschema=tableName=customergt; lt;/ tablegt;?? lt;/ ibatorContextgt; lt;/ ibatorConfigurationgt; This document includes the following annexes:
features\org.apache.ibatis.ibator_ 1.2.0.jar
features\org.apache.ibatis.ibator_ 1.2.1.jar
plugins\org.apache.ibatis.ibator.core_ 1.2.0.jar
plugins\org.apache.ibatis.ibator.core_ 1.2.1.jar
plugins\org.apache.ibatis.ibator.eclipse.core_ 1.2.0.jar
plugins\org.apache.ibatis.ibator.eclipse.core_ 1.2.1.jar
plugins\org.apache.ibatis.ibator.eclipse.doc_ 1.2.0.jar
plugins\org.apache.ibatis.ibator.eclipse.doc_ 1.2.1.jar
plugins\org.apache.ibatis.ibator.eclipse.ui_ 1.2.0.jar
plugins\org.apache.ibatis.ibator.eclipse.ui_ 1.2.1.jar
site.xml
.....)




页: [1]
查看完整版本: Ibator插件