Author: jgbutler
Date: Tue Sep 11 18:01:01 2007
New Revision: 574741

URL: http://svn.apache.org/viewvc?rev=574741&view=rev
Log:
Abator: Documentation for countByExample method

Modified:
    
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/configreference/table.html
    
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/generatedobjects/javadao.html
    ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/whatsNew.html

Modified: 
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/configreference/table.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/configreference/table.html?rev=574741&r1=574740&r2=574741&view=diff
==============================================================================
--- 
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/configreference/table.html
 (original)
+++ 
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/configreference/table.html
 Tue Sep 11 18:01:01 2007
@@ -166,6 +166,13 @@
         generated by Abator.</td>
   </tr>
   <tr>
+    <td valign="top">enableCountByExample</td>
+    <td>Signifies whether a count by example statement should be generated.
+        This statement will return the number of rows in a table that match
+        an example.
+        <p>The default is <i>true</i>.</p></td>
+  </tr>
+  <tr>
     <td valign="top">modelType</td>
     <td>
       This property is used to override the default model type if you desire

Modified: 
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/generatedobjects/javadao.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/generatedobjects/javadao.html?rev=574741&r1=574740&r2=574741&view=diff
==============================================================================
--- 
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/generatedobjects/javadao.html
 (original)
+++ 
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/generatedobjects/javadao.html
 Tue Sep 11 18:01:01 2007
@@ -37,6 +37,7 @@
 <p>Depending on the specifics of the table, and the configuration options, the 
DAO generator
 will generate these methods:</p>
 <ul>
+  <li>countByExample</li>
   <li>deleteByPrimaryKey</li>
   <li>deleteByExample</li>
   <li>insert</li>

Modified: 
ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/whatsNew.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/whatsNew.html?rev=574741&r1=574740&r2=574741&view=diff
==============================================================================
--- ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/whatsNew.html 
(original)
+++ ibatis/trunk/java/mapper/mapper2/tools/abator/core/htmldoc/whatsNew.html 
Tue Sep 11 18:01:01 2007
@@ -10,6 +10,14 @@
 <body>
 <h1>What's New in Abator</h1>
 <h2>Version 1.1.0</h2>
+<h3>New Generated Methods</h3>
+<p>Abator will generate these new methods:</p>
+<dl>
+  <dt>countByExample</dt>
+  <dd>This method will return an integer representing the number of rows in a 
table
+      that match the given example.</dd>
+</dl>
+
 <h3>Miscellaneous Changes</h3>
 <ul>
   <li>Fixed a bug that caused the "trimStrings" property to fail</li>
@@ -31,13 +39,13 @@
       <a href="configreference/abatorContext.html">&lt;abatorContext&gt;</a>,
       and <a 
href="configreference/columnOverride.html">&lt;columnOverride&gt;</a>
       reference pages for more information.</li>
-  <li>Added SYBASE dialect for generated keys..
+  <li>Added SYBASE dialect for generated keys.
       See the <a 
href="configreference/generatedKey.html">&lt;generatedKey&gt;</a>
       reference page for more information.</li>
   <li>Abator will now automatically escape identifiers that contain the $ or # 
characters
       as these characters have special meaning in iBATIS configuration 
files.</li>
-  <li>Added a <code>clear</code> method to the generated example classes.  
This allows reuse
-      classes.</li>
+  <li>Added a <code>clear</code> method to the generated example classes (in 
the Java2 and Java5
+      generator sets only).  This allows reuse of these classes.</li>
   <li>Added the ability to specify that result maps should use column indexes 
rather
       than column names in the result mappings.  Primary use cases for this
       support include:


Reply via email to