ibatis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgbut...@apache.org
Subject svn commit: r833772 [1/25] - in /ibatis/java/ibator/trunk/core: ./ ibator-core/doc/ ibator-core/doc/html/ ibator-core/doc/html/configreference/ ibator-core/doc/html/generatedobjects/ ibator-core/doc/html/reference/ ibator-core/doc/html/usage/ ibator-ma...
Date Sat, 07 Nov 2009 22:59:05 GMT
Author: jgbutler
Date: Sat Nov  7 22:59:00 2009
New Revision: 833772

URL: http://svn.apache.org/viewvc?rev=833772&view=rev
Log:
[ibator] switch build to maven

Added:
    ibatis/java/ibator/trunk/core/ibator-core/doc/
    ibatis/java/ibator/trunk/core/ibator-core/doc/LICENSE.txt
    ibatis/java/ibator/trunk/core/ibator-core/doc/NOTICE.txt
    ibatis/java/ibator/trunk/core/ibator-core/doc/README.txt
    ibatis/java/ibator/trunk/core/ibator-core/doc/ReleaseNotes.txt
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/afterRunning.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/classPathEntry.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnOverride.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnRenamingRule.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/commentGenerator.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/daoGenerator.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/generatedKey.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ibatorConfiguration.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ibatorContext.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ibatorPlugin.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ignoreColumn.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/javaModelGenerator.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/javaTypeResolver.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/jdbcConnection.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/properties.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/property.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/sqlMapGenerator.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/table.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/xmlconfig.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/generatedobjects/
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/generatedobjects/exampleClassUsage.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/generatedobjects/extendingExampleClass.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/generatedobjects/javadao.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/generatedobjects/javamodel.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/generatedobjects/results.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/generatedobjects/sqlmap.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/ibator.css
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/index.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/intro.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/license.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/menu.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/migratingFromAbator.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/philosophy.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/quickstart.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/reference/
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/reference/attributes.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/reference/building.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/reference/extending.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/reference/intro.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/reference/logging.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/reference/pluggingIn.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/running.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/usage/
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/usage/db2.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/usage/intro.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/usage/mysql.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/usage/oracle.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/usage/postgresql.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/html/whatsNew.html
    ibatis/java/ibator/trunk/core/ibator-core/doc/releasing.txt
    ibatis/java/ibator/trunk/core/ibator-core/doc/todo.txt
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/   (with props)
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/pom.xml
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/ibatis/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/ibatis/ibator/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/ibatis/ibator/maven/
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/ibatis/ibator/maven/IbatorMojo.java
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/ibatis/ibator/maven/MavenProgressCallback.java
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/ibatis/ibator/maven/MavenShellCallback.java
    ibatis/java/ibator/trunk/core/ibator-maven-plugin/src/main/java/org/apache/ibatis/ibator/maven/SqlScriptRunner.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/pom.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/miscellaneous/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/miscellaneous/BaseClass.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/miscellaneous/BaseInterface.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/miscellaneous/FirstName.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/miscellaneous/FirstNameTypeHandler.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/miscellaneous/MyTime.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/java/ibatortest/java2/execute/miscellaneous/MyTimeTypeHandler.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/resources/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/resources/CreateDB.sql
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/main/resources/ibatorConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/AbstractTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/AbstractConditionalJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/ConditionalJava2TestSuite.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/CountByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/DeleteByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/DeleteByPrimaryKeyTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/InsertTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/SelectByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/SelectByPrimaryKeyTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/conditional/java2/UpdateByPrimaryKeyTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/flat/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/flat/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/flat/java2/AbstractFlatJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/flat/java2/FlatJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/flat/java2/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/hierarchical/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/hierarchical/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/hierarchical/java2/AbstractHierarchicalJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/hierarchical/java2/HierarchicalJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/hierarchical/java2/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/miscellaneous/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/miscellaneous/AbstractMiscellaneousTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/java/ibatortest/java2/execute/miscellaneous/MiscellaneousTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/conditional/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/conditional/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/conditional/java2/SpringBeans.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/conditional/java2/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/flat/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/flat/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/flat/java2/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/hierarchical/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/hierarchical/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/hierarchical/java2/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/miscellaneous/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/src/test/resources/ibatortest/java2/execute/miscellaneous/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/pom.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/miscellaneous/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/miscellaneous/BaseClass.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/miscellaneous/BaseInterface.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/miscellaneous/FirstName.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/miscellaneous/FirstNameTypeHandler.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/miscellaneous/MyTime.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/java/ibatortest/execute/miscellaneous/MyTimeTypeHandler.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/resources/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/resources/CreateDB.sql
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/main/resources/ibatorConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/AbstractTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java2/AbstractConditionalJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java2/ConditionalJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java2/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java5/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java5/AbstractConditionalJava5Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java5/ConditionalJava5Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/conditional/java5/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java2/AbstractFlatJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java2/FlatJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java2/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java5/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java5/AbstractFlatJava5Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java5/FlatJava5Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/flat/java5/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java2/AbstractHierarchicalJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java2/HierarchicalJava2Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java2/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java5/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java5/AbstractHierarchicalJava5Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java5/HierarchicalJava5Test.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/hierarchical/java5/UpdateByExampleTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/miscellaneous/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/miscellaneous/AbstractMiscellaneousTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/miscellaneous/MiscellaneousTest.java
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/java/ibatortest/execute/miscellaneous/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/conditional/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/conditional/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/conditional/java2/SpringBeans.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/conditional/java2/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/conditional/java5/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/conditional/java5/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/flat/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/flat/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/flat/java2/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/flat/java5/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/flat/java5/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java2/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java2/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SpringBeans.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/miscellaneous/
    ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/miscellaneous/SqlMapConfig.xml
    ibatis/java/ibator/trunk/core/pom.xml
Modified:
    ibatis/java/ibator/trunk/core/   (props changed)

Propchange: ibatis/java/ibator/trunk/core/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Nov  7 22:59:00 2009
@@ -0,0 +1 @@
+target

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/LICENSE.txt
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/LICENSE.txt?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/LICENSE.txt (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/LICENSE.txt Sat Nov  7 22:59:00 2009
@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/NOTICE.txt
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/NOTICE.txt?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/NOTICE.txt (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/NOTICE.txt Sat Nov  7 22:59:00 2009
@@ -0,0 +1,5 @@
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+This product includes the EqualsUtil and HashCodeUtil classes
+from http://www.javapractices.com.

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/README.txt
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/README.txt?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/README.txt (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/README.txt Sat Nov  7 22:59:00 2009
@@ -0,0 +1,24 @@
+===============================================================================
+Overview
+--------
+Ibator is a code generator for the iBATIS SQL mapping framefork.
+Ibator will introspect database tables (through JDBC DatabaseMetaData) and
+generate SQL Map XML files, Java model object (POJOs) that match the table,
+and (optionally) DAO classes that use the other generated objects.
+
+For full documentation, please refer to the user's manual at doc/index.html
+in this distribution.
+
+Dependencies
+------------
+Ibator has no dependencies beyond the JRE.  Ibator does require JRE 5.0 or
+above.  Ibator also requires that the JDBC driver implements the
+DatabaseMetaData interface, especially the "getColumns" and "getPrimaryKeys"
+methods.
+
+Support
+-------
+Support for ibator is provided through the iBATIS user mailing list.  Mail
+questions or bug reports to:
+
+  user-java@ibatis.apache.org

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/ReleaseNotes.txt
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/ReleaseNotes.txt?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/ReleaseNotes.txt (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/ReleaseNotes.txt Sat Nov  7 22:59:00 2009
@@ -0,0 +1,224 @@
+-------------------------------------------------------------------------------
+Version 1.2.2:
+
+Announcements:
+1. CommentGenerator interface has changed
+
+Bugs:
+1. Fixed NPE when no DAOs are generated
+2. Fixed IBATIS-579 - don't allow column names with spaces to break
+   across lines
+3. Fixed NPE and incorrect calculation in generated equals when certain
+   fields are null - thanks to Benjamin Klatt for finding this bug
+4. Fixed IBATIS-601 - improper validation of <generatedKey>
+5. Fixed IBATIS-609 - incorrect parsing of Java generic types
+6. Fixed spelling error LONCVARCHAR->LONGVARCHAR (thanks Allard)
+
+Enhancements:
+1. IBATIS-569 - Make it easier to override IbatorRules in plugins
+2. IBATIS-571 - Added "autoDelimitKeywords" support to <ibatorContext>
+3. IBATIS-577 - Define SQL fragments for column lists.  Thanks to Iwao
+   AVE! for the idea and the initial patch
+4. Added some additional command line arguments
+5. Added logging
+6. Added Case Insensitive LIKE example Plugin
+7. Added delimitAllCoumns to table configurations
+8. Added page describing some of PostgreSQL idiosyncracies with Ibator
+9. IBATIS-586 - Added the ability to specify nested property elements on
+   columnOverrides (thanks to Dan Turkenkopf for the idea and a nice initial patch)
+10. Gather column comments during introspection
+11. IBATIS-592 - Additional attributes for SqlMaps
+12. Fixed addCriterionfor JDBC* methods so that they all do a null check
+13. Fixed IbatorRunner so that configuration errors are shown (thanks to Karel Rank)
+14. Added XML ids to changeable attributes on introspected table, also
+    change the XML merger so that the XML ids no longer need to contain
+    the prefix "ibatorgenerated_"
+15. Many refactorings to make way for iBATIS3
+16. IBATIS-605 - Added Informix Dialect
+17. Added ability to set annotations on method parameters
+
+-------------------------------------------------------------------------------
+Version 1.2.1:
+
+Bugs:
+1. Fixed IbatorObjectFactory so that it will find internal classes on the
+   context classloader.
+2. Fixed IBATIS-565 - ill formed comment in the SqlMapConfigPlugin.
+
+Enhancements:
+1. Modified plugin methods for model fields, getters, and setters so that
+   the plugin will know which type of class (Primary Key, Base Record, or
+   Record with BLOBs) is being generated. 
+2. Added methods to IntrospectedTable to get/set attributes.  This 
+   allows plugin classes to maintain table based state between
+   plugin calls.
+3. Added "initialized" method to the plugin API.  This
+   allows plugins to alter some of the fundamental code generation items
+   (like the name of a generated class, for example).
+4. Added an example plugin to show usage of the "initialized" method.
+
+-------------------------------------------------------------------------------
+Version 1.2.0:  Renamed to Ibator
+
+Bugs:
+1. Fixed the JavaTypeResolver so that an unsupported data type can be
+   overridden by configuration.
+2. Fixed IBATIS-523 - bug in EqualsHashCodePlugin
+3. Fixed IBATIS-542 - upgrade build to Ant 1.7.1
+
+Enhancements:
+1. Ibator now includes a plugin machanism that you can use to extend or
+   modify code generated by Ibator.  In most cases, you should be able
+   to write plugins to replace any custom classes that subclass one of
+   ibator's built-in generators.  Plugins are now the preferred method for
+   extending Ibator and we recommend that you do not extend Ibator's
+   built in generators unless absolutely necessary.
+2. Major refactoring of Ibator internals.  This has changed
+   the interface for overriding any of the supplied Ibator generators.
+3. Added support for runtimeCatalog and runtimeSchema properties to the
+   table configuration.  Thanks to Dan Turkenkopf for the idea and the
+   patch!
+4. New method - insertSelective
+   
+   
+Changes:
+1. JSE 5.0 or greater is required
+2. Changed and centralized classloading - moved the <classPathEntry> from
+   the <jdbcConnection> element to <ibatorConfiguration>, removed the
+   rootClasspath property from <javaModelGenerator>
+3. Changed API on the JavaTypeResolver interface
+4. Removed Legacy generator set
+5. Removed after generation hook methods in favor of the new ibator
+   plugin mechanism.
+6. <ibatorContext> elements now require an id
+
+-------------------------------------------------------------------------------
+Version 1.1.0:
+Bugs - 
+1. corner case where the new "by example" methods fail if a criteria
+   class has been added to the list, but there are no criteria set
+2. trimStrings on JavaModelGenerator not working
+3. Fix the XML file merger so that entities are preserved
+4. Fixed the configuration parser so that it correctly deals with
+   external entities
+5. IBATIS-434 - Incorrect default mapping for BIT datatype
+6. Fixed bug where Abator generated incorrect properties for certain
+   database columns (for example, if the column name is I_NAME)
+
+Enhancements - 
+1. IBATIS-348 - escape column names with $ or #, and ignore special characters
+   for generated Java properties by default
+2. Add "clear" method to generated example classes in the Java2/Java5
+   generator sets
+3. Add support for "ignoreQualifiersAtRuntime" and "runtimeTableName" on
+   the <table> configuration - this makes it easier to deal with tables
+   that are behind public aliases.
+4. Added support for persisting a configuration to XML - this to enable
+   a graphical editor in the future
+5. Add afterXXXGenerationHook() methods in all generators to enable adding
+   extra Java code or XML elements to any generated object.  This will make
+   it easier to create customized generators
+6. Added SYBASE database dialect for generated keys
+7. Added the ability to specify that resultMaps should use column indexes
+   rather than column name.  This is necessary in poorly designed tables
+   where column names differ only in case.  This may also improve performance.
+8. Added the ability to work with delimited names in database tables or
+   columns.
+9. API change to allow generating with selected contexts rather than
+   the entire config file.
+10. API change to allow generating with selected tables rather than
+    the entire config file.
+11. Exposed new support for selecting tables and/or contexts to the
+    command line and the Ant task 
+12. IBATIS-414 - make the Example and Criteria classes extendable
+13. Added countByExample generated method
+14. Added updateByExample generated method
+15. Java2 is now the default generator set
+16. IBATIS-470 - make legacy DAOs extendable
+17. IBATIS-468 - add <columnRenamingRule>
+18. Added DB2 Main Frame database dialect for generated keys
+19. Allow rootClass and rootInterface to be specified at the table level
+20. Allowed specifying a type (pre or post) for the generatedKey
+    element.
+21. Added a comment generator interface
+22. Abator will not generate model properties that would override 
+    properties in a rootClass.  Thanks to Ashok Madhavan for the beginnings
+    of this code.
+
+-------------------------------------------------------------------------------
+Version 1.0.0:
+1. Major refactoring of code generators to use new DOM classes.  This makes
+   adding and extending code generators much easier.
+2. Added a new set of code generators that take advantage of iBATIS' new
+   support for nested iterate tags.
+3. Added another new set of code generators that take advantage of iBATIS'
+   new support for nested iterate tags, and builds code that uses many JSE 5.0
+   features including parameterized types and annotations.
+4. Added support for "alias" on table configuration
+5. Fixed the XML file merger so that extraneous blank lines in an XML merge
+   are removed
+6. Major overhaul and improvement of the documentation
+7. Added a typeHandler attribute to <columnOverride>
+8. Added exampleMethodVisibility as a property for the DAO generator
+9. Added methodNameCalculator as a property for the DAO generator
+10. Added the ability to specify wildcards for schema and/or tableName in <table>
+11. Added the ability to suppress type warning messages in a JSE 5.0 environment
+12. Added the ability to specify different types of domain models
+13. Added the "verbose" attribute to the Ant task
+14. Allowed the Ant task to accept a property set
+15. Added a <properties> element to the XML configuration
+
+For full details, see the user's guide at doc\index.html in this
+distribution - then look at the "What's New" page.
+
+-------------------------------------------------------------------------------
+Version 0.6.5:
+1. Added support for specifying rootClass for the model objects and
+   rootInterface for the DAO interface.  To use, specify the "rootClass"
+   optional property on the <javaModelGenerator> element, or the
+   "rootInterface" optional property on the <daoGenerator> element.
+   
+   For example:
+     <javaModelGenerator ... >
+       <property name="rootClass" value="com.somedomain.SomeClass" />
+     </javaModelGenerator>
+   
+     <daoGenerator ... >
+       <property name="rootInterface" value="com.somedomain.SomeInterface" />
+     </daoGenerator>
+     
+   Note that Abator uses these values "as is" - no checking is done to 
+   validate their existence or validity.
+   
+2. Refactored code generation rules and added better documentation for
+   the rules (see new org.apache.ibatis.abator.internal.rules package)
+3. Ensure that property names are valid for iBATIS even if the user
+   specifies "useActualColumnNames"
+4. Added JDBC types for DATE and TIME fields to the mapping properties
+   in the by example where clause fragment
+5. Externalized all message strings
+6. Abator will now survive if the JDBC driver does not support the
+   getPrimaryKeys() function - but with reduced function
+
+-------------------------------------------------------------------------------
+Version 0.6.1:
+1. Added support for running Abator from the command line
+2. Fixed bug: NPE when <generatedKey> specifies an unknown column
+3. Fixed bug: getExampleParms method in generated DAO can grow so enormous
+   that it can't be compiled.  The fix is to break it into smaller methods.
+4. Implemented an "iBATIS-like" Ant build
+
+-------------------------------------------------------------------------------
+Version 0.6.0:
+1. Restructured as a standalone JAR file with no Eclipse dependencies
+2. Added an Ant task
+3. Added support for wrapping primitive data types in the "by example" methods
+4. Removed dependency on JDOM
+5. Greatly improved extensibility of the default code generators
+6. Added support for discovering the case sensitivity of the database in regard
+   to table names.
+
+-------------------------------------------------------------------------------
+Version 0.5.0:
+
+Initial Release - as an Eclipse plugin only

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/afterRunning.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/afterRunning.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/afterRunning.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/afterRunning.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,118 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>Tasks After Running Ibator</title>
+  <link type="text/css" rel="stylesheet" href="ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="index.html" target="_top">Show Menu</a>
+    <a href="afterRunning.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>Tasks After Running Ibator</h1>
+<p>After you run Ibator, you will need to create or modify other iBATIS configuration
+   artifacts.  The main tasks are as follows:</p>
+<ul>
+  <li>Create or Modify the SqlMapConfig.xml file</li>
+  <li>Create or modify the dao.xml file (only if using the iBATIS DAO Framework)</li>
+</ul>
+
+<p>Each task is described in detail below.</p>
+
+<h2>Updating the SqlMapConfig.xml File</h2>
+<p>iBATIS uses an XML file, commonly named <code>SqlMapConfig.xml</code>,
+to specify
+information for a database connection, a transaction management scheme, and SQL map XML
+files that will be used in an iBATIS session.  Ibator cannot create this file for you
+because Ibator knows nothing about your execution environment.  However, some of the
+items in this file relate directly to Ibator generated items.  Please refer to
+the standard iBATIS data mapper developer guide for details about the different
+configuration options.</p>
+
+<p>Ibator specific needs in the configuration file are as follows:</p>
+<ul>
+  <li>Statement namespaces must be enabled</li>
+  <li>Ibator generated SQL Map XML files must be listed</li>
+</ul>
+
+<p>For example, suppose that Ibator has generated an SQL Map XML file called
+<code>MyTable_SqlMap.xml</code>, and that the file has been placed in the
+<code>test.xml</code> package
+of your project.  The <code>SqlMapConfig.xml</code> file should have these entries:</p>
+<pre>
+  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
+  &lt;!DOCTYPE sqlMapConfig
+    PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
+    "http://ibatis.apache.org/dtd/sql-map-config-2.dtd"&gt;
+
+  &lt;sqlMapConfig&gt;
+    &lt;!-- Statement namespaces are required for Ibator --&gt;
+    &lt;settings useStatementNamespaces="true" /&gt;
+
+    &lt;!-- Setup the transaction manager and data source that are
+         appropriate for your environment
+    --&gt;
+    &lt;transactionManager type="..."&gt;
+      &lt;dataSource type="..."&gt;
+      &lt;/dataSource&gt;
+    &lt;/transactionManager&gt;
+
+    &lt;!-- SQL Map XML files should be listed here --&gt;
+    &lt;sqlMap resource="test/xml/MyTable_SqlMap.xml" /&gt;
+
+  &lt;/sqlMapConfig&gt;
+</pre>
+
+<p>If there is more than one SQL Map XML file (as is quite common),
+then the files can be listed in any order with repeated <code>&lt;sqlMap&gt;</code>
+elements after the <code>&lt;transactionManager&gt;</code> element.</p>
+
+<p><b>Version 1.2 New Enhancement</b> With Ibator version 1.2 and later, You may ask
+Ibator to generate a skeleton SQL Map Configuration file with the SqlMapConfigPlugin.
+See the <a href="configreference/ibatorPlugin.html">&lt;ibatorPlugin&gt;</a>
+page for more information.</p>
+<h2>Updating the dao.xml File</h2>
+<p><b>Important Note:</b> this step is only required if you generated DAOs for the iBATIS DAO
+framework.</p>
+<p>The iBATIS DAO framework is configured by an xml file commonly called
+<code>dao.xml</code>.  The iBATIS DAO framework uses this file to control the
+database connection information for DAOs, and also to list the DAO implementation
+classes and DAO interfaces.  In this file you should specify the path to your
+<code>SqlMapConfig.xml</code> file, and all the Ibator generated DAO interfaces
+and implementation classes.</p>
+<p>For example, suppose that Ibator has generated a DAO interface called
+<code>MyTableDAO</code> and a implementation class called
+<code>MyTableDAOImpl</code>, and that the files have been placed in the
+<code>test.dao</code> package
+of your project.  The <code>dao.xml</code> file should have these entries:</p>
+
+
+<pre>
+  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
+  &lt;!DOCTYPE daoConfig
+   PUBLIC "-//ibatis.apache.org//DTD DAO Configuration 2.0//EN"
+   "http://ibatis.apache.org/dtd/dao-2.dtd"&gt;
+
+  &lt;daoConfig&gt;
+    &lt;context&gt;
+      &lt;transactionManager type="SQLMAP"&gt;
+        &lt;property name="SqlMapConfigResource"
+                  value="test/SqlMapConfig.xml"/&gt;
+      &lt;/transactionManager&gt;
+
+      &lt;!-- DAO interfaces and implementations should be listed here --&gt;
+      &lt;dao interface="test.dao.MyTableDAO"
+           implementation="test.dao.MyTableDAOImpl" /&gt;
+
+    &lt;/context&gt;
+  &lt;/daoConfig&gt;
+</pre>
+
+</body>
+</html>
\ No newline at end of file

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/classPathEntry.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/classPathEntry.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/classPathEntry.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/classPathEntry.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,64 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>The &lt;classPathEntry&gt; Element</title>
+  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="../index.html" target="_top">Show Menu</a>
+    <a href="classPathEntry.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>The &lt;classPathEntry&gt; Element</h1>
+<p>The &lt;classPathEntry&gt; element is used to add classpath locations to the
+classpath of the Ibator run.  The &lt;classPathEntry&gt; element is an option child
+element of the <a href="ibatorConfiguration.html">&lt;ibatorConfiguration&gt;</a> element.
+Ibator loads classes from these locations in these instances:</p>
+<ul>
+  <li>When loading the JDBC driver for database introspection</li>
+  <li>When loading root classes in the JavaModelGenerator to check for overridden
+      methods</li>
+</ul>
+
+<p>This element is optional and is not required if you setup the classpath externally to Ibator
+(e.g. with the <code>-cp</code> argument of the <code>java</code> command</p>
+
+<p><b>Important Note:</b> these locations are NOT used when loading classes that
+extend one of Ibator's classes or implement one of Ibator's interfaces.  In those cases
+you must add your external classes to the runtime classpath in the same way you
+add Ibator to the classpath (e.g. with the <code>-cp</code> argument of the
+<code>java</code> command).</p>
+
+<h2>Required Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td>location</td>
+    <td>The full path name of a JAR/ZIP file to add to the classpath, or
+        a directory to add to the classpath.</td>
+  </tr>
+</table>
+
+<h2>Optional Attributes</h2>
+<p>None</p>
+
+<h2>Child Elements</h2>
+<p>None</p>
+
+
+<h2>Example</h2>
+<p>This element specifies the location of a DB2 JDBC driver:</p>
+<pre>
+&lt;classPathEntry location="/Program Files/IBM/SQLLIB/java/db2java.zip" /&gt;
+</pre>
+</body>
+</html>

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnOverride.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnOverride.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnOverride.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnOverride.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,108 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>The &lt;columnOverride&gt; Element</title>
+  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="../index.html" target="_top">Show Menu</a>
+    <a href="columnOverride.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>The &lt;columnOverride&gt; Element</h1>
+<p>The &lt;columnOverride&gt; element is used to change certain attributes of an
+introspected database column from their calculated values.  This element is an optional child
+element of the <a href="table.html">&lt;table&gt;</a> element.</p>
+
+<h2>Required Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td>column</td>
+    <td>The column name of the introspected.</td>
+  </tr>
+</table>
+
+<h2>Optional Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td valign="top">property</td>
+    <td>The name of a Java property to be used.  If not specified,
+        Ibator will generate properties based on the column name.
+        For example, if a table has a column named "STRT_DTE" then Ibator
+        will generate the property name as either "STRT_DTE" or "strtDte"
+        based on the value of the "useActualColumnNames" property (see the
+        description of the <a href="table.html">&lt;table&gt;</a> element for more information).
+        This property could be used to rename the column "startDate"</td>
+  </tr>
+  <tr>
+    <td valign="top">javaType</td>
+    <td>The fully qualified Java Type of the property for this column.  This
+        can be used to override the type calculated by the <code>JavaTypeResolver</code>
+        if required.  For some databases, this is necessary to handle
+        "odd" database types (e.g. MySql's unsigned bigint type
+        should be mapped to java.lang.Object).</td>
+  </tr>
+  <tr>
+    <td valign="top">jdbcType</td>
+    <td>The JDBC Type (INTEGER, DECIMAL, NUMERIC, VARCHAR, etc.) for the column.
+        This can be used to override the type calculated by the <code>JavaTypeResolver</code>
+        if required.  For some databases this is necessary to handle JDBC driver
+        quirks (e.g. DB2's LONGVARCHAR type should be mapped to VARCHAR for iBATIS).</td>
+  </tr>
+  <tr>
+    <td valign="top">typeHandler</td>
+    <td>A user defined type handler that should be used for this column.
+      This should be the fully
+      qualified name of a class that implements iBATIS'
+      <code>TypeHandler</code> or <code>TypeHandlerCallback</code>
+      interface (<code>TypeHandlerCallback</code> is simpler to implement).
+      If unspecified, or blank,
+      then iBATIS will use the default type facility for handling types.
+      <b>Important:</b> Ibator does not verify that this type handler exists,
+      or is valid.  Ibator simply inserts this value at the appropriate places
+      in the generated SQL Map configuration file.
+    </td>
+  </tr>
+  <tr>
+    <td valign="top">delimitedColumnName</td>
+    <td>Specifies whether the column name should be delimited in the generated SQL.
+        Ibator will automatically delimit the column name if the name contains a space,
+        so this override is only necessary when the column name must be forced to a certain
+        case, or when the column name is a reserved word in the database.
+        <p>When "true", the <code>column</code> attribute for the override
+        must exactly match the case of the column name returned from the database.</p>
+        <p>The delimiter characters are specified on the
+        <a href="ibatorContext.html">&lt;ibatorContext&gt;</a> element.</p>
+        <p><i>The default value is false.  However, Ibator will automatically
+        delimit column names that contain a space, so no override is necessary
+        in that case.</i></p>
+    </td>
+  </tr>
+</table>
+
+<h2>Child Elements</h2>
+<ul>
+  <li><a href="property.html">&lt;property&gt;</a> (0..N)
+    Note: any properties specified here will be added to the
+    properties collection of the corresponding IntrospectedColumn.  Ibator does not currently
+    respond to any properties.  This element is provided so that special values
+    for each column may be provided to a plugin in the event that a plugin is
+    coded to generate or modify something unique to a particular column.</li>
+</ul>
+
+</body>
+</html>

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnRenamingRule.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnRenamingRule.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnRenamingRule.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/columnRenamingRule.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,115 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>The &lt;columnRenamingRule&gt; Element</title>
+  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="../index.html" target="_top">Show Menu</a>
+    <a href="columnRenamingRule.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>The &lt;columnRenamingRule&gt; Element</h1>
+<p>The &lt;columnRenamingRule&gt; element is used to tell Ibator to rename
+database columns before calculating the corresponding property
+name in an introspected table.  This is useful when all columns
+in a table have a common prefix that should be removed before
+calculating the property name.  For example, suppose a table
+contains the following columns:</p>
+ <ul>
+   <li>CUST_BUSINESS_NAME</li>
+   <li>CUST_STREET_ADDRESS</li>
+   <li>CUST_CITY</li>
+   <li>CUST_STATE</li>
+ </ul>
+<p>It might be annoying to have the generated properties
+ all containing the CUST prefix.  The prefix can be removed by
+ specifying a renaming rule like this:</p>
+
+<p><code>&lt;columnRenamingRule searchString="^CUST_" replaceString="" /&gt;</code></p>
+
+<p>Note that, internally, Ibator uses the
+ <code>java.util.regex.Matcher.replaceAll</code> method
+ for this function.  See the documentation for that method
+ and class for examples of the regular expression language used in
+ Java.</p>
+
+<p>This element will be ignored for any column where a &lt;columnOverride&gt; element
+   matches a column - the &lt;columnOverride&gt;
+  will take precedence over the renaming rule.</p>
+
+<p>If specified, the renaming rule in this element will rename the column
+  before the property name is calculated.  The calculated property name
+  may be different depending on the value of the
+  "useActualColumnNames" property on the corresponding &lt;table&gt; element.
+  The following table shows the different values that will result if
+  the column renaming rule shown above is applied to the field set
+  shown above:</p>
+
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Column Name</th>
+    <th>Property if useActualColumnNames="true"</th>
+    <th>Property if useActualColumnNames="false"</th>
+  </tr>
+  <tr>
+    <td>CUST_BUSINESS_NAME</td>
+    <td>BUSINESS_NAME</td>
+    <td>businessName</td>
+  </tr>
+  <tr>
+    <td>CUST_STREET_ADDRESS</td>
+    <td>STREET_ADDRESS</td>
+    <td>streetAddress</td>
+  </tr>
+  <tr>
+    <td>CUST_CITY</td>
+    <td>CITY</td>
+    <td>city</td>
+  </tr>
+  <tr>
+    <td>CUST_STATE</td>
+    <td>STATE</td>
+    <td>state</td>
+  </tr>
+</table>
+
+<p>This element is an optional child
+element of the <a href="table.html">&lt;table&gt;</a> element.</p>
+
+<h2>Required Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td>searchString</td>
+    <td>This is a regular expression that defines the substring to be replaced.</td>
+  </tr>
+</table>
+
+<h2>Optional Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td>replaceString</td>
+    <td>This is a string to be substituted for every occurrence of the
+        search string.  If not specified, the empty string is used.</td>
+  </tr>
+</table>
+
+<h2>Child Elements</h2>
+<p>None</p>
+
+</body>
+</html>

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/commentGenerator.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/commentGenerator.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/commentGenerator.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/commentGenerator.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,99 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>The &lt;commentGenerator&gt; Element</title>
+  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="../index.html" target="_top">Show Menu</a>
+    <a href="commentGenerator.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>The &lt;commentGenerator&gt; Element</h1>
+<p>The &lt;commentGenerator&gt; element is used to define properties of the Comment Generator.
+The Comment Generator is used to generate comments for the various elements generated by Ibator
+(Java fields, Java methods, XML elements, etc.).
+The default Comment Generator adds JavaDoc comments to all generated Java elements to enable
+the Java merge functionality in the Eclipse plugin.  Also, comments are added to each
+generated XML element.  The purpose of the comments is also to inform users that the
+elements are generated and are subject to regeneration (i.e. - they shouldn't be
+altered).  This element is an optional child element
+of the <a href="ibatorContext.html">&lt;ibatorContext&gt;</a> element.</p>
+
+<p>The default implementation is <code>org.apache.ibatis.ibator.internal.DefaultCommentGenerator</code>.
+The default implementation is designed for extensibility if you only want to modify
+certain behaviors.</p>
+
+<h2>Required Attributes</h2>
+<p>None</p>
+
+<h2>Optional Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td valign="top">type</td>
+    <td>This may be used to specify the type of the user provided Comment Generator.
+        The class must implement the interface <code>org.apache.ibatis.ibator.api.CommentGenerator</code>
+        and must have a public default constructor.  The attribute also accepts
+        the special value DEFAULT in which case the default implementation will
+        be used (this has the same effect as not specifying the type).</td>
+  </tr>
+</table>
+
+<h2>Child Elements</h2>
+<ul>
+  <li><a href="property.html">&lt;property&gt;</a> (0..N)</li>
+</ul>
+
+<h2>Supported Properties</h2>
+<p>This table lists the properties of the default comment generator that can be
+specified with the <a href="property.html">&lt;property&gt;</a> child element:</p>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Property Name</th>
+    <th>Property Values</th>
+  </tr>
+  <tr>
+    <td valign="top">suppressDate</td>
+    <td>
+      This property is used to specify whether Ibator will include the generation
+      timestamp in the generated comments.
+      The property supports these values:
+      <table>
+        <tr>
+          <th valign="top">false</th>
+          <td><i>This is the default value</i>
+            <br/>When the property is false or unspecified, all generated comments
+            will include the timestamp when the element was generated.
+          </td>
+        </tr>
+        <tr>
+          <th valign="top">true</th>
+          <td>When the property is true, no timestamp will be added to the
+              generated comments.
+          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+
+<h2>Example</h2>
+<p>This element specifies that we do not want the timestamp added to any generated comment:</p>
+<pre>
+&lt;commentGenerator&gt;
+  &lt;property name="suppressDate" value="true" /&gt;
+&lt;/commentGenerator&gt;
+</pre>
+
+</body>
+</html>

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/daoGenerator.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/daoGenerator.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/daoGenerator.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/daoGenerator.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,225 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>The &lt;daoGenerator&gt; Element</title>
+  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="../index.html" target="_top">Show Menu</a>
+    <a href="daoGenerator.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>The &lt;daoGenerator&gt; Element</h1>
+<p>The &lt;daoGenerator&gt; element is used to define properties of the DAO
+generator.  The DAO Generator builds DAOs in a variety of different formats - one
+DAO interface and implementation class for each
+introspected table. This element is a optional child element
+of the <a href="ibatorContext.html">&lt;ibatorContext&gt;</a> element.  If you do not
+specify this element, then Ibator will not generate DAO interfaces and classes.</p>
+<h2>Required Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td valign="top">type</td>
+    <td>This attribute is used to select one of the predefined DAO templates, or
+        to specify a user provided DAO template.
+        Any user provided DAO template must extend the class
+        <code>org.apache.ibatis.ibator.generator.ibatis2.dao.templates.AbstractDAOTemplate</code>
+        class, and must have a public default constructor.
+        <p>The attribute accepts the following four values for selecting one of the
+        predefined DAO generators:</p>
+        <table cellpadding="5">
+          <tr>
+            <th nowrap="nowrap" valign="top">IBATIS</th>
+            <td>The generated DAO objects will conform to the (now deprecated) iBATIS DAO framework.</td>
+          </tr>
+          <tr>
+            <th nowrap="nowrap" valign="top">GENERIC-CI</th>
+            <td>The generated DAO objects will rely only on the SqlMapClient.  The SqlMapClient
+                will be supplied by constructor dependency injection.
+            </td>
+          </tr>
+          <tr>
+            <th nowrap="nowrap" valign="top">GENERIC-SI</th>
+            <td>The generated DAO objects will rely only on the SqlMapClient.  The SqlMapClient
+                will be supplied by setter dependency injection.
+            </td>
+          </tr>
+          <tr>
+            <th nowrap="nowrap" valign="top">SPRING</th>
+            <td>The generated DAO objects will conform to the Spring DAO framework.</td>
+          </tr>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top">targetPackage</td>
+    <td>This is the package where the generated DAO interfaces and implementation classes
+        will be placed.  In
+        the default generators, the property "enableSubPackages"
+        controls how the actual package is calculated.  If true,
+        then the calculated package will be the targetPackage plus
+        sub packages for the table's catalog and schema if they exist.
+        If "enableSubPackages" is false (the default) then the calculated package will be
+        exactly what is specified in the targetPackage attribute.
+        Ibator will create folders as required for the generated
+        packages.
+        <p><b>Note:</b> the package for DAO implementation classes may
+        be overridden by specifying the optional <code>implementationPackage</code>
+        attribute as shown below.</p></td>
+  </tr>
+  <tr>
+    <td valign="top">targetProject</td>
+    <td>This is used to specify a target project for the
+        generated DAO interfaces and classes.  When running in the Eclipse
+        environment, this specifies the project and source folder where
+        the objects will be saved.
+        In other environments, this value should be an existing directory
+        on the local file system.  Ibator will not create this directory if
+        it does not exist.</td>
+  </tr>
+</table>
+
+<h2>Optional Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td valign="top">implementationPackage</td>
+    <td>If specified, DAO implementation classes will be placed in this package.
+        In the default generators, the property "enableSubPackages"
+        controls how the actual package is calculated.  If true,
+        then the calculated package will be the implementationPackage plus
+        sub packages for the table's catalog and schema if they exist.
+        If "enableSubPackages" is false (the default) then the calculated package will be
+        exactly what is specified in the implementationPackage attribute.
+        Ibator will create folders as required for the generated
+        packages.</td>
+  </tr>
+</table>
+
+<h2>Child Elements</h2>
+<ul>
+  <li><a href="property.html">&lt;property&gt;</a> (0..N)</li>
+</ul>
+
+<h2>Supported Properties</h2>
+<p>This table lists the properties of the default SQL Map generators that can be
+specified with the <a href="property.html">&lt;property&gt;</a> child element:</p>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Property Name</th>
+    <th>Property Values</th>
+  </tr>
+  <tr>
+    <td valign="top">enableSubPackages</td>
+    <td>This property is used to select whether Ibator will generate different
+        Java packages for the objects based on the catalog and schema of the
+        introspected table.
+        <p>For example, suppose a table MYTABLE in schema MYSCHMA.
+        Also suppose that the targetPackage attribute is set to "com.mycompany".
+        If this property is true, the generated DAO interface and class for the table
+        will be placed in
+        the package "com.mycompany.myschema".  If the property is false, the generated
+        SQL Map will be placed in the "com.mycompany" schema.</p>
+        <p><i>The default value is false.</i></p></td>
+  </tr>
+  <tr>
+    <td valign="top">exampleMethodVisibility</td>
+    <td>This property is used to set the visibility of the different "ByExample"
+        methods - selectByExample, deleteByExample, etc.  If not specified, the
+        methods will be public and will be declared in the DAO interface.
+        This property allows you to hide these methods if you only want to use them
+        to implement other specialized DAO methods.
+        <table cellpadding="5">
+          <tr>
+            <th nowrap="nowrap" valign="top">public</th>
+            <td><i>This is the default value</i><br/>
+              The generated methods in the implementation class will be public,
+              and the methods will be declared in the DAO interface.</td>
+          </tr>
+          <tr>
+            <th nowrap="nowrap" valign="top">private</th>
+            <td>The generated methods in the implementation class will be private,
+                and the methods will not be declared in the DAO interface
+            </td>
+          </tr>
+          <tr>
+            <th nowrap="nowrap" valign="top">protected</th>
+            <td>The generated methods in the implementation class will be protected,
+                and the methods will not be declared in the DAO interface
+            </td>
+          </tr>
+          <tr>
+            <th nowrap="nowrap" valign="top">default</th>
+            <td>The generated methods in the implementation class will have default
+                (package) visibility,
+                and the methods will not be declared in the DAO interface
+            </td>
+          </tr>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top">methodNameCalculator</td>
+    <td>This property is used to select a method name calculator.  A method name
+        calculator can be used to provide different names for the DAO methods.
+        You can select one of the predefined values, or you can specify the
+        fully qualified name of a class that implements the
+        <code>org.apache.ibatis.ibator.api.DAOMethodNameCalculator</code> interface
+        if neither of the supplied options are appropriate in your environment.
+        <table cellpadding="5">
+          <tr>
+            <th nowrap="nowrap" valign="top">default</th>
+            <td><i>This is the default value</i><br/>
+              The generated methods names will be very simple ("insert",
+              "updateByPrimaryKey", etc.)  This is the same behavior as earlier versions
+              of Ibator.</td>
+          </tr>
+          <tr>
+            <th nowrap="nowrap" valign="top">extended</th>
+            <td>The generated method names will include the name of the domain object
+              associated with the method ("insertWidget", "updateWidgetByPrimaryKey", etc.)
+            </td>
+          </tr>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top">rootInterface</td>
+    <td>This property can be used to specify a super interface for all generated
+      DAO interface objects.  This value may be overridden by specifying
+      the <code>rootInterface</code> property on a Table configuration.
+      <p><b>Important:</b> Ibator does not verify that the interface exists, or is a
+       valid Java interface.</p>
+      <p>If specified, the value of this property should be a fully qualified
+       interface name (like com.mycompany.MyRootInterface).</p></td>
+  </tr>
+</table>
+
+<h2>Example</h2>
+<p>This element specifies that we always want to place generated DAO interfaces and
+objects
+in the "'test.model" package and that we want to use subpackages based on the
+table schema and catalog.  It also specifies that we want the generated DAO
+class to be compatible with the iBATIS DAO framework.</p>
+<pre>
+&lt;daoGenerator targetPackage="test.model"
+     targetProject="\MyProject\src" type="IBATIS"&gt;
+  &lt;property name="enableSubPackages" value="true" /&gt;
+&lt;/daoGenerator&gt;
+</pre>
+
+</body>
+</html>

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/generatedKey.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/generatedKey.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/generatedKey.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/generatedKey.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,116 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>The &lt;generatedKey&gt; Element</title>
+  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="../index.html" target="_top">Show Menu</a>
+    <a href="generatedKey.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>The &lt;generatedKey&gt; Element</h1>
+<p>The &lt;generatedKey&gt; element is used to specify properties for
+auto generated keys (from identity field or sequences).  If you specify this
+element, Ibator will generate an appropriate &lt;selectKey&gt; element inside the
+generated &lt;insert&gt; element in the SQL map.  This element is an optional child
+element of the <a href="table.html">&lt;table&gt;</a> element.</p>
+
+<h2>Required Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td>column</td>
+    <td>The column name of the generated column.</td>
+  </tr>
+  <tr>
+    <td valign="top">sqlStatement</td>
+    <td>The SQL statement that will return the new value.  If this is
+        an identity column, then you can use one of the predefined
+        special values, or substitute the proper statement for your database.
+        The predefined special values are as follows:
+          <table>
+            <tr>
+              <th>Cloudscape</th>
+              <td>This will translate to: <code>VALUES IDENTITY_VAL_LOCAL()</code></td>
+            </tr>
+            <tr>
+              <th>DB2</th>
+              <td>This will translate to: <code>VALUES IDENTITY_VAL_LOCAL()</code></td>
+            </tr>
+            <tr>
+              <th valign="top">DB2_MF</th>
+              <td>This will translate to: <br/> <code>SELECT IDENTITY_VAL_LOCAL() FROM SYSIBM.SYSDUMMY1</code>
+                <p>Use this value for DB2 on zOS (Main Frames) and, in some cases, iSeries (AS/400)</p>
+              </td>
+            </tr>
+            <tr>
+              <th>Derby</th>
+              <td>This will translate to: <code>VALUES IDENTITY_VAL_LOCAL()</code></td>
+            </tr>
+            <tr>
+              <th>HSQLDB</th>
+              <td>This will translate to: <code>CALL IDENTITY()</code></td>
+            </tr>
+            <tr>
+              <th valign="top">Informix</th>
+              <td>This will translate to: <code>select dbinfo('sqlca.sqlerrd1') from systables where tabid=1</code></td>
+            </tr>
+            <tr>
+              <th>MySql</th>
+              <td>This will translate to: <code>SELECT LAST_INSERT_ID()</code></td>
+            </tr>
+            <tr>
+              <th>SqlServer</th>
+              <td>This will translate to: <code>SELECT SCOPE_IDENTITY()</code></td>
+            </tr>
+            <tr>
+              <th>SYBASE</th>
+              <td>This will translate to: <code>SELECT @@IDENTITY</code></td>
+            </tr>
+          </table>
+        </td>
+  </tr>
+</table>
+
+<h2>Optional Attributes</h2>
+<table border="1" cellspacing="0" cellpadding="5">
+  <tr>
+    <th>Attribute</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td valign="top">identity</td>
+    <td>If <code>true</code>, then the column is flagged as an identity column and the
+        generated <code>&lt;selectKey&gt;</code> element will be placed
+        after the insert (for an identity column).  If <code>false</code>, then
+        the generated <code>&lt;selectKey&gt;</code> will be placed before the insert
+        (typically for a sequence).
+        <p><b>Important:</b> Even if you specify the <code>type</code> attribute as "post",
+           you should still specify this value as "true" for identity columns.  This will flag
+           Ibator to remove the column from the insert list.</p>
+        <p>The default is <i>false</i>.</p></td>
+  </tr>
+  <tr>
+    <td valign="top">type</td>
+    <td>If specified, then this value will be added as the type of the generated <code>&lt;selectKey&gt;</code> element.
+        The value of this property should be either "pre" or "post".
+        <p><b>Important:</b> if a value is specified for this attribute, then the generated
+        <code>&lt;selectKey&gt;</code> element will always be placed before the insert statement.</p></td>
+  </tr>
+</table>
+
+<h2>Child Elements</h2>
+<p>None</p>
+
+</body>
+</html>

Added: ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ibatorConfiguration.html
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ibatorConfiguration.html?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ibatorConfiguration.html (added)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/html/configreference/ibatorConfiguration.html Sat Nov  7 22:59:00 2009
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>The &lt;ibatorConfiguration&gt; Element</title>
+  <link type="text/css" rel="stylesheet" href="../ibator.css"/>
+</head>
+<body>
+
+<div class="menuNav">
+  <p>
+    <a href="../index.html" target="_top">Show Menu</a>
+    <a href="ibatorConfiguration.html" target="_top">Hide Menu</a>
+  </p>
+</div>
+
+<h1>The &lt;ibatorConfiguration&gt; Element</h1>
+<p>The &lt;ibatorConfiguration&gt; element is the root element of an
+Ibator configuration file.  The file should contain the following DOCTYPE:
+</p>
+<pre>
+&lt;!DOCTYPE ibatorConfiguration PUBLIC
+  "-//Apache Software Foundation//DTD Apache iBATIS Ibator Configuration 1.0//EN"
+  "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd"&gt;
+</pre>
+
+<h2>Required Attributes</h2>
+<p>None</p>
+
+<h2>Optional Attributes</h2>
+<p>None</p>
+
+<h2>Child Elements</h2>
+<ul>
+  <li><a href="properties.html">&lt;properties&gt;</a> (0 or 1)</li>
+  <li><a href="classPathEntry.html">&lt;classPathEntry&gt;</a> (0..N)</li>
+  <li><a href="ibatorContext.html">&lt;ibatorContext&gt;</a> (1..N)</li>
+</ul>
+
+</body>
+</html>



Mime
View raw message