The .NET version can extend statement, resultMap, parameterMap.
--
Cheers,
Gilles
Right. The Java version can extend maps, just not the statements.
Clinton
On Wed, May 21, 2008 at 2:24 PM, Michael Schall <[EMAIL PROTECTED]>
wrote:
> For the record, the .Net version has the same sql/include concept. It also
> has the extends attribute. I have not used "extend" to extend sta
For the record, the .Net version has the same sql/include concept. It also
has the extends attribute. I have not used "extend" to extend statements,
but is is very nice to extend parameter and result maps.
On Wed, May 21, 2008 at 2:49 PM, Josh Joy <[EMAIL PROTECTED]> wrote:
> Cool...even better
You can either use queryForList(id,param, offset, limit)
Or the native range features of the SQL supported by your RDBMS.
The latter will likely have significant performance advantages, but iBATIS
doesn't do anything special to support the pagination params in that case.
I recommend testing
Hi,
As others have pointed out, queryForPaginatedList is deprecated...
I found this old thread suggesting to handle it in sql itself...
http://www.nabble.com/Deprecated-paginatedList-td14253303.html
Is that still advisable today? I have lots of queries that I need to have
pagination on...is there
Cool...even better...
On Wed, May 21, 2008 at 2:43 PM, Clinton Begin <[EMAIL PROTECTED]>
wrote:
> No, we took a different approach. You can declare a id="blah">block and then use it with in your
> statement. I believe the way iBATIS for Java does it is more flexible and
> predictable. Direct
No, we took a different approach. You can declare a block and then use it with in your
statement. I believe the way iBATIS for Java does it is more flexible and
predictable. Direction becomes a problem with "extends".
Clinton
On Wed, May 21, 2008 at 1:34 PM, Josh Joy <[EMAIL PROTECTED]> wrote
Hi,
I saw in the ibatis docs for dotnet there is a way to use extends with
select elements...
http://ibatis.apache.org/docs/dotnet/datamapper/ch03s03.html
Is there something similar for Java? I am looking to append the following
xml to lots of my sql select statements...