iBATIS is thread-local. The cancel()methodrequires that a separate thread cancel a statement in an executing thread. I don't believe this would be supported in this type of framework.
Reference: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#cancel()
BR
On 4/18/05, Michael Zurke
i think it would make sense if ibatis would support something like
multiple query processing (e.g. a query executed in parallel on
different database clusters. then the abstraction layer should combine
the results. in that case it would be handy to specify a timeout to get
results back from
I could see this being done in a DAO layer, perhaps ... I'm not sure that the SqlMap layer is necessarily the right place for it. What do you think?
On 4/18/05, Michael Zurke [EMAIL PROTECTED] wrote:
i think it would make sense if ibatis would support something likemultiple query processing (e.g.
yes - i think your're right when it comes to the multiple query/combine
result issue - using DAO in this case would definitely make more sense.
but in case DAO doesn't fit my model i still want to be able to built my
own 'multilpe query executor' so i would be nice if i could cancel
statments
: Mon, 18 Apr 2005 15:57:39 +0100
To: ibatis-user-java@incubator.apache.org
Subject: Re: canceling statement?
yes - i think your're right when it comes to the multiple query/combine
result issue - using DAO in this case would definitely make more sense.
but in case DAO doesn't fit my model i
: canceling statement?
yes - i think your're right when it comes to the multiple query/combine result issue - using DAO in this case would definitely make more sense. but in case DAO doesn't fit my model i still want to be able to built my
own 'multilpe query executor' so i would be nice if i could
: canceling statement?
yes - i think your're right when it comes to the multiple query/combine
result issue - using DAO in this case would definitely make more sense.
but in case DAO doesn't fit my model i still want to be able to built my
own 'multilpe query executor' so i would be nice if i could
7 matches
Mail list logo