ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Carr" <Paul.C...@express-gifts.co.uk>
Subject RE: Websphere config
Date Tue, 28 Mar 2006 12:40:06 GMT
I've got the dao.xml Reader bit working ( copied the wrong line and
didn't realise till I sent the last email )

I still need to know how to configure the transaction manager to use
webspheres connection pool ?  

Best Regards

-----Original Message-----
From: Paul Carr [mailto:Paul.Carr@express-gifts.co.uk] 
Sent: 28 March 2006 11:17
To: user-java@ibatis.apache.org
Subject: Websphere config

Is anyone running ibatis under Websphere ( 5.0) ? I'm porting a
standalone app into WAS and I have a couple of questions.

(1) How do you configure the Reader to read dao.xml, and where in the
war do you put dao.xml / SqlMapConfig.xml ?
"Reader reader = new FileReader("dao.xml");" ?????????

(2) How do you setup ibatis to use the Websphere transaction manager ?

Best Regards

-----Original Message-----
From: Zoran Avtarovski [mailto:zoran@sparecreative.com] 
Sent: 28 March 2006 03:28
To: iBatis Java Mail List; March, Andres
Subject: Re: Extending resultsets

I'm an idiot. Thank you.

I'm having trouble reading the documentation (I mean technically, but it
could also be literally). I didn't think to look at the DTD.


> This is exactly the syntax that is available.  Have you looked at the
> DTD?
>> -----Original Message-----
>> From: Zoran Avtarovski [mailto:zoran@sparecreative.com]
>> Sent: Monday, March 27, 2006 4:45 PM
>> To: iBatis Java Mail List
>> Subject: OT: Extending resultsets
>> I've been working on a new project for the last month or so and I'm
> come
>> across a few things that are starting to irk me and I want to know if
> it
>> is
>> possible to do the following and if not what's involved in
> implementing.
>> Is it possible to to extend resultMaps much like Tiles allows you to
>> extend
>> a base layout. Eg
>> <resultMap class="CategoryForm" id="Category-result" >
>> <resultMap extends="Category-result" id="Category-result-detail" >
>> What I'm finding in our apps is that we often have a base resultMap
> which
>> returns the core data for an object and then we have detailed
>> resultMapswhich include core data plus "detailed" data which includes
> data
>> from n+1 selects and other selects. It would be nice not to have to
>> duplicate the core result mappings.
>> Zoran

View raw message