ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Qian" <daqiqi...@aol.com>
Subject Re: Abator Version 1.0.0 Now Available!
Date Mon, 28 Aug 2006 13:46:46 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
<font face="Arial,sans-serif"><font size="2">Jeff,<br>
<br>
I got following warning when using the latest version of Abaor (i
didn't have this warning with old version). I think it's ok. Just want
to confirm with you.<br>
<br>
XML Parser Warning on line 1: Declared encoding "UTF-8" does not match
actual one "ASCII"; this might not be an error.<br>
<br>
thanks,<br>
Tony<br>
<br>
<span type="cite">Jeff Butler wrote on 8/24/2006, 7:42 PM:</span>
</font></font>
<p><font face="Arial,sans-serif" size="2"></font></p>
<blockquote type="cite"  style="border-left: thin solid blue; padding-left: 10px; margin-left:
0pt;"><font  face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">I'm glad you like iBATIS
and Abator!</font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">Unfortunately, adding the
methods to the DaoManager interface is not that easy.&nbsp; The DAO
transaction classes are implemented by other transaction managers
besides iBATIS - and the correspoding methods do not exist in some of
the other implementations.
  </font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">I think that the best
solution is to create a seperate DAO interface/implementation that has
the batch methods you need.&nbsp; Methods in that DAO could start
transactions, start batches, execute batches, and interact with any
other DAO (like Abator generated DAOs).
  </font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2">Jeff Butler</font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2"><br>
  <br>
&nbsp;</font></div>
  <font face="Arial,sans-serif" size="2"></font>
  <div><font face="Arial,sans-serif" size="2"><span class="gmail_quote">On
8/23/06, <b class="gmail_sendername">Tony Qian</b> &lt;<a  href="mailto:daqiqian2@aol.com">daqiqian2@aol.com</a>&gt;
wrote:</span>
  </font>
  <blockquote class="gmail_quote"  style="border-left: 1px solid rgb(204, 204, 204); margin:
0px 0px 0px 0.8ex; padding-left: 1ex;"><font  face="Arial,sans-serif" size="2"></font>
    <div><font face="Arial,sans-serif" size="2"></font>
    <div><font face="Arial,sans-serif" size="2"><font size="2">Jeff,<br>
    <br>
I have used Abator and iBATIS for more than half year for several
projects. I love it! Really appreciate you guy's hard work. When I use
Abator to generate all codes, i got one problem for batch. I need to go
through the source code to figure out how to execute batch (When using
sqlMapClient, it is so easy). I think others have same experience. Here
is my question. Is it possible to put startBatch(), executeBatch() and
executeBatchDetailed() in DaoManager class, just like
daoManager.startTransaction()?<br>
    <br>
Thanks,<br>
Tony<br>
    <br>
    <br>
    <span type="cite">Jeff Butler wrote on 8/20/2006, 7:42 PM:</span> </font></font></div>
    <font face="Arial,sans-serif" size="2"></font>
    <div><font face="Arial,sans-serif" size="2"><span class="e"  id="q_10d3ced9b3034863_1">
    <blockquote  style="border-left: thin solid blue; padding-left: 10px; margin-left:
0pt;"  type="cite">
      <div><font face="Arial,sans-serif" size="2">Abator version 1.0.0
is now available.&nbsp; This is a significant upgrade from version 0.6.5 and
includes many new features.&nbsp; Noteworthy new features include:</font></div>
      <font face="Arial,sans-serif" size="2"></font>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div><font face="Arial,sans-serif" size="2">- Ability to generate
code for Java 5 including the use of parameterized types</font></div>
      <div><font face="Arial,sans-serif" size="2">- Ability to generate
different types of domain models, including a flat model if you dislike
separate classes for primary keys and BLOBs</font></div>
      <font face="Arial,sans-serif" size="2"></font>
      <div><font face="Arial,sans-serif" size="2">-&nbsp;VASTLY improved "by
example" methods.&nbsp; The new methods can generate virtually any where
clause, including INs and BETWEENs, and the generated DOAs and SqlMaps
are MUCH smaller.&nbsp; The new example class can get large, but&nbsp;most
functions for the dynamic where clause are encapsulated into that class
(this support requires that you use iBATIS 2.2.0 or higher for the
nested &lt;iterate&gt; support)</font></div>
      <div><font face="Arial,sans-serif" size="2">-&nbsp;VASTLY
improved&nbsp;documentation for Abator, including a complete list of new
features,&nbsp;is now available online here:</font></div>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div>
      <div><font face="Arial,sans-serif" size="2"><a  onclick="return top.js.OpenExtLink(window,event,this)"
 href="http://ibatis.apache.org/docs/tools/abator/" target="_blank">http://ibatis.apache.org/docs/tools/abator/</a></font>
      </div>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div><font face="Arial,sans-serif" size="2">Please read the
"What's New?" section of the online docs before upgrading -&nbsp;some of the
default options have changed, and this could cause code to be generated
that is not completely the same as prior versions of Abator.&nbsp; There are
options available to generate code exactly as in prior versions if you
so desire. </font></div>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div><font face="Arial,sans-serif" size="2">See this page for
download links and other information:</font></div>
      </div>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div><font face="Arial,sans-serif" size="2"><a  onclick="return top.js.OpenExtLink(window,event,this)"
 href="http://ibatis.apache.org/abator.html" target="_blank">http://ibatis.apache.org/abator.html</a></font></div>
      <font face="Arial,sans-serif" size="2"></font>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div><font face="Arial,sans-serif" size="2">Thanks for all the
comments and feedback about Abator.&nbsp; I've Incorporated everything I
thought was reasonable into the new release.</font></div>
      <font face="Arial,sans-serif" size="2"></font>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div><font face="Arial,sans-serif" size="2">Jeff Butler</font></div>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
      <div><font face="Arial,sans-serif" size="2">&nbsp;</font></div>
    </blockquote>
    </span></font></div>
    <font face="Arial,sans-serif" size="2"></font></div>
  </blockquote>
  </div>
  <font face="Arial,sans-serif" size="2"><br>
  </font></blockquote>
</body>
</html>


Mime
View raw message