-1
On Fri, Jan 23, 2009 at 2:05 PM, Clinton Begin wrote:
> Hi everyone,
>
> A group of developers have approached us with a contribution of code
> to patch iBATIS so that it supports SQLJ.
>
> If you've never heard of SQLJ, here are two links...
>
> http://en.wikipedia.org/wiki/SQLJ
> http://www.
> >>> other_join_tables.book_id and
> >>> book_table.id in (select id from book_table order by sort_crit desc
> limit
> >>> 100 offset 10)
> >>>
> >>> Regards
> >>>
> >>> Kai
> >>>
> >>> --- O
Anybody have any feedback on this?
Thanks
Reuben
-- Forwarded message --
From: Reuben Firmin <[EMAIL PROTECTED]>
Date: Tue, Sep 2, 2008 at 11:26 AM
Subject: GroupBy issues (multiple child lists, Postgres limit/offset)
To: user-java@ibatis.apache.org
We are trying to r
We are trying to resolve some N+1 query situations in our application, and
are finding a couple of features of our appliation that seem to limit our
ability to use the "groupBy" solution. I'm wondering if there are aspects of
the issues we aren't seeing.
The problems are these:
1. In places where
I'm looking for the Ibatis Manual, the PDF which used to be linked to from
the site.
The documentation section on the site is broken:
http://ibatis.apache.org/javadownloads.html -- I assume that's where it
should be?
Thanks
Reuben
I'm using Ibatis 2.3.1. I've recently started getting this error; any ideas
on how to debug?
java.sql.SQLException: Already closed.
org.apache.commons.dbcp.PoolableConnection:84 close
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper:181
close
org.springframework.jdbc.datasource
Hi,
I'm having a problem handling enums from a subquery. I have a type handler
registered for the enums, but it doesn't seem to be called.
Essentially, on my result map, I have a subquery like this:
This corresponds to:
public void setRoles(List roles) {
this.roles = roles;
}
Let's say I have a class structure as per below. Ibatis doesl not seem to let
me address the path foo.bah.someProperty, because there is no setter
(Foo#setBah). Specifically, I get "com.ibatis.common.beans.ProbeException:
There is no WRITEABLE property". Spring, on the other hand, is fine with t
rements, obviously, but that
might be a good work-around.
-Original Message-
From: Reuben Firmin [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 3:59 PM
To: user-java@ibatis.apache.org
Subject: Problem addressing list index in a parameter declaration
I have the followin
I have the following code:
public class Buyer
{
...
private Address mailingAddress;
...
public class Address
{
private List addressLine;
...
public List getAddressLine()
{
In my insert statement, I'm addressing this as:
#mailingAddress.addressLine[0]#, #mailingAddress.addre
The sqlmap config
has a attribute, which can be used to load common properties.
Is there a way I can configure this to point at a jndi key?
Alternatively, where
does the properties object get built out in the sqlmap object tree, so that I
can push values in from jndi?
Thanks
Reuben
Is there a way I can
construct a type handler in different modes?
My specific need is
this:
The iSeries folks
like to give me back dates as integers, e.g. 20061004. They also give me back
times as integers, e.g. 1203. Writing a type handler that copes with this is no
big deal, but it w
PROTECTED]> wrote:
Those crazy iSeries nuts...don't they curse at you for calling it an
AS/400?Anyway, I guess I'd try 0, but if that's a valid value (i.e.,
not the same as "empty" or "null"), then I'd try it as a String.
Larry
f Of Larry
MeadorsSent: Monday, August 14, 2006 11:51 AMTo:
user-java@ibatis.apache.orgSubject: Re: sproc call / long / empty
valueI am confused..what is an "empty"
number?Larry
On 8/14/06, Reuben
Firmin <[EMAIL PROTECTED] >
wrote:
How do I
How do I pass an
empty value into a java.lang.Long field for a sproc? Null is not acceptable on
the sproc side of things, and Ibatis won't take "".
My sproc definition
is:
{call TEST3SQL(?, ?, ?, ?)}
and the
params are:
id="testParams" class="map">
/>
Hello, is there any
way to ask the SqlMapClient object whether a given statement
exists?
I am thinking of a
pattern like this:
enum
StatementName
{
GET_FOO("getFoo");
GET_BAH("getBah");
}
...
sqlMap =
SqlMapClientBuilder.buildSqlMapClient(reader);
for (StatementName
st
http://issues.apache.org/jira/browse/IBATIS-238, in case anybody else
wishes to vote on it. :)
Niels Beekman wrote:
You cannot use an iterated property in the decision tags. I believe
there is a JIRA issue for this.
--> not allowed
Niels
-Original Message-
From: Daniel Pitts [mailt
Hello,
Has anybody applied transaction rules across multiple datasources using
Resin/Spring/Ibatis? I'm looking at the JtaTransactionManager that
spring provides, which seems like it'll work, and will be experimenting
with that today. If you have practical examples of setting this up,
though,
f you
look at the caching code, caching is on the "level of the
query/ResultSet", if you have iBATIS e.g. return 2 lists of objects,
it may be well be that what for you is 1 and the same object may be
cached twice (once in every list). Object identity is a concept that
doesn't mix
I've been wondering about a related question -- is there any way to
flush a cache for only one particular object?
I'd like to be able to say "I've only modified this Foo bean, so flush
it, but keep the other Foo beans that are in the cache". Are there
problems associated with this that I'm mis
If you use this Spring class, you can get resources from jars...
* @param resource e.g. "classpath:your/package/here/Blah.xml"
public static Resource getClasspathResource(String resource) {
PathMatchingResourcePatternResolver res = new
PathMatchingResourcePatternResolver();
Hello, I'm getting a numeric overflow from a create
statement, when it attempts to map the auto-generated identity key to a
bean value. The bean value is an integer, which I will certainly change
to long, but I'm curious as to how this could happen. We've been
testing the application for approx
Use the CDATA construct, e.g.:
Ashish Kulkarni wrote:
Hi
I have a SQL statement as below, how do i define it in
xml
select * from mytable where mytest <> ' '
When i define it in xml file i get following error
The content beginning "<>" is not legal markup.
Perhaps the ">" (e;) cha
23 matches
Mail list logo