项目背景
iBATIS是一个优秀的SQL-MAPPING开源框架。相比ORM框架,iBATIS更灵活、更易用,学习成本也更低,因此深得那些熟悉RDBMS和SQL的开发人员的支持。
一直以来,iBATIS缺乏一个好的代码自动生成工具来生成那些通用的Dao层代码。iBATIS在2006年8月推出Eclipse插件工具iBATOR(原名Abator),能满足一般性自动代码生成的要求。但iBATOR并未充分发挥出iBATIS的技术优点,生成的代码也缺乏灵活性。项目介绍
iBATISer(本项目的名称)能自动生成体系更灵活,功能更强大,适应面更广泛的iBATIS DAO代码。功能介绍
它具有如下功能:
1 分析数据库结构,包括字段,字段类型,主键,外键。目前支持MYSQL和ORACLE
2 根据数据库分析结果,生成XML格式的数据库描述文件,供用户设置代码生成选项
3 根据用户设置选项,生成完整的DAO层代码和SQL-MAPPING文件,包括:
(1)每个表的iBATIS SqlMapping XML和SqlMapConfig.xml
(2)单表实体类,支持many to one关联对象属性和复合主键属性
泛型Dao接口GenericDao和iBATIS基础实现类BaseDao
(3)动态SQL参数类DynamicSqlParameter和相关的查询条件类Criteria,分页支持类PaginationParameter/PaginationResult
(4)单表Dao及DaoImpl代码框架
(5)Spring相关配置文件特性
生成的代码能完成基于单表的增删改查等功能,此外,还有如下特性:
(1)分页支持,现支持MYSQL和ORACLE
(2)任意组合查询条件,可以多层嵌套
(3)任意字段组合的修改
(4)支持many to one外键关联对象的加载,避免1+N
(5)单表只读cache(可配置)近期和未来版本的功能
(1)现版本只支持java console方式运行,未来将提供Eclipse RCP和plug-in图形界面
(2)maven支持
(3)现版本产生的代码依赖于Spring iBATIS DAO支持,拟增加配置选项,可由用户选择Spring DAO支持或者iBATIS原生DAO
(4)智能分辨生成代码和用户代码,避免再次生成代码时覆盖已有的用户代码
(5)支持MYSQL ORACLE之外的其他数据库,比如SQLSERVER/DB2等

解决方案 »

  1.   

    先翻译了“项目背景”第一段:其他的明天继续
    Project Background:
    iBATIS is a excellent SQL-MAPPING OpenSource Framework.It's more flexible,more easy to use,and easy to learn compare with ORM Framework.As a result,iBATIS is wildly support by the developers which familiar with RDBMS and SQL.At the same time,iBATIS need a good code generator to create the general code at DAO layer.iBATIS have publish its Eclipse plug-in iBATOR(Original name:Abator),which can satisfy the generic require for generate code.But the code it generated lack of flexibility,and iBATOR didn't show up all the adventages of iBATIS.
      

  2.   

    Project Background:
    iBATIS is an excellent SQL-MAPPING OpenSource Framework.Compare with ORM Framework,it's more flexible,more easy to use,and easy to learn .As a result,iBATIS is wildly support by the developers whose familiar with RDBMS and SQL.At the same time,iBATIS need a good code generator to create the general code at DAO layer.iBATIS have publish its Eclipse plug-in iBATOR(Original name:Abator),which can satisfy the generic require for generate code.But the code it generated lack of flexibility,and iBATOR didn't show up all the adventages of iBATIS.Project Introduction:
     iBATISer(Name of this project)can automatically generate more flexible,robust,generic DAO codes for iBATIS.Functions:
    1.Analyse the structure of database,field,field name,primary key,foreign key. Now support MYSQL& ORACLE.
    2.Base on the result of analysis,generate databse description file of XML format, users could config the options of gemerate through it.
    3. According to users' configuration create full-size codes on DAO layer and SQL-MAPPING file,includes:
      (1)iBATIS SqlMapping XML and SqlMapConfig.xml of each table.
      (2)Entity class of single table,support many to one associate obeject property and multiple primary key property,genericity Dao interface GenericDao and iBATIS basic implementation class BaseDao.
      (3)Dynamic sql parameters class DynamicSqlParameter and query condition class Criteria,pagination class PaginationParameter/PaginationResult.
      (4)Single table Dao&DaoImpl code Framework.
      (5)Spring configuration files.Features:
    The generated code can implment the add,delete,update and query operation base on form,in addition,with features below:
      (1)Pagination support for MYSQL,ORACLE
      (2)Query condition can be any combination,allow multiple nesting.
      (3)Any field combination updatable.
      (4)Support for many to one foreign key & associate obeject,avoid 1+N.
      (5)Single table read-only cache (configurable)Future Edition:
      (1)This edition only can be execute in java console form,plan to offer Eclipse RCP&plug-in GUI.
      (2)Support maven.
      (3)Codes rely on Spring iBATIS DAO,maybe add option for select the code will base on Spring DAO or original iBATIS DAO.
      (4)Intelligent recognition of generated codes and user codes,avoid override user codes when rebuild.
      (5)Support for databases like SQLSERVER/DB2,etc.有些短语可能翻译的不是很确切,lz可以再修改修改...
      

  3.   


    iBATIS is a excellent SQL-MAPPING OpenSource Framework.It's more flexible,more easy to use,and easy to learn compare with ORM Framework.As a result,iBATIS is wildly support by the developers which familiar with RDBMS and SQL. At the same time,iBATIS need a good code generator to create the general code at DAO layer.iBATIS have publish its Eclipse plug-in iBATOR(Original name:Abator),which can satisfy the generic require for generate code.But the code it generated lack of flexibility,and iBATOR didn't show up all the adventages of iBATIS.翻译:
    iBATIS是一个优秀的SQL-MAPPING 开放源代码框架.它更灵活,更容易使用和易于学会与ORM框架比较.因此,iBATIS 得到了熟知RDBMS and SQL.的开发者的广泛支持.同时,iBATIS需要一个好的代码生成者在DAO 层开发代码.iBATIS已经推出了Eclipse plug-in iBATOR(原名:Abator),这个能个满足开发代码开发的需求.但是这个生成的代码缺乏灵活性,并且iBATOR 不能完全展现iBATIS的所有优势。
      

  4.   

    It has introduced features are as follows: 1 Analysis of the database structure, including fields, field types, primary key, foreign key. At present, and MYSQL support ORACLE 2 According to the results of the analysis of the database to generate XML format of the document describes the database for user code generation option 3, according to user settings option to generate full-DAO code and SQL-MAPPING documents, including: (1) Each table iBATIS SqlMapping XML and SqlMapConfig.xml (2) single-sheet type of entity to support the many to one association object attributes and composite primary key attribute Dao generic GenericDao and iBATIS-based interface to achieve category BaseDao (3) Dynamic SQL parameters category DynamicSqlParameter And related query category Criteria, paging support category PaginationParameter / PaginationResult (4) single-table Dao and DaoImpl framework of the code (5) Spring Related profile
      

  5.   

    Project Background: 
    iBATIS is an excellent SQL-MAPPING OpenSource Framework.Compare with ORM Framework,it's more flexible,more easy to use,and easy to learn .As a result,iBATIS is wildly support by the developers whose familiar with RDBMS and SQL. At the same time,iBATIS need a good code generator to create the general code at DAO layer.iBATIS have publish its Eclipse plug-in iBATOR(Original name:Abator),which can satisfy the generic require for generate code.But the code it generated lack of flexibility,and iBATOR didn't show up all the adventages of iBATIS. Project Introduction: 
    iBATISer(Name of this project)can automatically generate more flexible,robust,generic DAO codes for iBATIS. Functions: 
    1.Analyse the structure of database,field,field name,primary key,foreign key. Now support MYSQL& ORACLE. 
    2.Base on the result of analysis,generate databse description file of XML format, users could config the options of gemerate through it. 
    3. According to users' configuration create full-size codes on DAO layer and SQL-MAPPING file,includes: 
      (1)iBATIS SqlMapping XML and SqlMapConfig.xml of each table. 
      (2)Entity class of single table,support many to one associate obeject property and multiple primary key property,genericity Dao interface GenericDao and iBATIS basic implementation class BaseDao. 
      (3)Dynamic sql parameters class DynamicSqlParameter and query condition class Criteria,pagination class PaginationParameter/PaginationResult. 
      (4)Single table Dao&DaoImpl code Framework. 
      (5)Spring configuration files. Features: 
    The generated code can implment the add,delete,update and query operation base on form,in addition,with features below: 
      (1)Pagination support for MYSQL,ORACLE 
      (2)Query condition can be any combination,allow multiple nesting. 
      (3)Any field combination updatable. 
      (4)Support for many to one foreign key & associate obeject,avoid 1+N. 
      (5)Single table read-only cache (configurable) Future Edition: 
      (1)This edition only can be execute in java console form,plan to offer Eclipse RCP&plug-in GUI. 
      (2)Support maven. 
      (3)Codes rely on Spring iBATIS DAO,maybe add option for select the code will base on Spring DAO or original iBATIS DAO. 
      (4)Intelligent recognition of generated codes and user codes,avoid override user codes when rebuild. 
      (5)Support for databases like SQLSERVER/DB2,etc. 有些短语可能翻译的不是很确切,lz可以再修改修改...
    ---------------------------------------------------
    不看了,也不清楚想說什麼
      

  6.   

    Project background  iBATIS is a good framework for open source SQL-MAPPING. Compared to ORM framework, iBATIS more flexible, easier to use, the study also lower costs, so those well familiar with the RDBMS and SQL developer.  All along, iBATIS lack of a good automatic code generation tools to generate those code-General of the Dao. iBATIS in August 2006 launch of Eclipse plug-in tools iBATOR (formerly known as Abator), to meet the general requirements of automatic code generation. IBATOR but did not give full play to the advantage of the iBATIS technology to generate the code there is a lack of flexibility.  Project  iBATISer (the name of the item) can automatically generate the system more flexible, more powerful, more surface to adapt to a wide range of iBATIS DAO code.  Functions  It has the following features:  An analysis of the database structure, including fields, field types, primary key, foreign key. At present, ORACLE and MYSQL support  2 According to the analysis of the results of the database to generate XML format of the document describes the database for user code generation options  3, according to user settings option to generate full-DAO code and SQL-MAPPING documents, including:  (1) of each table iBATIS SqlMapping XML and SqlMapConfig.xml  (2) single-sheet type of entity to support the many to one association object attributes and composite primary key attribute  Dao generic GenericDao and iBATIS-based interface to achieve category BaseDao  (3) Dynamic SQL parameters and the type of DynamicSqlParameter related query category Criteria, paging support category PaginationParameter / PaginationResult  (4) single-table Dao and DaoImpl code framework  (5) Spring Related profile  Characteristics  Generated code can be completed on a single sheet of additions and deletions to search functions, in addition to the following characteristics:  (1) support for paging, are in support of ORACLE and MYSQL  (2) any combination of query, you can multi-nested  (3) any combination of field changes  (4) to support the many to one foreign key targets associated with the load, to avoid 1 + N  (5) single-table read-only cache (configurable)  In the near future and the next version of the function  (1) There is only supported version of the java console run, the future will provide Eclipse RCP and plug-in GUI  (2) maven support  (3) now have a version of the code relies on Spring iBATIS DAO support of the proposed increase in the allocation of options, users can choose to support the Spring DAO or iBATIS native DAO  (4) to distinguish intelligent and user-generated code code, to avoid re-generated code has been covered by the code users  (5) MYSQL ORACLE support other databases, such as, for example SQLSERVER/DB2
      

  7.   

    Project background 
    iBATIS is a good framework for open source SQL-MAPPING. Compared to ORM framework, iBATIS more flexible, easier to use, the study also lower costs, so those well familiar with the RDBMS and SQL developer. 
    All along, iBATIS lack of a good automatic code generation tools to generate those code-General of the Dao. iBATIS in August 2006 launch of Eclipse plug-in tools iBATOR (formerly known as Abator), to meet the general requirements of automatic code generation. IBATOR but did not give full play to the advantage of the iBATIS technology to generate the code there is a lack of flexibility. Project 
    iBATISer (the name of the item) can automatically generate the system more flexible, more powerful, more surface to adapt to a wide range of iBATIS DAO code. Functions 
    It has the following features: 
    An analysis of the database structure, including fields, field types, primary key, foreign key. At present, ORACLE and MYSQL support 
    2 According to the analysis of the results of the database to generate XML format of the document describes the database for user code generation options 
    3, according to user settings option to generate full-DAO code and SQL-MAPPING documents, including: 
    (1) of each table iBATIS SqlMapping XML and SqlMapConfig.xml 
    (2) single-sheet type of entity to support the many to one association object attributes and composite primary key attribute 
    Dao generic GenericDao and iBATIS-based interface to achieve category BaseDao 
    (3) Dynamic SQL parameters and the type of DynamicSqlParameter related query category Criteria, paging support category PaginationParameter / PaginationResult 
    (4) single-table Dao and DaoImpl code framework 
    (5) Spring Related profile Characteristics 
    Generated code can be completed on a single sheet of additions and deletions to search functions, in addition to the following characteristics: 
    (1) support for paging, are in support of ORACLE and MYSQL 
    (2) any combination of query, you can multi-nested 
    (3) any combination of field changes 
    (4) to support the many to one foreign key targets associated with the load, to avoid 1 + N 
    (5) single-table read-only cache (configurable) In the near future and the next version of the function 
    (1) There is only supported version of the java console run, the future will provide Eclipse RCP and plug-in GUI 
    (2) maven support 
    (3) now have a version of the code relies on Spring iBATIS DAO support of the proposed increase in the allocation of options, users can choose to support the Spring DAO or iBATIS native DAO 
    (4) to distinguish intelligent and user-generated code code, to avoid re-generated code has been covered by the code users 
    (5) MYSQL ORACLE support other databases, such as, for example SQLSERVER/DB2
    尽力了
      

  8.   

    继续修改一下。Project Background:
     
    iBATIS is an excellent SQL-MAPPING OpenSource Framework. Compared with  the ORM Framework, it is more flexible, easier to learn and to use. As a result,iBATIS is widely supported by the developers familiar with RDBMS and SQL. However, iBATIS need a good code generator to create the general code at DAO layer.iBATIS has published its Eclipse plug-in iBATOR(Original name:Abator),which satisfies most generic requirements for code generation. But the code it generated often lacks of flexibility and does not support all the advantages of iBATIS. Project Introduction: 
    iBATISer(Name of this project)automatically generates more flexible,robust and generic DAO codes for iBATIS. Functions: 
    1.Analyses the structure of database,fields,field names,primary keys,foreign keys. Now it supports MYSQL& ORACLE. 
    2.Based on the result of analysis,generates databse description file of XML format, users can config the options of generation through it. 
    3. According to users' configuration create full-size codes on DAO layer and SQL-MAPPING file,includes: 
      (1)iBATIS SqlMapping XML and SqlMapConfig.xml of each table. 
      (2)Entity class of single table,support many-to-one mapping object property and multiple primary key property,generic Dao interface (GenericDao) and iBATIS basic implementation class (BaseDao). 
      (3)Dynamic sql parameters class DynamicSqlParameter and query condition class Criteria,pagination class PaginationParameter/PaginationResult. 
      (4)Single table Dao&DaoImpl code Framework. 
      (5)Spring configuration files. Features: 
    The generated code implments Add,Delete, Update and Query operation based on a single table(单表,需要楼主核实是否这个意思). Features include 
      (1)Pagination support for MYSQL,ORACLE 
      (2)Query condition can be any combination,allow multiple nesting. 
      (3)Update any field combination. 
      (4)Support of many-to-one foreign key & associate obeject,avoid 1+N. 
      (5)Single table read-only cache (configurable) Future Edition: 
      (1)This version only can be execute from java console, Eclipse RCP&plug-in GUI will be added. 
      (2)Support maven. 
      (3)Current version relies on Spring iBATIS DAO,an option for Spring DAO and original iBATIS DAO will be added. 
      (4)Intelligent recognition of generated codes and user codes,avoid overriding user codes when rebuild. 
      (5)Support SQLSERVER/DB2 (through JDBCxxxx 通过某技术支持某库,个人觉得写具体一些更好?)
      

  9.   

    打少了一个单数形式However, iBATIS needs
      

  10.   

    Project BackgroundiBATIS is an excellent SQL-MAPPING open source framework. Compared to ORM frameworks, iBATIS is more flexible, easier to use, and easier to learn, which helps it win the popularity in communities of RDBMS and SQL developers.Unfortunately, iBATIS haven't got a good code generation tool to generate those generic and sharable codes of DAO layer. Although an Eclipse plug-in named iBATOR (originally,  
    Abator), which was released by iBATIS in Aug 2006, helps to the generation of ordinary code, it does not fully expose the advantages of iBATIS technique, and the codes generated lacks of flexibility. Project IntroiBATISer, the name of this project, can generate more flexible, more powerful DAO codes conforming to iBATIS specifications automatically.Functions:1. Analyzing the structure of database tables, including fields, field types, primary key and foreign key. MYSQL and ORACLE are supported at present.2. Generating an XML description file of the database according to the result of Function 1, so that users can specify code generation options.3. Generating complete DAO layer codes and SQL-MAPPING file according to those options specified in the description file, namely:
    (1) iBATIS SqlMapping XML file and SqlMapConfig.xml file for each table
    (2) Entity class for a single table, supporting many to one relationship and composite primary keys; 
       GenericDAO, the generic DAO interface and 
       BaseDAO, which is the base implementation of iBATIS
    (3) DynamicSqlParameter, which stores the dynamic sql parameters
       Criteria, which holds the related query conditions
       PaginationParameter/PaginationResult, used for paging control
    (4) DAO and DAOImpl codes for a single table
    (5) Configuration file related to Spring frameworkFeatures:The codes generated can do more than just CRUD of a single table:
    (1)Result paging. MYSQL and ORACLE are supported currently
    (2)Querying on any combination of query conditions or/and nested ones
    (3)Changes of any combination of fields
    (4)Objects loading in many to one relationship, managed to void 1+N
    (5)Read-only Cache for a single table (configurable)What we offer now and what we will improve in the near future:Now                                                Can run only from java console                  
    Maven supported
    Codes generated depend on Spring iBATIS DAO 
    Distinguishing codes generated and codes written by user intellectually, avoiding overriding codes written by user when re-generating
    MYSQL & ORACLE are supportedIn the near futureEclipse RCP and Plug-in UI will be provided, console is no longer the only choice
    User decides which to depends, Spring DAO or native DAO of iBATIS
    More names will be in the supported database list, such as SQLSERVER, DB2 and etc
    ///
    sigh, 加粗什么的就不用了,这里面没有word里面好弄...