<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-368</id>
	<title>Nabble - iBATIS - Dev</title>
	<updated>2009-11-26T08:25:31Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/iBATIS---Dev-f368.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/iBATIS---Dev-f368.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26531816</id>
	<title>Re: Ibatis with my own pool</title>
	<published>2009-11-26T08:25:31Z</published>
	<updated>2009-11-26T08:25:31Z</updated>
	<author>
		<name>nmaves</name>
	</author>
	<content type="html">This does not belong on the development list.  Please move the conversation to the users list and don&amp;#39;t post the same question on multiple lists.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 26, 2009 at 8:18 AM, Kambix &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531816&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kambiz.tavakoli@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
Hi,&lt;br&gt;
&lt;br&gt;
the &amp;lt;dataSource type=&amp;quot;SIMPLE&amp;quot;&amp;gt;  uses the iBATIS built-in Connection Pool.&lt;br&gt;
&lt;br&gt;
You can use&lt;br&gt;
&amp;lt;dataSource type=&amp;quot;DBCP&amp;quot;&amp;gt; for jakarta commons database connection pool&lt;br&gt;
or&lt;br&gt;
&amp;lt;dataSource type=&amp;quot;JNDI&amp;quot;&amp;gt; if you have a Container-based data source located&lt;br&gt;
via JNDI&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
kambiz&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Jeremy Jardin wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; This is the part of my config file I&amp;#39;d like to change :&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;lt;transactionManager type=&amp;quot;JDBC&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;               &amp;lt;dataSource type=&amp;quot;SIMPLE&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;                       &amp;lt;property name=&amp;quot;JDBC.Driver&amp;quot; value=&amp;quot;${driver}&amp;quot; /&amp;gt;&lt;br&gt;
&amp;gt;                       &amp;lt;property name=&amp;quot;JDBC.ConnectionURL&amp;quot; value=&amp;quot;${url}&amp;quot; /&amp;gt;&lt;br&gt;
&amp;gt;                       &amp;lt;property name=&amp;quot;JDBC.Username&amp;quot; value=&amp;quot;${username}&amp;quot; /&amp;gt;&lt;br&gt;
&amp;gt;                       &amp;lt;property name=&amp;quot;JDBC.Password&amp;quot; value=&amp;quot;${password}&amp;quot; /&amp;gt;&lt;br&gt;
&amp;gt;                       &amp;lt;property name=&amp;quot;JDBC.DefaultAutoCommit&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br&gt;
&amp;gt;               &amp;lt;/dataSource&amp;gt;&lt;br&gt;
&amp;gt; &amp;lt;/transactionManager&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I don&amp;#39;t want to use that datasource, i just want to connect my common pool&lt;br&gt;
&amp;gt; I set&lt;br&gt;
&amp;gt; as the connectionUrl..&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Jeremy Jardin wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hi,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I&amp;#39;d like toconfigure ibatis with my own connection pool, so I set my pool&lt;br&gt;
&amp;gt;&amp;gt; as the connnectionUrl in the sqlMapConfig.xml file.&lt;br&gt;
&amp;gt;&amp;gt; But, unfortunately, it seems that ibatis still use his own pool ?&lt;br&gt;
&amp;gt;&amp;gt; Can I disable the ibatis pool ?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Thx,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Jeremy&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;/div&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/Ibatis-with-my-own-pool-tp26525311p26530882.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Ibatis-with-my-own-pool-tp26525311p26530882.html&lt;/a&gt;&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sent from the iBATIS - Dev mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531816&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531816&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-with-my-own-pool-tp26525311p26531816.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530882</id>
	<title>Re: Ibatis with my own pool</title>
	<published>2009-11-26T07:18:02Z</published>
	<updated>2009-11-26T07:18:02Z</updated>
	<author>
		<name>Kambix</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;the &amp;lt;dataSource type=&amp;quot;SIMPLE&amp;quot;&amp;gt;	uses the iBATIS built-in Connection Pool.
&lt;br&gt;&lt;br&gt;You can use 
&lt;br&gt;&amp;lt;dataSource type=&amp;quot;DBCP&amp;quot;&amp;gt; for jakarta commons database connection pool
&lt;br&gt;or
&lt;br&gt;&amp;lt;dataSource type=&amp;quot;JNDI&amp;quot;&amp;gt; if you have a Container-based data source located via JNDI
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;kambiz
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Jeremy Jardin&quot;&gt;&lt;br&gt;This is the part of my config file I'd like to change : 
&lt;br&gt;&lt;br&gt;&amp;lt;transactionManager type=&amp;quot;JDBC&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dataSource type=&amp;quot;SIMPLE&amp;quot;&amp;gt;			
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Driver&amp;quot; value=&amp;quot;${driver}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.ConnectionURL&amp;quot; value=&amp;quot;${url}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Username&amp;quot; value=&amp;quot;${username}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Password&amp;quot; value=&amp;quot;${password}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.DefaultAutoCommit&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/dataSource&amp;gt;
&lt;br&gt;&amp;lt;/transactionManager&amp;gt;
&lt;br&gt;&lt;br&gt;I don't want to use that datasource, i just want to connect my common pool I set
&lt;br&gt;as the connectionUrl..
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Jeremy Jardin wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;I'd like toconfigure ibatis with my own connection pool, so I set my pool as the connnectionUrl in the sqlMapConfig.xml file.
&lt;br&gt;But, unfortunately, it seems that ibatis still use his own pool ?
&lt;br&gt;Can I disable the ibatis pool ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thx, 
&lt;br&gt;&lt;br&gt;Jeremy
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-with-my-own-pool-tp26525311p26530882.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530367</id>
	<title>Re: Ibatis with my own pool</title>
	<published>2009-11-26T06:42:40Z</published>
	<updated>2009-11-26T06:42:40Z</updated>
	<author>
		<name>Jeremy Jardin</name>
	</author>
	<content type="html">This is the part of my config file I'd like to change : 
&lt;br&gt;&lt;br&gt;&amp;lt;transactionManager type=&amp;quot;JDBC&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dataSource type=&amp;quot;SIMPLE&amp;quot;&amp;gt;			
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Driver&amp;quot; value=&amp;quot;${driver}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.ConnectionURL&amp;quot; value=&amp;quot;${url}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Username&amp;quot; value=&amp;quot;${username}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Password&amp;quot; value=&amp;quot;${password}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.DefaultAutoCommit&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/dataSource&amp;gt;
&lt;br&gt;&amp;lt;/transactionManager&amp;gt;
&lt;br&gt;&lt;br&gt;I don't want to use that datasource, i just want to connect my common pool I set
&lt;br&gt;as the connectionUrl..
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Jeremy Jardin wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;I'd like toconfigure ibatis with my own connection pool, so I set my pool as the connnectionUrl in the sqlMapConfig.xml file.
&lt;br&gt;But, unfortunately, it seems that ibatis still use his own pool ?
&lt;br&gt;Can I disable the ibatis pool ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thx, 
&lt;br&gt;&lt;br&gt;Jeremy
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-with-my-own-pool-tp26525311p26530367.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525311</id>
	<title>Ibatis with my own pool</title>
	<published>2009-11-26T01:23:22Z</published>
	<updated>2009-11-26T01:23:22Z</updated>
	<author>
		<name>Jeremy Jardin</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'd like toconfigure ibatis with my own connection pool, so I set my pool as the connnectionUrl in the sqlMapConfig.xml file.
&lt;br&gt;But, unfortunately, it seems that ibatis still use his own pool ?
&lt;br&gt;Can I disable the ibatis pool ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thx, 
&lt;br&gt;&lt;br&gt;Jeremy</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-with-my-own-pool-tp26525311p26525311.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525296</id>
	<title>Ibatis with my own pool</title>
	<published>2009-11-26T01:02:30Z</published>
	<updated>2009-11-26T01:02:30Z</updated>
	<author>
		<name>Jeremy Jardin</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm trying to use Ibatis with my own pool, and I don't want ibatis to handle it itself.
&lt;br&gt;So, in the sqlmapConfig.xml file, I set the URL of my common pool.
&lt;br&gt;&lt;br&gt;But, I can see that ibatis still manage my connections, and I can't close it explicitely ?
&lt;br&gt;What could I do ?
&lt;br&gt;&lt;br&gt;Thx,
&lt;br&gt;&lt;br&gt;Jeremy</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-with-my-own-pool-tp26525296p26525296.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525291</id>
	<title>Ibatis with my own pool</title>
	<published>2009-11-26T00:59:20Z</published>
	<updated>2009-11-26T00:59:20Z</updated>
	<author>
		<name>Jeremy Jardin</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm trying to use Ibatis with my own pool, and I don't want ibatis to handle it itself.
&lt;br&gt;So, in the sqlmapConfig.xml file, I set the URL of my common pool.
&lt;br&gt;&lt;br&gt;But, I can see that ibatis still manage my connections, and I can't close it explicitely ?
&lt;br&gt;What could I do ?
&lt;br&gt;&lt;br&gt;Thx,
&lt;br&gt;&lt;br&gt;Jeremy</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-with-my-own-pool-tp26525291p26525291.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525290</id>
	<title>Ibatis with my own pool</title>
	<published>2009-11-26T00:58:27Z</published>
	<updated>2009-11-26T00:58:27Z</updated>
	<author>
		<name>Jeremy Jardin</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm trying to use Ibatis with my own pool, and I don't want ibatis to handle it itself.
&lt;br&gt;So, in the sqlmapConfig.xml file, I set the URL of my common pool.
&lt;br&gt;&lt;br&gt;But, I can see that ibatis still manage my connections, and I can't close it explicitely ?
&lt;br&gt;What could I do ?
&lt;br&gt;&lt;br&gt;Thx,
&lt;br&gt;&lt;br&gt;Jeremy</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-with-my-own-pool-tp26525290p26525290.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26396919</id>
	<title>[iBatis 3] Cache troubles</title>
	<published>2009-11-17T12:23:14Z</published>
	<updated>2009-11-17T12:23:14Z</updated>
	<author>
		<name>Simone Tripodi</name>
	</author>
	<content type="html">Hi all guys,
&lt;br&gt;I've been doing some experiment using the last beta of iBatis 3 and
&lt;br&gt;I've the feeling you happily fixed the inglorious IBATIS-555 issue
&lt;br&gt;about the CacheKey unique hashcode generation on different JVMs :)
&lt;br&gt;&lt;br&gt;Now I've been porting my old stuff to the new iBatis implementation
&lt;br&gt;and everything has worked fine until I plugged-in the cache, I really
&lt;br&gt;hope you can help me to understand where I'm wrong: I implemented a
&lt;br&gt;Memcached-based Cache class, wrapping the spy memcached client
&lt;br&gt;(code.google.com/p/spymemcached/), injecting a singleton instance to
&lt;br&gt;the Configuration programmatically using google-guice 2 and finally
&lt;br&gt;referenced in the sql-map via the snippet:
&lt;br&gt;&lt;br&gt;&amp;lt;cache-ref namespace=&amp;quot;memcached&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;What I noticed, reading the logs, is the following:
&lt;br&gt;* when flushing the statements defined in the sql map, is called the
&lt;br&gt;method org.apache.ibatis.cache.Cache#clear(): that makes me a little
&lt;br&gt;worried, because in a memcached context I ideally want to use just one
&lt;br&gt;memcached client instance and reference it in the whole application,
&lt;br&gt;when performing an insert operation I wouldn't flush the whole cache,
&lt;br&gt;but rather remove only the interested statements; since I'm still used
&lt;br&gt;to the old iBatis2 cache model, how can I fix it?
&lt;br&gt;* no data is cached, the method
&lt;br&gt;org.apache.ibatis.cache.Cache#putObject(Object,Object) is never
&lt;br&gt;called;
&lt;br&gt;&lt;br&gt;All the code I've been producing is public, you can find it on
&lt;br&gt;google-code[1], and on the test directory you can find the scenario[2]
&lt;br&gt;I described
&lt;br&gt;&lt;br&gt;Thanks in advance for your help, any kind of suggestion will be very
&lt;br&gt;appreciated!!!
&lt;br&gt;Simone
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://code.google.com/p/ibaguice/source/browse/#svn/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/ibaguice/source/browse/#svn/trunk&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://code.google.com/p/ibaguice/source/browse/trunk/src/test/java/com/ibaguice/SimpleTestCase.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/ibaguice/source/browse/trunk/src/test/java/com/ibaguice/SimpleTestCase.java&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.google.com/profiles/simone.tripodi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/profiles/simone.tripodi&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26396919&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26396919&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-iBatis-3--Cache-troubles-tp26396919p26396919.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26185524</id>
	<title>Bug IBATIS-679</title>
	<published>2009-11-03T11:49:59Z</published>
	<updated>2009-11-03T11:49:59Z</updated>
	<author>
		<name>Poitras Christian</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16939&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;Hi,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;The correction made 
to bug &lt;A href=&quot;https://issues.apache.org/jira/browse/IBATIS-679&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;U&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;SPAN lang=EN&gt;https://issues.apache.org/jira/browse/IBATIS-679&lt;/U&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;is 
not appropriate in BETA 5.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;It enters an 
infinite loop when 2 resultMap point to each other with discrimator 
tags.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;For example 
:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;resultMap 
id=&quot;personMap&quot; type=&quot;Person&quot;&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;id property=&quot;id&quot; 
column=&quot;id&quot;/&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result 
property=&quot;firstName&quot; column=&quot;firstName&quot;/&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result 
property=&quot;lastName&quot; column=&quot;lastName&quot;/&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;discriminator 
column=&quot;personType&quot; javaType=&quot;String&quot;&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;case 
value=&quot;EmployeeType&quot; resultMap=&quot;employeeMap&quot;/&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/discriminator&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/resultMap&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;resultMap id=&quot;employeeMap&quot; type=&quot;Employee&quot; 
extends=&quot;personMap&quot;&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result 
property=&quot;jobTitle&quot; column=&quot;jobTitle&quot;/&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;discriminator 
column=&quot;employeeType&quot; javaType=&quot;String&quot;&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;case 
value=&quot;PersonType&quot; resultMap=&quot;personMap&quot;/&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/discriminator&amp;gt; 
&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/resultMap&amp;gt; &lt;BR&gt;&lt;BR&gt;And a select that returns 
'EmployeeType' as personType and 'PersonType' as employeeType.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;I've also proposed a 
correction for this bug.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;Is it possible to 
reopen the bug and apply the patch?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;Thanks.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=633144519-03112009&gt;&lt;FONT face=Arial size=2&gt;Christian&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-IBATIS-679-tp26185524p26185524.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25839077</id>
	<title>Default value for nested property: #query.maxResults:int:0#</title>
	<published>2009-10-10T15:27:55Z</published>
	<updated>2009-10-10T15:27:55Z</updated>
	<author>
		<name>yuridewit</name>
	</author>
	<content type="html">I am having some difficulties trying to set a default for a nested property. I basically have a a query object that contains a maxResults property and I pass this query object in a Map to the query. My query contains:&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;#query.maxResults:int:0#&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;When query is null, I am seeing a null value being passed and not 0. Am I missing something or is this as designed?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks in advance,&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Default-value-for-nested-property%3A--query.maxResults%3Aint%3A0--tp25839077p25839077.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25731410</id>
	<title>Caching improvements</title>
	<published>2009-10-03T11:27:56Z</published>
	<updated>2009-10-03T11:27:56Z</updated>
	<author>
		<name>Simone Tripodi</name>
	</author>
	<content type="html">Hi all folks,
&lt;br&gt;I've been successfully using iBatis2 for 2 years - I'll never find the
&lt;br&gt;right word to express my gratefulness to iBatis community to have
&lt;br&gt;created such a powerful tool - and I'd like now to contribute sharing
&lt;br&gt;with you some cache issues I've been finding. Since I already happily
&lt;br&gt;contributed to Apache Cocoon3, I hope I'll be able to give my
&lt;br&gt;contributions also to this fantastic project :)
&lt;br&gt;&lt;br&gt;Let me introduce the scenario: I realized a RESTful webservices using
&lt;br&gt;Jersey and iBatis for a customer client, who asked me to replicate the
&lt;br&gt;application on more than one tomcat and using a cache backend,
&lt;br&gt;specifically Memcached; so, I implemented a proper
&lt;br&gt;com.ibatis.sqlmap.engine.cache.CacheController wrapping the spy
&lt;br&gt;memcached client (code.google.com/p/spymemcached/). With this
&lt;br&gt;architecture I got 2 problems:
&lt;br&gt;&lt;br&gt;1) Null objects: once put the NULL_OBJECT (declared on
&lt;br&gt;com.ibatis.sqlmap.engine.cache.CacheModel in line 39) to Memcached,
&lt;br&gt;when retrieved the comparison
&lt;br&gt;&lt;br&gt;value != NULL_OBJECT (declared on
&lt;br&gt;com.ibatis.sqlmap.engine.cache.CacheModel#getObject(CacheKey) line
&lt;br&gt;267)
&lt;br&gt;&lt;br&gt;doesn't work anymore because the JVM lost the reference :( I resolved
&lt;br&gt;by patching this class, modifying the code in this way:
&lt;br&gt;&lt;br&gt;!NULL.equals(value)
&lt;br&gt;&lt;br&gt;I know that in a easier scenario it is less efficent, but in that way
&lt;br&gt;it works for all cases.
&lt;br&gt;&lt;br&gt;2) Cache key generation: I found an already open issue on Jira
&lt;br&gt;(&lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-555&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-555&lt;/a&gt;), I got exacly the
&lt;br&gt;same problem because the application replication on different servers.
&lt;br&gt;I'd like to know exactly which objects are involved, so I'm able to
&lt;br&gt;patch the code.
&lt;br&gt;&lt;br&gt;I thanks everyone can help me, I'll provide a patch on Jira as soon as
&lt;br&gt;I'll finish the tests.
&lt;br&gt;Have a nice weekend!!! Best regards,
&lt;br&gt;Simone
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.google.com/profiles/simone.tripodi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/profiles/simone.tripodi&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25731410&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25731410&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Caching-improvements-tp25731410p25731410.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642338</id>
	<title>Re: Programmatically add a statement</title>
	<published>2009-09-28T01:38:19Z</published>
	<updated>2009-09-28T01:38:19Z</updated>
	<author>
		<name>Joseph Piron</name>
	</author>
	<content type="html">Thanks, I&amp;#39;ll do this.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/28 Clinton Begin &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642338&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;clinton.begin@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

You should probably post this to the user list, rather than the dev list.  There&amp;#39;s more people on it, and it will also make it clear which version you&amp;#39;re using. Scanning this thread I see references to both Java and .NET...&lt;br&gt;

&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;Clinton&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 28, 2009 at 2:01 AM, Joseph Piron &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642338&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
No one knows how to do this ? &lt;br&gt;I really need help as I&amp;#39;m rather stuck here... :)&lt;br&gt;&lt;br&gt;Br all,&lt;br&gt;Joseph PIRON.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Yuri de Wit &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642338&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ydewit@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;


&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I am also interested in this. I would like to have a templatized CRUD sqlmap that can generate a final sqlmap for a specific POJO based on the POJO fields. Is creating statement dynamically something that can be done or has been done in the past?&lt;div&gt;




thanks.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Sep 25, 2009 at 4:34 AM, Joseph Piron &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642338&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;



&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello Kambiz, &lt;br&gt;&lt;br&gt;thanks for your answer. &lt;br&gt;Unfortunately, I&amp;#39;m not able to go further. &lt;br&gt;Indeed, the CachingStatement has a constructor which gets a MappedStatement as argument and I don&amp;#39;t find the BaseStatement in the IBatisNet.DataMapper.MappedStatements namespace.&lt;br&gt;





Are you sure this is not only available in Java ?&lt;br&gt;Would you have any example for me as a guideline ?&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Kambiz Tavakoli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642338&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kambiz.Tavakoli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;




&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



&lt;div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;Hello Joseph,&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;MappedStatement is an 
interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can try &lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/BaseStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;BaseStatement&lt;/a&gt; or 
&lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/CachingStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;CachingStatement&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;






&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can also use your own 
Class implementing the MappedStatement interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;kambiz&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;&lt;/font&gt; &lt;/p&gt;
&lt;div&gt; &lt;/div&gt;&lt;br&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot; lang=&quot;de&quot;&gt;
&lt;hr&gt;
&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;b&gt;Von:&lt;/b&gt; Joseph Piron 
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642338&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;] &lt;br&gt;&lt;b&gt;Gesendet:&lt;/b&gt; Donnerstag, 24. September 
2009 22:03&lt;br&gt;&lt;b&gt;An:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642338&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;Betreff:&lt;/b&gt; 
Programmatically add a statement&lt;br&gt;&lt;/font&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;Dears, &lt;br&gt;&lt;br&gt;I&amp;#39;m looking for some information on ibatisnet 
api.&lt;br&gt;Indeed, I&amp;#39;m trying to add a statement in runtime and I haven&amp;#39;t found 
enough information on how to do this... :)&lt;br&gt;I&amp;#39;ve tried the AddMappedStatement 
method, but the MappedStatement class doesn&amp;#39;t seem to have a 
constructor..&lt;br&gt;&lt;br&gt;Could someone help me ?&lt;br&gt;&lt;br&gt;Thanks all! &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatically-add-a-statement-tp25601728p25642338.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642013</id>
	<title>Re: Programmatically add a statement</title>
	<published>2009-09-28T01:03:06Z</published>
	<updated>2009-09-28T01:03:06Z</updated>
	<author>
		<name>Clinton Begin</name>
	</author>
	<content type="html">You should probably post this to the user list, rather than the dev list.  There&amp;#39;s more people on it, and it will also make it clear which version you&amp;#39;re using. Scanning this thread I see references to both Java and .NET...&lt;br&gt;
&lt;br&gt;Clinton&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 28, 2009 at 2:01 AM, Joseph Piron &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642013&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
No one knows how to do this ? &lt;br&gt;I really need help as I&amp;#39;m rather stuck here... :)&lt;br&gt;&lt;br&gt;Br all,&lt;br&gt;Joseph PIRON.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Yuri de Wit &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642013&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ydewit@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I am also interested in this. I would like to have a templatized CRUD sqlmap that can generate a final sqlmap for a specific POJO based on the POJO fields. Is creating statement dynamically something that can be done or has been done in the past?&lt;div&gt;


thanks.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Sep 25, 2009 at 4:34 AM, Joseph Piron &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642013&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello Kambiz, &lt;br&gt;&lt;br&gt;thanks for your answer. &lt;br&gt;Unfortunately, I&amp;#39;m not able to go further. &lt;br&gt;Indeed, the CachingStatement has a constructor which gets a MappedStatement as argument and I don&amp;#39;t find the BaseStatement in the IBatisNet.DataMapper.MappedStatements namespace.&lt;br&gt;



Are you sure this is not only available in Java ?&lt;br&gt;Would you have any example for me as a guideline ?&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Kambiz Tavakoli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642013&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kambiz.Tavakoli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;


&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



&lt;div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;#0000ff&quot; face=&quot;Arial&quot;&gt;&lt;span&gt;Hello Joseph,&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;#0000ff&quot; face=&quot;Arial&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;MappedStatement is an 
interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can try &lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/BaseStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;BaseStatement&lt;/a&gt; or 
&lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/CachingStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;CachingStatement&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;




&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can also use your own 
Class implementing the MappedStatement interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; color=&quot;#0000ff&quot; face=&quot;Arial&quot;&gt;&lt;span&gt;kambiz&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;&lt;/font&gt; &lt;/p&gt;
&lt;div&gt; &lt;/div&gt;&lt;br&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot; lang=&quot;de&quot;&gt;
&lt;hr&gt;
&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;b&gt;Von:&lt;/b&gt; Joseph Piron 
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642013&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;] &lt;br&gt;&lt;b&gt;Gesendet:&lt;/b&gt; Donnerstag, 24. September 
2009 22:03&lt;br&gt;&lt;b&gt;An:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642013&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;Betreff:&lt;/b&gt; 
Programmatically add a statement&lt;br&gt;&lt;/font&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;Dears, &lt;br&gt;&lt;br&gt;I&amp;#39;m looking for some information on ibatisnet 
api.&lt;br&gt;Indeed, I&amp;#39;m trying to add a statement in runtime and I haven&amp;#39;t found 
enough information on how to do this... :)&lt;br&gt;I&amp;#39;ve tried the AddMappedStatement 
method, but the MappedStatement class doesn&amp;#39;t seem to have a 
constructor..&lt;br&gt;&lt;br&gt;Could someone help me ?&lt;br&gt;&lt;br&gt;Thanks all! &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatically-add-a-statement-tp25601728p25642013.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25641991</id>
	<title>Re: Programmatically add a statement</title>
	<published>2009-09-28T01:01:03Z</published>
	<updated>2009-09-28T01:01:03Z</updated>
	<author>
		<name>Joseph Piron</name>
	</author>
	<content type="html">No one knows how to do this ? &lt;br&gt;I really need help as I&amp;#39;m rather stuck here... :)&lt;br&gt;&lt;br&gt;Br all,&lt;br&gt;Joseph PIRON.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Yuri de Wit &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25641991&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ydewit@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I am also interested in this. I would like to have a templatized CRUD sqlmap that can generate a final sqlmap for a specific POJO based on the POJO fields. Is creating statement dynamically something that can be done or has been done in the past?&lt;div&gt;

thanks.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Sep 25, 2009 at 4:34 AM, Joseph Piron &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25641991&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello Kambiz, &lt;br&gt;&lt;br&gt;thanks for your answer. &lt;br&gt;Unfortunately, I&amp;#39;m not able to go further. &lt;br&gt;Indeed, the CachingStatement has a constructor which gets a MappedStatement as argument and I don&amp;#39;t find the BaseStatement in the IBatisNet.DataMapper.MappedStatements namespace.&lt;br&gt;


Are you sure this is not only available in Java ?&lt;br&gt;Would you have any example for me as a guideline ?&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Kambiz Tavakoli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25641991&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kambiz.Tavakoli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;

&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



&lt;div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;Hello Joseph,&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;MappedStatement is an 
interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can try &lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/BaseStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;BaseStatement&lt;/a&gt; or 
&lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/CachingStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;CachingStatement&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;



&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can also use your own 
Class implementing the MappedStatement interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;kambiz&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;&lt;/font&gt; &lt;/p&gt;
&lt;div&gt; &lt;/div&gt;&lt;br&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot; lang=&quot;de&quot;&gt;
&lt;hr&gt;
&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;b&gt;Von:&lt;/b&gt; Joseph Piron 
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25641991&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;] &lt;br&gt;&lt;b&gt;Gesendet:&lt;/b&gt; Donnerstag, 24. September 
2009 22:03&lt;br&gt;&lt;b&gt;An:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25641991&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;Betreff:&lt;/b&gt; 
Programmatically add a statement&lt;br&gt;&lt;/font&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;Dears, &lt;br&gt;&lt;br&gt;I&amp;#39;m looking for some information on ibatisnet 
api.&lt;br&gt;Indeed, I&amp;#39;m trying to add a statement in runtime and I haven&amp;#39;t found 
enough information on how to do this... :)&lt;br&gt;I&amp;#39;ve tried the AddMappedStatement 
method, but the MappedStatement class doesn&amp;#39;t seem to have a 
constructor..&lt;br&gt;&lt;br&gt;Could someone help me ?&lt;br&gt;&lt;br&gt;Thanks all! &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatically-add-a-statement-tp25601728p25641991.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25614281</id>
	<title>Re: Programmatically add a statement</title>
	<published>2009-09-25T08:37:07Z</published>
	<updated>2009-09-25T08:37:07Z</updated>
	<author>
		<name>yuridewit</name>
	</author>
	<content type="html">I am also interested in this. I would like to have a templatized CRUD sqlmap that can generate a final sqlmap for a specific POJO based on the POJO fields. Is creating statement dynamically something that can be done or has been done in the past?&lt;div&gt;
thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Sep 25, 2009 at 4:34 AM, Joseph Piron &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25614281&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Hello Kambiz, &lt;br&gt;&lt;br&gt;thanks for your answer. &lt;br&gt;Unfortunately, I&amp;#39;m not able to go further. &lt;br&gt;Indeed, the CachingStatement has a constructor which gets a MappedStatement as argument and I don&amp;#39;t find the BaseStatement in the IBatisNet.DataMapper.MappedStatements namespace.&lt;br&gt;

Are you sure this is not only available in Java ?&lt;br&gt;Would you have any example for me as a guideline ?&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Kambiz Tavakoli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25614281&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kambiz.Tavakoli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;



&lt;div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;Hello Joseph,&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;MappedStatement is an 
interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can try &lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/BaseStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;BaseStatement&lt;/a&gt; or 
&lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/CachingStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;CachingStatement&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;


&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can also use your own 
Class implementing the MappedStatement interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;kambiz&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;&lt;/font&gt; &lt;/p&gt;
&lt;div&gt; &lt;/div&gt;&lt;br&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot; lang=&quot;de&quot;&gt;
&lt;hr&gt;
&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;b&gt;Von:&lt;/b&gt; Joseph Piron 
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25614281&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;] &lt;br&gt;&lt;b&gt;Gesendet:&lt;/b&gt; Donnerstag, 24. September 
2009 22:03&lt;br&gt;&lt;b&gt;An:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25614281&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;Betreff:&lt;/b&gt; 
Programmatically add a statement&lt;br&gt;&lt;/font&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;Dears, &lt;br&gt;&lt;br&gt;I&amp;#39;m looking for some information on ibatisnet 
api.&lt;br&gt;Indeed, I&amp;#39;m trying to add a statement in runtime and I haven&amp;#39;t found 
enough information on how to do this... :)&lt;br&gt;I&amp;#39;ve tried the AddMappedStatement 
method, but the MappedStatement class doesn&amp;#39;t seem to have a 
constructor..&lt;br&gt;&lt;br&gt;Could someone help me ?&lt;br&gt;&lt;br&gt;Thanks all! &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatically-add-a-statement-tp25601728p25614281.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25608432</id>
	<title>Re: Programmatically add a statement</title>
	<published>2009-09-25T01:34:51Z</published>
	<updated>2009-09-25T01:34:51Z</updated>
	<author>
		<name>Joseph Piron</name>
	</author>
	<content type="html">Hello Kambiz, &lt;br&gt;&lt;br&gt;thanks for your answer. &lt;br&gt;Unfortunately, I&amp;#39;m not able to go further. &lt;br&gt;Indeed, the CachingStatement has a constructor which gets a MappedStatement as argument and I don&amp;#39;t find the BaseStatement in the IBatisNet.DataMapper.MappedStatements namespace.&lt;br&gt;
Are you sure this is not only available in Java ?&lt;br&gt;Would you have any example for me as a guideline ?&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/25 Kambiz Tavakoli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25608432&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kambiz.Tavakoli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



&lt;div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;Hello Joseph,&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;MappedStatement is an 
interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can try &lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/BaseStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;BaseStatement&lt;/a&gt; or 
&lt;a title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/CachingStatement.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;CachingStatement&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;You can also use your own 
Class implementing the MappedStatement interface.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;font color=&quot;#0000ff&quot; face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;kambiz&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;&lt;/font&gt; &lt;/p&gt;
&lt;div&gt; &lt;/div&gt;&lt;br&gt;
&lt;div dir=&quot;ltr&quot; align=&quot;left&quot; lang=&quot;de&quot;&gt;
&lt;hr&gt;
&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;b&gt;Von:&lt;/b&gt; Joseph Piron 
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25608432&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;] &lt;br&gt;&lt;b&gt;Gesendet:&lt;/b&gt; Donnerstag, 24. September 
2009 22:03&lt;br&gt;&lt;b&gt;An:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25608432&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;Betreff:&lt;/b&gt; 
Programmatically add a statement&lt;br&gt;&lt;/font&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;
&lt;div&gt;&lt;/div&gt;Dears, &lt;br&gt;&lt;br&gt;I&amp;#39;m looking for some information on ibatisnet 
api.&lt;br&gt;Indeed, I&amp;#39;m trying to add a statement in runtime and I haven&amp;#39;t found 
enough information on how to do this... :)&lt;br&gt;I&amp;#39;ve tried the AddMappedStatement 
method, but the MappedStatement class doesn&amp;#39;t seem to have a 
constructor..&lt;br&gt;&lt;br&gt;Could someone help me ?&lt;br&gt;&lt;br&gt;Thanks all! &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatically-add-a-statement-tp25601728p25608432.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25608005</id>
	<title>AW: Programmatically add a statement</title>
	<published>2009-09-25T00:57:04Z</published>
	<updated>2009-09-25T00:57:04Z</updated>
	<author>
		<name>Kambix</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content=&quot;text/html; charset=us-ascii&quot; http-equiv=Content-Type&gt;
&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18812&quot;&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT color=#0000ff size=2 face=Arial&gt;&lt;SPAN class=087515307-25092009&gt;Hello Joseph,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT color=#0000ff size=2 face=Arial&gt;&lt;SPAN class=087515307-25092009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=087515307-25092009&gt;MappedStatement is an 
interface.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=087515307-25092009&gt;You can try &lt;A title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/BaseStatement.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;BaseStatement&lt;/A&gt;&amp;nbsp;or 
&lt;A title=&quot;class in com.ibatis.sqlmap.engine.mapping.statement&quot; href=&quot;http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/statement/CachingStatement.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;CachingStatement&lt;/A&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=087515307-25092009&gt;You can also use your own 
Class implementing the MappedStatement&amp;nbsp;interface.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=087515307-25092009&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=087515307-25092009&gt;&lt;/SPAN&gt;&lt;FONT color=#0000ff size=2 face=Arial&gt;&lt;SPAN class=087515307-25092009&gt;kambiz&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;!-- Converted from text/plain format --&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;BR&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR&gt;
&lt;DIV dir=ltr lang=de class=OutlookMessageHeader align=left&gt;
&lt;HR tabIndex=-1&gt;
&lt;FONT size=2 face=Tahoma&gt;&lt;B&gt;Von:&lt;/B&gt; Joseph Piron 
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25608005&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.piron@...&lt;/a&gt;] &lt;BR&gt;&lt;B&gt;Gesendet:&lt;/B&gt; Donnerstag, 24. September 
2009 22:03&lt;BR&gt;&lt;B&gt;An:&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25608005&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;Betreff:&lt;/B&gt; 
Programmatically add a statement&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;Dears, &lt;BR&gt;&lt;BR&gt;I'm looking for some information on ibatisnet 
api.&lt;BR&gt;Indeed, I'm trying to add a statement in runtime and I haven't found 
enough information on how to do this... :)&lt;BR&gt;I've tried the AddMappedStatement 
method, but the MappedStatement class doesn't seem to have a 
constructor..&lt;BR&gt;&lt;BR&gt;Could someone help me ?&lt;BR&gt;&lt;BR&gt;Thanks all! &lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatically-add-a-statement-tp25601728p25608005.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25601728</id>
	<title>Programmatically add a statement</title>
	<published>2009-09-24T13:02:43Z</published>
	<updated>2009-09-24T13:02:43Z</updated>
	<author>
		<name>Joseph Piron</name>
	</author>
	<content type="html">Dears, &lt;br&gt;&lt;br&gt;I&amp;#39;m looking for some information on ibatisnet api.&lt;br&gt;Indeed, I&amp;#39;m trying to add a statement in runtime and I haven&amp;#39;t found enough information on how to do this... :)&lt;br&gt;I&amp;#39;ve tried the AddMappedStatement method, but the MappedStatement class doesn&amp;#39;t seem to have a constructor..&lt;br&gt;

&lt;br&gt;Could someone help me ?&lt;br&gt;&lt;br&gt;Thanks all!
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatically-add-a-statement-tp25601728p25601728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25564225</id>
	<title>RE: DB portability for iBatis 3 Mappers</title>
	<published>2009-09-22T10:33:18Z</published>
	<updated>2009-09-22T10:33:18Z</updated>
	<author>
		<name>russ.jackson</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:st1=&quot;urn:schemas-microsoft-com:office:smarttags&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;PostalCode&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;State&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;Street&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;address&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;City&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;place&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;PersonName&quot; /&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
st1\:*{behavior:url(#default#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=blue&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;OK.&amp;nbsp; Thanks &lt;st1:City w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;Clinton&lt;/st1:place&gt;&lt;/st1:City&gt;. &amp;nbsp;If I have any trouble doing so I
will send you a note. &amp;nbsp;Thanks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;Russ&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div class=MsoNormal align=center style='text-align:center'&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt'&gt;

&lt;hr size=2 width=&quot;100%&quot; align=center tabindex=-1&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;font-family:Tahoma'&gt; Clinton Begin
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564225&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;clinton.begin@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Sent:&lt;/span&gt;&lt;/b&gt; Tuesday, September 22, 2009
12:31 PM&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;st1:PersonName w:st=&quot;on&quot;&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564225&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&lt;/st1:PersonName&gt;&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: DB portability for
iBatis 3 Mappers&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;Best thing to do for this is create a Jira feature request
ticket.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;st1:City w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt'&gt;Clinton&lt;/span&gt;&lt;/font&gt;&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;On Tue, Sep 22, 2009 at 10:34 AM, &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564225&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;russ.jackson@...&lt;/a&gt;&amp;gt;
wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div link=blue vlink=purple&gt;

&lt;div&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Hey
iBatis team,&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;The
feature in iBatis 3 to use getMapper() to obtain a dynamic implementation of
the DAO interface is extremely cool. &amp;nbsp;However, there is one serious
shortcoming &amp;#8211; mapped statement implementations that are DB product
specific/variant are not currently supported by this. &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;For
example, say I have a couple of vendor-specific SELECT statements that
represent the same query. &amp;nbsp;The way one can address this situation is
described in the following blog posting by Jeff Hair (who happens to be a
colleague of mine):&amp;nbsp; &lt;a href=&quot;http://jshair.blogspot.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://jshair.blogspot.com/&lt;/a&gt;
(scroll down to the iBatis entry)&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;As
you can see, Jeff describes adding a base DAO class that extends Spring&amp;#8217;s
SqlMapClientDaoSupport. &amp;nbsp;Inside this base class the checkMappedStatement()
method manipulates the statement name to be DB product specific (based on the
db metadata obtained from the db connection) and attempts to look up a mapped
statement based on that name. &amp;nbsp;If that fails, the original/default name is
used to find the mapped statement.&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;What
I have done is basically push a variant of the implementation that Jeff
describes down into your DefaultSqlSession class to provide the capability for
your dynamic mapper methods to execute overloaded, vendor-specific SQL statements
- all transparent to the DAO client.&amp;nbsp; (see attached &amp;#8211; I put the new work
just after your constructor)&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;I
built the iBatis project locally and deployed it to my environment and it seems
to work fine. &amp;nbsp;There is one kink that still needs to be worked out &amp;#8211; I did
not put this mapped SQL overload into your MapperMethod.determineCommandType()
method and as a result, the xml mapper still requires that a non-db-specific
SELECT statement exists. &amp;nbsp;For example, consider the following:&amp;nbsp; For
argument&amp;#8217;s sake I have getAll-Oracle and getAll-HSQL mapped SELECT statements
representing some SELECT statements that are, for one reason or another,
vendor-specific.&amp;nbsp; But, I also have to provide an undesired getAll
implementation to prevent an exception in the determineCommandType() method.&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;lt;mapper
namespace=&amp;quot;com.acme.banking.persistence.dao.ITransactionTypeDao&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;resultMap id=&amp;quot;get-transactionType-result&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
type=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;result property=&amp;quot;code&amp;quot; column=&amp;quot;code&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;result property=&amp;quot;title&amp;quot; column=&amp;quot;title&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/resultMap&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;select id=&amp;quot;getAll-HSQL&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
SELECT code, title&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
FROM transaction_type&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/select&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;select id=&amp;quot;getAll-Oracle&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
SELECT title, code&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
FROM transaction_type&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/select&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;select id=&amp;quot;getAll&amp;quot; resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
SELECT title, code&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
FROM transaction_type&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/select&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;lt;/mapper&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;It
would be great if you could eliminate this problem/requirement if you decide to
use this implementation/idea. &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Also,
this evening was the first time I&amp;#8217;ve looked at your source code and I didn&amp;#8217;t
spend a lot of time with it so I just wedged this solution in where it would
work &amp;#8211; it may not fit with your overall design/architecture and I&amp;#8217;m sure it
will have to be refactored.&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Thanks
and keep up the great work.&amp;nbsp; Please let me know if I can clarify anything
or be of further assistance.&amp;nbsp; I do hope to provide some feedback on your
iBatis 3 user guide in the not too distant future.&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Thanks
again. &lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:
Arial'&gt;Russ Jackson&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Accenture&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Sr.
Consultant&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;st1:Street w:st=&quot;on&quot;&gt;&lt;st1:address w:st=&quot;on&quot;&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;407 S. Pennsylvania Ave, Suite 201&lt;/span&gt;&lt;/font&gt;&lt;/st1:address&gt;&lt;/st1:Street&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;st1:place w:st=&quot;on&quot;&gt;&lt;st1:City w:st=&quot;on&quot;&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Joplin&lt;/span&gt;&lt;/font&gt;&lt;/st1:City&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;, &lt;st1:State w:st=&quot;on&quot;&gt;MO&lt;/st1:State&gt; &lt;st1:PostalCode w:st=&quot;on&quot;&gt;64801&lt;/st1:PostalCode&gt;&lt;/span&gt;&lt;/font&gt;&lt;/st1:place&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;(417)
626-6524&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564225&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;russ.jackson@...&lt;/a&gt;
&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;This
message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564225&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564225&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div id=&quot;##disclaimer##&quot;&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;FONT-SIZE: x-small; FONT-FAMILY: Arial, Sans-Serif&quot;&gt;This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.&lt;/p&gt;&lt;/div&gt;&lt;/body&gt;

&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DB-portability-for-iBatis-3-Mappers-tp25563272p25564225.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25564166</id>
	<title>Re: DB portability for iBatis 3 Mappers</title>
	<published>2009-09-22T10:31:08Z</published>
	<updated>2009-09-22T10:31:08Z</updated>
	<author>
		<name>Clinton Begin</name>
	</author>
	<content type="html">Best thing to do for this is create a Jira feature request ticket. &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Clinton&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Sep 22, 2009 at 10:34 AM,  &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564166&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;russ.jackson@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;















&lt;div lang=&quot;EN-US&quot; link=&quot;blue&quot; vlink=&quot;purple&quot;&gt;

&lt;div&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Hey iBatis team,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;The feature in iBatis 3 to use getMapper() to obtain a
dynamic implementation of the DAO interface is extremely cool.  However,
there is one serious shortcoming – mapped statement implementations that
are DB product specific/variant are not currently supported by this.  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;For example, say I have a couple of vendor-specific SELECT
statements that represent the same query.  The way one can address this
situation is described in the following blog posting by Jeff Hair (who happens
to be a colleague of mine):  &lt;a href=&quot;http://jshair.blogspot.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://jshair.blogspot.com/&lt;/a&gt;
(scroll down to the iBatis entry)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;As you can see, Jeff describes adding a base DAO class that
extends Spring’s SqlMapClientDaoSupport.  Inside this base class the
checkMappedStatement() method manipulates the statement name to be DB product
specific (based on the db metadata obtained from the db connection) and
attempts to look up a mapped statement based on that name.  If that fails,
the original/default name is used to find the mapped statement.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;What I have done is basically push a variant of the
implementation that Jeff describes down into your DefaultSqlSession class to
provide the capability for your dynamic mapper methods to execute overloaded,
vendor-specific SQL statements - all transparent to the DAO client.  (see
attached – I put the new work just after your constructor)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;I built the iBatis project locally and deployed it to my
environment and it seems to work fine.  There is one kink that still needs
to be worked out – I did not put this mapped SQL overload into your
MapperMethod.determineCommandType() method and as a result, the xml mapper
still requires that a non-db-specific SELECT statement exists.  For
example, consider the following:  For argument’s sake I have
getAll-Oracle and getAll-HSQL mapped SELECT statements representing some SELECT
statements that are, for one reason or another, vendor-specific.  But, I
also have to provide an undesired getAll implementation to prevent an exception
in the determineCommandType() method.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;&amp;lt;mapper
namespace=&amp;quot;com.acme.banking.persistence.dao.ITransactionTypeDao&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;resultMap
id=&amp;quot;get-transactionType-result&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;              
type=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        &amp;lt;result
property=&amp;quot;code&amp;quot; column=&amp;quot;code&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        &amp;lt;result property=&amp;quot;title&amp;quot;
column=&amp;quot;title&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;/resultMap&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;select id=&amp;quot;getAll-HSQL&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        SELECT code,
title&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        FROM
transaction_type&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;/select&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;select id=&amp;quot;getAll-Oracle&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        SELECT title,
code&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        FROM
transaction_type&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;/select&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;select id=&amp;quot;getAll&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        SELECT title,
code&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;        FROM
transaction_type&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;    &amp;lt;/select&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;&amp;lt;/mapper&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;It would be great if you could eliminate this problem/requirement
if you decide to use this implementation/idea.  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Also, this evening was the first time I’ve looked at
your source code and I didn’t spend a lot of time with it so I just
wedged this solution in where it would work – it may not fit with your
overall design/architecture and I’m sure it will have to be refactored.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Thanks and keep up the great work.  Please let me know
if I can clarify anything or be of further assistance.  I do hope to
provide some feedback on your iBatis 3 user guide in the not too distant
future.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Thanks again. &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Russ Jackson&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Accenture&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Sr. Consultant&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;407 S.
  Pennsylvania Ave, Suite 201&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;Joplin&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;, MO 64801&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;(417) 626-6524&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size:10.0pt;font-family:Arial&quot;&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564166&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;russ.jackson@...&lt;/a&gt;
&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;font-size:x-small;font-family:Arial, Sans-Serif&quot;&gt;This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;br&gt;&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564166&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25564166&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DB-portability-for-iBatis-3-Mappers-tp25563272p25564166.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25563272</id>
	<title>DB portability for iBatis 3 Mappers</title>
	<published>2009-09-22T09:34:04Z</published>
	<updated>2009-09-22T09:34:04Z</updated>
	<author>
		<name>russ.jackson</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:st1=&quot;urn:schemas-microsoft-com:office:smarttags&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;PostalCode&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;State&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;Street&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;address&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;City&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;place&quot; /&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
st1\:*{behavior:url(#default#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hey iBatis team,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;The feature in iBatis 3 to use getMapper() to obtain a
dynamic implementation of the DAO interface is extremely cool. &amp;nbsp;However,
there is one serious shortcoming &amp;#8211; mapped statement implementations that
are DB product specific/variant are not currently supported by this. &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;For example, say I have a couple of vendor-specific SELECT
statements that represent the same query. &amp;nbsp;The way one can address this
situation is described in the following blog posting by Jeff Hair (who happens
to be a colleague of mine):&amp;nbsp; &lt;a href=&quot;http://jshair.blogspot.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jshair.blogspot.com/&lt;/a&gt;
(scroll down to the iBatis entry)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;As you can see, Jeff describes adding a base DAO class that
extends Spring&amp;#8217;s SqlMapClientDaoSupport. &amp;nbsp;Inside this base class the
checkMappedStatement() method manipulates the statement name to be DB product
specific (based on the db metadata obtained from the db connection) and
attempts to look up a mapped statement based on that name. &amp;nbsp;If that fails,
the original/default name is used to find the mapped statement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;What I have done is basically push a variant of the
implementation that Jeff describes down into your DefaultSqlSession class to
provide the capability for your dynamic mapper methods to execute overloaded,
vendor-specific SQL statements - all transparent to the DAO client.&amp;nbsp; (see
attached &amp;#8211; I put the new work just after your constructor)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;I built the iBatis project locally and deployed it to my
environment and it seems to work fine. &amp;nbsp;There is one kink that still needs
to be worked out &amp;#8211; I did not put this mapped SQL overload into your
MapperMethod.determineCommandType() method and as a result, the xml mapper
still requires that a non-db-specific SELECT statement exists. &amp;nbsp;For
example, consider the following:&amp;nbsp; For argument&amp;#8217;s sake I have
getAll-Oracle and getAll-HSQL mapped SELECT statements representing some SELECT
statements that are, for one reason or another, vendor-specific.&amp;nbsp; But, I
also have to provide an undesired getAll implementation to prevent an exception
in the determineCommandType() method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;lt;mapper
namespace=&amp;quot;com.acme.banking.persistence.dao.ITransactionTypeDao&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;resultMap
id=&amp;quot;get-transactionType-result&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
type=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result
property=&amp;quot;code&amp;quot; column=&amp;quot;code&amp;quot;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property=&amp;quot;title&amp;quot;
column=&amp;quot;title&amp;quot;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/resultMap&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;select id=&amp;quot;getAll-HSQL&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT code,
title&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM
transaction_type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/select&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;select id=&amp;quot;getAll-Oracle&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT title,
code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM
transaction_type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/select&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;select id=&amp;quot;getAll&amp;quot;
resultType=&amp;quot;TransactionType&amp;quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT title,
code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM
transaction_type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/select&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;lt;/mapper&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;It would be great if you could eliminate this problem/requirement
if you decide to use this implementation/idea. &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Also, this evening was the first time I&amp;#8217;ve looked at
your source code and I didn&amp;#8217;t spend a lot of time with it so I just
wedged this solution in where it would work &amp;#8211; it may not fit with your
overall design/architecture and I&amp;#8217;m sure it will have to be refactored.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Thanks and keep up the great work.&amp;nbsp; Please let me know
if I can clarify anything or be of further assistance.&amp;nbsp; I do hope to
provide some feedback on your iBatis 3 user guide in the not too distant
future.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Thanks again. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial'&gt;Russ Jackson&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Accenture&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Sr. Consultant&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;st1:Street w:st=&quot;on&quot;&gt;&lt;st1:address w:st=&quot;on&quot;&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;407 S.
  Pennsylvania Ave, Suite 201&lt;/span&gt;&lt;/font&gt;&lt;/st1:address&gt;&lt;/st1:Street&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;st1:place w:st=&quot;on&quot;&gt;&lt;st1:City w:st=&quot;on&quot;&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Joplin&lt;/span&gt;&lt;/font&gt;&lt;/st1:City&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;, &lt;st1:State w:st=&quot;on&quot;&gt;MO&lt;/st1:State&gt; &lt;st1:PostalCode w:st=&quot;on&quot;&gt;64801&lt;/st1:PostalCode&gt;&lt;/span&gt;&lt;/font&gt;&lt;/st1:place&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;(417) 626-6524&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25563272&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;russ.jackson@...&lt;/a&gt;
&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div id=&quot;##disclaimer##&quot;&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;FONT-SIZE: x-small; FONT-FAMILY: Arial, Sans-Serif&quot;&gt;This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.&lt;/p&gt;&lt;/div&gt;&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25563272&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25563272&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (8K) &lt;a href=&quot;http://old.nabble.com/attachment/25563272/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DB-portability-for-iBatis-3-Mappers-tp25563272p25563272.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25499295</id>
	<title>Parameters mapping to same Property (.Net)</title>
	<published>2009-09-17T14:08:16Z</published>
	<updated>2009-09-17T14:08:16Z</updated>
	<author>
		<name>James Armstead</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Why is iBatis built to only allow you to map a single column to a
single property?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Say you have:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&amp;lt;parameter column=&amp;#8221;EnteredDt&amp;#8221; property=&amp;#8221;EnteredDt&amp;#8221;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&amp;lt;parameter column=&amp;#8221;OriginalEnteredDt&amp;#8221; property=&amp;#8221;EnteredDt&amp;#8221;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;The EnteredDt get set right before Save because of a custom hook
that has been added in to set the Database time into the EnteredDt before
saving, so we want to use the EnteredDt property. Why would iBatis be built to
build 2 arrays with the property as the key? Making it impossible to have a 2
columns mapped to the same property because the keys conflict thus the the
column array is larger than the property array throwing a ArgumentOutOfRange Exception?
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Is there a way around this other than checking to see if
OriginalEnteredDt is empty and if it is then return EnteredDt?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-Migrator-using-a-JNDI-based-connection-tp25435741p25499295.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25436234</id>
	<title>Re: Ibatis Migrator using a JNDI based connection</title>
	<published>2009-09-14T06:56:39Z</published>
	<updated>2009-09-14T06:56:39Z</updated>
	<author>
		<name>Clinton Begin</name>
	</author>
	<content type="html">Nope, hadn&amp;#39;t thought of that. Can you create a JIRA Feature Request so that we don&amp;#39;t forget about it?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Cheers,&lt;/div&gt;&lt;div&gt;Clinton&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 14, 2009 at 7:23 AM, Leandro Sales &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25436234&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;leandro.shp@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I was wondering if wasn&amp;#39;t possible to get the connection used by Ibatis Migrator from a JNDI resource.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m using migrator not as command line but inside a web application. Every time I redeploy my application, a servlet is started up and tries to &amp;quot;up&amp;quot; the version of the database (using the UpCommand Class). The problem is that now I need to repeat the database config inside the migrator property file. If I could just set a jndi resource like &amp;quot;comp/env/jdbc/myapp&amp;quot; would be very nice.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I don&amp;#39;t know if you were thinking about this kind of usage for Ibatis Migrator, but it seems to be a good idea.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Leandro&lt;/div&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-Migrator-using-a-JNDI-based-connection-tp25435741p25436234.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25435741</id>
	<title>Ibatis Migrator using a JNDI based connection</title>
	<published>2009-09-14T06:23:52Z</published>
	<updated>2009-09-14T06:23:52Z</updated>
	<author>
		<name>Leandro Sales-2</name>
	</author>
	<content type="html">Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I was wondering if wasn&amp;#39;t possible to get the connection used by Ibatis Migrator from a JNDI resource.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m using migrator not as command line but inside a web application. Every time I redeploy my application, a servlet is started up and tries to &amp;quot;up&amp;quot; the version of the database (using the UpCommand Class). The problem is that now I need to repeat the database config inside the migrator property file. If I could just set a jndi resource like &amp;quot;comp/env/jdbc/myapp&amp;quot; would be very nice.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I don&amp;#39;t know if you were thinking about this kind of usage for Ibatis Migrator, but it seems to be a good idea.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Leandro&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ibatis-Migrator-using-a-JNDI-based-connection-tp25435741p25435741.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25225439</id>
	<title>Increased memory footprint while mapping explicit NULL columns of a cursor to java String property</title>
	<published>2009-08-31T08:32:21Z</published>
	<updated>2009-08-31T08:32:21Z</updated>
	<author>
		<name>Raghavendran Chellappa</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:z=&quot;#RowsetSchema&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:st=&quot;&amp;#1;&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;We are seeing a weird memory issue while using IBATIS for
JAVA.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;We call an Oracle 10g stored proc via IBatis. The proc
returns a single cursor with 10 columns.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Out of the 10 columns, 3 column has been hardcoded to NULL
(for business functionality reasons) in the SELET Statement of the CURSOR. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;When we set a column explicitly NULL we see that IBATIS
seems to take a huge amount of memory and this leads to FULL GCs &amp;#8211; which
block our application &amp;#8211; hence degrading its performance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;But, if we set the column to a hardcoded string value (say
&amp;#8216;xyz&amp;#8217;), we don&amp;#8217;t see this high memory usage and hence no FULL
GCs and hence does not degrade our performance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;To give an idea, when the sproc is with explicit NULL, the
java service that calls this proc (via ibatis) takes 10 seconds (on a 60
concurrent user load). This 10 seconds is because of multiple FULL GCs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;But, when we change to a hardcoded string &amp;#8216;xyz&amp;#8217;,
we see the same service return in less 500 ms (for the same load)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Is this a bug or are we configuring ibatis the incorrect
way? Any help is much appreciated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Please note, we are a Spring 3.0 based java web app, running
on Weblogic 9.2 MP3.We are using IBATIS for JAVA version &lt;b&gt;&lt;span style='font-weight:bold'&gt;2.3&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style='font-weight:bold'&gt;.0&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;We have checked and ensured that our JVM settings are
appropriate (around 712MB) and the amount of data returned is very little ( 2
records per call, each with 10 string columns).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Here is an example sproc and the ibatis mapping xml to illustrate
our setting:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;OPEN cursor FOR&lt;font color=&quot;#1f497d&quot;&gt;&lt;span style='color:#1F497D'&gt; &lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;SELECT &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:1.0in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;First_name as FIRSTNAME,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:1.0in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Last_name as LASTNAME,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
NULL as DESIGNATION&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;FROM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
EMPLOYEE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Now the resultMap would look like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;lt;resultMap id=&amp;quot;getEmployees&amp;quot;
class=&amp;quot;employeesDTO&amp;quot; &amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;result property=&amp;quot;firstName&amp;quot; column=&amp;quot;FIRSTNAME&amp;quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;result property=&amp;quot;lastName&amp;quot; column=&amp;quot;LASTNAME&amp;quot;
/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;result property=&amp;quot;desig&amp;quot; column=&amp;quot;DESIGNATION&amp;quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&amp;lt;/resultMap&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;All the three java properties are of java String type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Raga&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;

&lt;table&gt;&lt;tr&gt;&lt;td bgcolor=#ffffff&gt;&lt;font color=#000000&gt;&lt;pre&gt;---------------------------------------------------------------------------------------------

This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.

---------------------------------------------------------------------------------------------&lt;/pre&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Increased-memory-footprint-while-mapping-explicit-NULL-columns-of-a-cursor-to-java-String-property-tp25225439p25225439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25044543</id>
	<title>[jira] Created: (IBATISNET-293) Allow DataMapper to execute in Medium Trust environments</title>
	<published>2009-08-19T06:52:14Z</published>
	<updated>2009-08-19T06:52:14Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">Allow DataMapper to execute in Medium Trust environments
&lt;br&gt;--------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: IBATISNET-293
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATISNET-293&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATISNET-293&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: iBatis for .NET
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: DataAccess, DataMapper, Documentation, Testing
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: DataMapper 1.6.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: ASP.net mostly, but perhaps WPF XBAP?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Michael McCurrey
&lt;br&gt;&lt;br&gt;&lt;br&gt;Ibatis.net isn't allowing execution in a medium trust environment. &amp;nbsp;Given the popularity of this type of deployment, this is something that we should support out of the box.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25044543&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25044543&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATISNET-293%29-Allow-DataMapper-to-execute-in-Medium-Trust-environments-tp25044543p25044543.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984563</id>
	<title>[jira] Closed: (IBATIS-438) SqlMapClient don't release connection in a clustered ejb based application</title>
	<published>2009-08-15T06:23:14Z</published>
	<updated>2009-08-15T06:23:14Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-438.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Won't Fix
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; SqlMapClient don't release connection in a clustered ejb based application
&lt;br&gt;&amp;gt; --------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-438
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-438&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-438&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.3.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: BEA Weblogic Server 9.2.1 Clustered, Oracle 9i, EJB 2.1, the trasaction manager type is JDBC with a JNDI Datasource type.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Nicola Amoruso
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm using JDBC transaction manager with very basic configuration. I do many
&lt;br&gt;&amp;gt; database transactions as &amp;nbsp;update and &amp;nbsp;insert
&lt;br&gt;&amp;gt; In every business method i call startTransaction() on SqlMapClient defined as private as instance variable into my ejb.
&lt;br&gt;&amp;gt; At the end of my method i call commitTransaction() &amp;nbsp;if the transaction end right and i call always endTransaction() in a finally block as specified in IBATIS tutorial.
&lt;br&gt;&amp;gt; This architecture work fine in and environment without clustering, but in this last model i have a abnormal consuming of connections of weblogic connection pool with the following exception:
&lt;br&gt;&amp;gt; &amp;nbsp;com.ibatis.common.jdbc.exception.NestedSQLException: &amp;nbsp; 
&lt;br&gt;&amp;gt; --- The error occurred in file: query.xml. &amp;nbsp;
&lt;br&gt;&amp;gt; --- The error occurred while executing mapped statement. &amp;nbsp;
&lt;br&gt;&amp;gt; --- Check the query.update. &amp;nbsp;
&lt;br&gt;&amp;gt; --- Check the statement or the result map. &amp;nbsp;
&lt;br&gt;&amp;gt; --- Cause: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
&lt;br&gt;&amp;gt; &amp;nbsp;at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:94)
&lt;br&gt;&amp;gt; &amp;nbsp;at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.update(SqlMapExecutorDelegate.java:505)
&lt;br&gt;&amp;gt; &amp;nbsp;at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.update(SqlMapSessionImpl.java:90)
&lt;br&gt;&amp;gt; &amp;nbsp;at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.update(SqlMapClientImpl.java:67)
&lt;br&gt;&amp;gt; &amp;nbsp;at it.mypkg.ejb.Business.unlockListaPersone(CqscPFBusiness.java:279)
&lt;br&gt;&amp;gt; &amp;nbsp;at it.mypkg.ejb.Business_17zvgu_EOImpl.businessMethod(Business_17zvgu_EOImpl.java:208)
&lt;br&gt;&amp;gt; &amp;nbsp;at it.mypkg.ejb.Business_17zvgu_EOImpl_WLSkel.invoke(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:518)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:408)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:57)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:935)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
&lt;br&gt;&amp;gt; Caused by: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.jdbc.common.internal.RmiDataSource_920_WLStub.getConnection(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp;at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.init(JdbcTransaction.java:48)
&lt;br&gt;&amp;gt; &amp;nbsp;at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java:89)
&lt;br&gt;&amp;gt; &amp;nbsp;at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:78)
&lt;br&gt;&amp;gt; &amp;nbsp;... 16 more
&lt;br&gt;&amp;gt; Caused by: java.rmi.UnmarshalException: cannot unmarshaling return; nested exception is: 
&lt;br&gt;&amp;gt; &amp;nbsp;java.io.NotSerializableException: weblogic.jdbc.common.internal.ConnectionEnv
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:105)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
&lt;br&gt;&amp;gt; &amp;nbsp;... 20 more
&lt;br&gt;&amp;gt; Caused by: java.io.NotSerializableException: weblogic.jdbc.common.internal.ConnectionEnv
&lt;br&gt;&amp;gt; &amp;nbsp;at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
&lt;br&gt;&amp;gt; &amp;nbsp;at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
&lt;br&gt;&amp;gt; &amp;nbsp;at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
&lt;br&gt;&amp;gt; &amp;nbsp;at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
&lt;br&gt;&amp;gt; &amp;nbsp;at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
&lt;br&gt;&amp;gt; &amp;nbsp;at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.extensions.server.CBVOutputStream.writeObject(CBVOutputStream.java:84)
&lt;br&gt;&amp;gt; &amp;nbsp;at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:97)
&lt;br&gt;&amp;gt; &amp;nbsp;... 22 more
&lt;br&gt;&amp;gt; I fix the problem adding the following code after every endTransaction() :
&lt;br&gt;&amp;gt; &amp;nbsp;sqlMapClient.getDatasource().getConnection().close().
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt; Nicola
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984563&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984563&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATIS-438%29-SqlMapClient-don%27t-release-connection-in-a-clustered-ejb-based-application-tp11123038p24984563.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984552</id>
	<title>[jira] Closed: (IBATIS-360) iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: &quot;list[].id&quot;</title>
	<published>2009-08-15T06:21:15Z</published>
	<updated>2009-08-15T06:21:15Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-360.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Fixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 2.3.4
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: &amp;quot;list[].id&amp;quot;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-360
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-360&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-360&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: JBuilder 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: marc khoury
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.3.4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;iterate property=&amp;quot;list&amp;quot;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;isEqual property=&amp;quot;list[].id&amp;quot; compareValue=&amp;quot;123&amp;quot;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $list[].anotherProperty$ 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/isEqual&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;/iterate&amp;gt; 
&lt;br&gt;&amp;gt; after running my query in ibatis that contains this mentioned part of it, i get an error on reading the property &amp;quot;list[].id&amp;quot; .
&lt;br&gt;&amp;gt; it seems like ibatis can not read or iterate with each object inside the property of type collection to get to a specific attribute like &amp;quot;id&amp;quot; in my case.
&lt;br&gt;&amp;gt; So is there any solution to it, or a differente writing of the property=&amp;quot;...&amp;quot; inside the isEqual tag that i should follow to make it right. Please reply to me with the format of the iterate tag along with the isEqual tag in writing.
&lt;br&gt;&amp;gt; Thank u regards, marquise
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984552&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984552&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Closed%3A-%28IBATIS-360%29-iterate-a-property-of-array-of-objects-and-using-isEqual-tag-to-compare-an-attribute-ex%3A%28id%29-of-this-object-with-a-value.-ex%3A-%22list--.id%22-tp24984552p24984552.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984553</id>
	<title>[jira] Closed: (IBATIS-299) Add a type mapper callback for java.net.URL</title>
	<published>2009-08-15T06:21:15Z</published>
	<updated>2009-08-15T06:21:15Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-299.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Won't Fix
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add a type mapper callback for java.net.URL
&lt;br&gt;&amp;gt; -------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-299
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-299&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-299&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Wish
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.1.7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ken Weiner
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It would be nice if iBATIS came with a TypeHandlerCallback implementation for mapping URL object properties to their String representation stored in a database field. &amp;nbsp;Here is some code that could be used to implement this:
&lt;br&gt;&amp;gt; package com.ibatis.sqlmap.client.extensions;
&lt;br&gt;&amp;gt; import java.net.MalformedURLException;
&lt;br&gt;&amp;gt; import java.net.URL;
&lt;br&gt;&amp;gt; import java.sql.SQLException;
&lt;br&gt;&amp;gt; import java.sql.Types;
&lt;br&gt;&amp;gt; /**
&lt;br&gt;&amp;gt; &amp;nbsp;* An iBATIS type handler callback for java.net.URLs that are mapped to
&lt;br&gt;&amp;gt; &amp;nbsp;* Strings in the database. &amp;nbsp;If a URL cannot be constructed based on the
&lt;br&gt;&amp;gt; &amp;nbsp;* String, then the URL will be set to &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt;.
&lt;br&gt;&amp;gt; &amp;nbsp;* &amp;lt;p&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;* @author Ken Weiner
&lt;br&gt;&amp;gt; &amp;nbsp;*/
&lt;br&gt;&amp;gt; public class UrlTypeHandlerCallback implements TypeHandlerCallback {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; public Object getResult(ResultGetter getter) throws SQLException {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String value = getter.getString();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (getter.wasNull()) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.valueOf(value);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; public void setParameter(ParameterSetter setter, Object parameter) throws SQLException {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (parameter == null) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setter.setNull(Types.VARCHAR);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL url = (URL) parameter;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setter.setString(url.toExternalForm());
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; public Object valueOf(String s) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL url;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url = new URL(s);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (MalformedURLException e) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url = null;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return url;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; }
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984553&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984553&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATIS-299%29-Add-a-type-mapper-callback-for-java.net.URL-tp4605135p24984553.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984535</id>
	<title>[jira] Closed: (IBATIS-585) Expose transaction state as public API</title>
	<published>2009-08-15T06:19:15Z</published>
	<updated>2009-08-15T06:19:15Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-585.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Fixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 3.0 Beta 2
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Expose transaction state as public API
&lt;br&gt;&amp;gt; --------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-585
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-585&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-585&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: New Feature
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: yair ogen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.0 Beta 2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In several times we need to check what is the transaction state in runtime to avoid nested transactions and so on.
&lt;br&gt;&amp;gt; Please expose the Transaction State in public API s it can be evaluated in runtime.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984535&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984535&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATIS-585%29-Expose-transaction-state-as-public-API-tp22397527p24984535.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984540</id>
	<title>[jira] Closed: (IBATIS-247) Triage Wish List TXT file from old doc directory</title>
	<published>2009-08-15T06:19:15Z</published>
	<updated>2009-08-15T06:19:15Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-247.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Triage Wish List TXT file from old doc directory
&lt;br&gt;&amp;gt; ------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-247
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-247&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-247&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Clinton Begin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wish List
&lt;br&gt;&amp;gt; ------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; Ease of Use
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Optional new line stripping
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Cross file resource management (currently works, but order dependent --ok?)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Circular relationships
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Per result Lazy Load configuration
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Optional results/exclusions (i.e. don't require all results)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Automap remaining columns, ignore missing columns
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - DAO lazy initialization option (quiet failure?)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &amp;lt;generate&amp;gt; tag for CRUD methods (as per iBATIS.NET)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Improved Dynamic SQL syntax/flexibility
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Pluggable SQL Scripting languages
&lt;br&gt;&amp;gt; &amp;nbsp; Flexibility
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Constructor based results (not fields at this time)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Field based results
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Improved configuration API and logging
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Flush cache at specific time (e.g. 22:30)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Cache dependency on other cache (flush-on-dependant)
&lt;br&gt;&amp;gt; &amp;nbsp; Database Support
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Save point support
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Add true autocommit support (mostly for SYBASE procs)
&lt;br&gt;&amp;gt; &amp;nbsp; Database Support
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Trim whitespace from CHAR data
&lt;br&gt;&amp;gt; &amp;nbsp; Tools
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - XDoclet/QDox Tags (@ibatis)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - SQL Map Editor GUI
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Ant Tasks?
&lt;br&gt;&amp;gt; &amp;nbsp; Unconfirmed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - RowSet|ResultSet results?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Multiple result sets/update results
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Get warnings (conn, ps, rs)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Asynchronous updates (queued)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Idle Connection Timeout in SimpleDataSource
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Map with 1:M relationship with other Map? &amp;nbsp;(i.e. map key contains list of other maps)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - On-the-fly configuration reload? (out of scope? external responsibility?)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Cancel long running statements (cross thread)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984540&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984540&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Closed%3A-%28IBATIS-247%29-Triage-Wish-List-TXT-file-from-old-doc-directory-tp24984540p24984540.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984541</id>
	<title>[jira] Closed: (IBATIS-588)  Please add Abator JARs to Maven repository</title>
	<published>2009-08-15T06:19:15Z</published>
	<updated>2009-08-15T06:19:15Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-588.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Please add Abator JARs to Maven repository
&lt;br&gt;&amp;gt; -------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-588
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-588&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-588&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Sergio Moretto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please add Abator JAR to central maven repository.
&lt;br&gt;&amp;gt; Documente here: &lt;a href=&quot;http://opensource.atlassian.com/confluence/oss/display/IBATIS/iBATIS+Release+Process#iBATISReleaseProcess-deployingtoibiblio&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/confluence/oss/display/IBATIS/iBATIS+Release+Process#iBATISReleaseProcess-deployingtoibiblio&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984541&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984541&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATIS-588%29--Please-add-Abator-JARs-to-Maven-repository-tp22562816p24984541.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984536</id>
	<title>[jira] Closed: (IBATIS-533) Thread blocking on AutoResultMap</title>
	<published>2009-08-15T06:19:14Z</published>
	<updated>2009-08-15T06:19:14Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-533.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thread blocking on AutoResultMap
&lt;br&gt;&amp;gt; --------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-533
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-533&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-533&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Robert McIntosh
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The AutoResultMap class' getResults method is synchronized. This causes threads to get backed up when a moderate load is on the system. The end result is that our heap gets overloaded and eventually the app stops.
&lt;br&gt;&amp;gt; it appears from looking at the code that the synchronize only needs to be on the remapping and/or initial construction of the result mappings. Would suggest making the the initialize method synchronized at the very least, so that once the mapping is created no blocking of threads is necessary.
&lt;br&gt;&amp;gt; May be related to issue 519 as well.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984536&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984536&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATIS-533%29-Thread-blocking-on-AutoResultMap-tp19203594p24984536.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984537</id>
	<title>[jira] Closed: (IBATIS-449) Is there a way to specify a timeout for Pool.PingQuery when using a jdbc SimpleDataSource?</title>
	<published>2009-08-15T06:19:14Z</published>
	<updated>2009-08-15T06:19:14Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-449.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Invalid
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Is there a way to specify a timeout for Pool.PingQuery when using a jdbc SimpleDataSource?
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-449
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-449&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-449&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Red Hat Enterprise Linux 4 Update 5 x86-64, JBOSS 4.0.5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Anton Rothenbacher
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: SimpleDataSource.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It seems there is no way to specify a timeout when implementing the Pool.PingQuery to test pooled connections before use. We are in an environment that is closing connections on us and when the app is inactive for a long time, the first connection to be tested out of the pool is bad, and it takes 15 minutes before the connection is deemed bad and the connection recycled.
&lt;br&gt;&amp;gt; 2007-08-11 06:38:14,032 DEBUG [com.ibatis.common.jdbc.SimpleDataSource] Checked out connection 2865240 from pool.
&lt;br&gt;&amp;gt; 2007-08-11 06:38:14,032 DEBUG [com.ibatis.common.jdbc.SimpleDataSource] Testing connection 2865240 ...
&lt;br&gt;&amp;gt; .....
&lt;br&gt;&amp;gt; 2007-08-11 06:53:40,695 WARN &amp;nbsp;[com.ibatis.common.jdbc.SimpleDataSource] Execution of ping query 'select 1 from DUAL' failed: Io exception: Connection timed out
&lt;br&gt;&amp;gt; 2007-08-11 06:53:40,695 DEBUG [com.ibatis.common.jdbc.SimpleDataSource] Connection 2865240 is BAD: Io exception: Connection timed out
&lt;br&gt;&amp;gt; 2007-08-11 06:53:40,696 DEBUG [com.ibatis.common.jdbc.SimpleDataSource] A bad connection (2865240) was returned from the pool, getting another connection.
&lt;br&gt;&amp;gt; 2007-08-11 06:53:40,750 DEBUG [com.ibatis.common.jdbc.SimpleDataSource] Created connection 10545003.
&lt;br&gt;&amp;gt; This is a problem since the app hangs for the time when it is waiting for the connection. We are looking for a way to speed up the PingQuery test so that if it does not respond in x seconds, (it is a very fast query) then recycle the connection right away, not 15min later when the connection times out.
&lt;br&gt;&amp;gt; Here is the relevent section from our SqlMapConfig.xml
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;!-- Configure a datasource to use with this SQL Map using SimpleDataSource.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Notice the use of the properties from the above resource --&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;transactionManager type=&amp;quot;JDBC&amp;quot; commitRequired=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dataSource type=&amp;quot;SIMPLE&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Driver&amp;quot; value=&amp;quot;${driver}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.ConnectionURL&amp;quot; value=&amp;quot;${url}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Username&amp;quot; value=&amp;quot;${username}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.Password&amp;quot; value=&amp;quot;${password}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;JDBC.DefaultAutoCommit&amp;quot; value=&amp;quot;${jdbc.default.auto.commit}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.MaximumActiveConnections&amp;quot; value=&amp;quot;${pool.maximum.active.connections}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.MaximumIdleConnections&amp;quot; value=&amp;quot;${pool.maximum.idle.connections}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.MaximumCheckoutTime&amp;quot; value=&amp;quot;${pool.maximum.checkout.time}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.TimeToWait&amp;quot; value=&amp;quot;${pool.time.to.wait}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.PingQuery&amp;quot; value=&amp;quot;select 1 from DUAL&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.PingEnabled&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.PingConnectionsOlderThan&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;Pool.PingConnectionsNotUsedFor&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/dataSource&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/transactionManager&amp;gt;
&lt;br&gt;&amp;gt; Is DBCP type connection better for what we wish to accomplish? It seems it can test connections idle connections out of the pool on a regular basis but as far as I can tell SimpleDataSource can only test connections as they are requested out of the pool. Am I correct, does anyone have any suggestions?
&lt;br&gt;&amp;gt; Thanks much for your time!
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984537&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984537&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATIS-449%29-Is-there-a-way-to-specify-a-timeout-for-Pool.PingQuery-when-using-a-jdbc-SimpleDataSource--tp12115544p24984537.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24984526</id>
	<title>[jira] Closed: (IBATIS-581) Drive-by foot-shooting on petstore.html page</title>
	<published>2009-08-15T06:17:14Z</published>
	<updated>2009-08-15T06:17:14Z</updated>
	<author>
		<name>JIRA ibatis-dev@incubator.apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Clinton Begin closed IBATIS-581.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Won't Fix
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Drive-by foot-shooting on petstore.html page
&lt;br&gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: IBATIS-581
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/IBATIS-581&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/IBATIS-581&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: iBatis for Java
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Documentation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Firefox 3.0.6 / Mac
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Kevin Murphy
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://ibatis.apache.org/petstore.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ibatis.apache.org/petstore.html&lt;/a&gt;&amp;nbsp;doesn't seem to be worth much. I was looking for a download of JPetStore, and Google directed me to this page.
&lt;br&gt;&amp;gt; 1) I expected the &amp;quot;Demo&amp;quot; image to be a button, but it isn't.
&lt;br&gt;&amp;gt; 2) There's no link to a download on this page.
&lt;br&gt;&amp;gt; Every little obstacle like this affects uptake. &amp;nbsp;Obviously I can go find the download, but I just thought I'd report the foot-shooting.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984526&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24984526&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28IBATIS-581%29-Drive-by-foot-shooting-on-petstore.html-page-tp22081314p24984526.html" />
</entry>

</feed>
