Modified: ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/sqlmap/XmlConstants.java URL: http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/sqlmap/XmlConstants.java?rev=650682&r1=650681&r2=650682&view=diff ============================================================================== --- ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/sqlmap/XmlConstants.java (original) +++ ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/sqlmap/XmlConstants.java Tue Apr 22 15:38:27 2008 @@ -15,6 +15,8 @@ */ package org.apache.ibatis.ibator.internal.sqlmap; +import org.apache.ibatis.ibator.config.MergeConstants; + /** * @author Jeff Butler */ @@ -26,6 +28,74 @@ private XmlConstants() { super(); } + + static { + StringBuffer sb = new StringBuffer(); + + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("countByExample"); //$NON-NLS-1$ + COUNT_BY_EXAMPLE_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("deleteByExample"); //$NON-NLS-1$ + DELETE_BY_EXAMPLE_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("deleteByPrimaryKey"); //$NON-NLS-1$ + DELETE_BY_PRIMARY_KEY_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("insert"); //$NON-NLS-1$ + INSERT_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("selectByExample"); //$NON-NLS-1$ + SELECT_BY_EXAMPLE_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("selectByExampleWithBLOBs"); //$NON-NLS-1$ + SELECT_BY_EXAMPLE_WITH_BLOBS_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("selectByPrimaryKey"); //$NON-NLS-1$ + SELECT_BY_PRIMARY_KEY_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("updateByExample"); //$NON-NLS-1$ + UPDATE_BY_EXAMPLE_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("updateByExampleSelective"); //$NON-NLS-1$ + UPDATE_BY_EXAMPLE_SELECTIVE_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("updateByExampleWithBLOBs"); //$NON-NLS-1$ + UPDATE_BY_EXAMPLE_WITH_BLOBS_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("updateByPrimaryKey"); //$NON-NLS-1$ + UPDATE_BY_PRIMARY_KEY_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("updateByPrimaryKeySelective"); //$NON-NLS-1$ + UPDATE_BY_PRIMARY_KEY_SELECTIVE_STATEMENT_ID = sb.toString(); + + sb.setLength(0); + sb.append(MergeConstants.NEW_XML_ELEMENT_PREFIX); + sb.append("updateByPrimaryKeyWithBLOBs"); //$NON-NLS-1$ + UPDATE_BY_PRIMARY_KEY_WITH_BLOBS_STATEMENT_ID = sb.toString(); + } public static final String SQL_MAP_SYSTEM_ID = "http://ibatis.apache.org/dtd/sql-map-2.dtd"; //$NON-NLS-1$ @@ -33,5 +103,31 @@ public static final String IBATOR_CONFIG_SYSTEM_ID = "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd"; //$NON-NLS-1$ - public static final String IBATOR_CONFIG_PUBLIC_ID = "-//Apache Software Foundation//DTD iBATOR for iBATIS Configuration 1.0//EN"; //$NON-NLS-1$ + public static final String IBATOR_CONFIG_PUBLIC_ID = "-//Apache Software Foundation//DTD Apache iBATIS ibator Configuration 1.0//EN"; //$NON-NLS-1$ + + public static final String COUNT_BY_EXAMPLE_STATEMENT_ID; + + public static final String DELETE_BY_EXAMPLE_STATEMENT_ID; + + public static final String DELETE_BY_PRIMARY_KEY_STATEMENT_ID; + + public static final String INSERT_STATEMENT_ID; + + public static final String SELECT_BY_EXAMPLE_STATEMENT_ID; + + public static final String SELECT_BY_EXAMPLE_WITH_BLOBS_STATEMENT_ID; + + public static final String SELECT_BY_PRIMARY_KEY_STATEMENT_ID; + + public static final String UPDATE_BY_EXAMPLE_STATEMENT_ID; + + public static final String UPDATE_BY_EXAMPLE_SELECTIVE_STATEMENT_ID; + + public static final String UPDATE_BY_EXAMPLE_WITH_BLOBS_STATEMENT_ID; + + public static final String UPDATE_BY_PRIMARY_KEY_STATEMENT_ID; + + public static final String UPDATE_BY_PRIMARY_KEY_SELECTIVE_STATEMENT_ID; + + public static final String UPDATE_BY_PRIMARY_KEY_WITH_BLOBS_STATEMENT_ID; }
Modified: ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/util/ClassloaderUtility.java URL: http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/util/ClassloaderUtility.java?rev=650682&r1=650681&r2=650682&view=diff ============================================================================== --- ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/util/ClassloaderUtility.java (original) +++ ibatis/trunk/java/tools/ibator/core/src/org/apache/ibatis/ibator/internal/util/ClassloaderUtility.java Tue Apr 22 15:38:27 2008 @@ -27,7 +27,7 @@ /** * This class holds methods useful for constructing custom - * classloaders in iBATOR. + * classloaders in ibator. * * @author Jeff Butler * Modified: ibatis/trunk/java/tools/ibator/core/testJava2/ibatortest/java2/ibatorConfig.xml URL: http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/testJava2/ibatortest/java2/ibatorConfig.xml?rev=650682&r1=650681&r2=650682&view=diff ============================================================================== --- ibatis/trunk/java/tools/ibator/core/testJava2/ibatortest/java2/ibatorConfig.xml (original) +++ ibatis/trunk/java/tools/ibator/core/testJava2/ibatortest/java2/ibatorConfig.xml Tue Apr 22 15:38:27 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ibatorConfiguration - PUBLIC "-//Apache Software Foundation//DTD iBATOR for iBATIS Configuration 1.0//EN" + PUBLIC "-//Apache Software Foundation//DTD Apache iBATIS ibator Configuration 1.0//EN" "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd"> <ibatorConfiguration> Modified: ibatis/trunk/java/tools/ibator/core/testJava5/ibatortest/ibatorConfig.xml URL: http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/testJava5/ibatortest/ibatorConfig.xml?rev=650682&r1=650681&r2=650682&view=diff ============================================================================== --- ibatis/trunk/java/tools/ibator/core/testJava5/ibatortest/ibatorConfig.xml (original) +++ ibatis/trunk/java/tools/ibator/core/testJava5/ibatortest/ibatorConfig.xml Tue Apr 22 15:38:27 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ibatorConfiguration - PUBLIC "-//Apache Software Foundation//DTD iBATOR for iBATIS Configuration 1.0//EN" + PUBLIC "-//Apache Software Foundation//DTD Apache iBATIS ibator Configuration 1.0//EN" "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd"> <ibatorConfiguration>
