I am a newbie to ibatis and I want to figure out where iBatis would fit to
solve my requirements.
Is it possible in iBatis 3.0 (or 2.x) to provide my own ResultSet handler? I
read the documentation and it is seems that I would have to use a plugin to
do that. Are there any samples on how to do it
Given that iBatis is used within a web application, can the iBatis
configuration be extended to specify what security roles are needed to run
certain sql?
Or is it iBatis meant to be security agnostic?
Thanks
--
View this message in context:
http://old.nabble.com/Security-specs-within-a-we
Sorry, just to be more clear I want my map to convert the ResultSet object to
xml.
costab wrote:
>
> I am a newbie to ibatis and I want to figure out where iBatis would fit to
> solve my requirements.
>
> Is it possible in iBatis 3.0 (or 2.x) to provide my own ResultSet handler?
> I read the d
You should do that after iBATIS converts it to a Map or Bean IMHO... perhaps
using XStream or something similar.
But if you really want to do this, extend the Configuration class, and then
override the following method:
public ResultSetHandler newResultSetHandler(Executor executor,
MappedStatem
iBATIS is way too far down in the stack to be dealing with user access
roles.
Clnton
On Mon, Feb 1, 2010 at 3:25 PM, costab wrote:
>
> Given that iBatis is used within a web application, can the iBatis
> configuration be extended to specify what security roles are needed to run
> certain sql?
>
Hello,
I am investigation iBatis as an alternative to JPA/OpenJPA. JPA states that
the behavior of the provider in the case of accessing unloaded fields on a
"detached" object is "unspecified". OpenJPA returns null or throws an
exception depending on the configuration. Considering the test case be
Wouldn't be better if the iBatis select tag would allow you to specify the
ResultSetHandler class as an attribute?
I used Spring JDBC and this is how I did it, I used their ResultSetHandler
class to process the ResultSet the way I wanted. Then you can have one query
but then you can create diffe
It sounds like Spring JDBC might be better for your needs.
Clinton
On Mon, Feb 1, 2010 at 8:06 PM, costab wrote:
>
> Wouldn't be better if the iBatis select tag would allow you to specify the
> ResultSetHandler class as an attribute?
>
> I used Spring JDBC and this is how I did it, I used their
Yes, iBATIS allows lazy loading across connections.
Be warned though, we allow this, but it does create the potential for
inconsistent data. For example:
1. Parent object is loaded (complex associations and collections are not,
proxy stubs are put in their place).
2. Some of the related data is
Hi,
I'm working my way through the 3.0 manual, and am new to iBatis. I wonder
if anyone could be so kind as to post a complete working example. There
seems to be a lot of examples in 2.x land, but not so many using the current
version. So a simple java class, config file, and map file.
Alt
10 matches
Mail list logo