M:N solution and populating arrays instead of List

2006-03-27 Thread Raúl Arabaolaza Barquín
Hi to all.   I have a Infracction Class with a List field called reclamacion wich is to be populated with objects of Reclamation type, using the 1:N & N:M solution for N+1 querys i´m able to populate this property with a simple query. Here the code I use:   public class Infraction exten

ibator

2006-03-27 Thread Makunda Thapa
Is there any information how to use ibator? Mike _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Re: ibator

2006-03-27 Thread Jeff Butler
Documentation for Abator is included in the dowloaded files.  If you use Eclipse, the documentation is integrated into the Eclipse help system.   Jeff Butler  On 3/27/06, Makunda Thapa <[EMAIL PROTECTED]> wrote: Is there any information how to use ibator?Mike

Re: need help - custom result set with no mapping

2006-03-27 Thread Larry Meadors
On 3/27/06, Lingala, Sadasiva <[EMAIL PROTECTED]> wrote: A few things to note here. > Is this difficult or not possible? Either way, iBATIS or JDBC, you'll be writing the exact same code, because you are wanting to work with the JDBC metadata. > I like to find a solution as it provides uniform

Re: How to convert BLOB/CLOB to String.

2006-03-27 Thread Balaji
Does anyone have a custom type handler for Clob - String written that you can share. Thanks, Balaji - Original Message - From: "Nathan Maves" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 14, 2006 9:59 AM Subject: Re: How to convert BLOB to String. > Yes. > > All you would have to do

reusing resultMaps without extending them.

2006-03-27 Thread Christopher . Mathrusse
I can't seem to find any documentation on this so that is why I am asking the question. I have a ResultMap and I am try to avoid the select to load the associated object. So my SQL joins the two tables and all works well. My problem is that I would like to use the ResultMap already defined in anot

creating domain objects using Spring rather than newInstance()

2006-03-27 Thread Christopher . Mathrusse
I'm utilizing the Spring Framework with iBatis and I would like Spring to manage my domain objects. Rather than iBatis performing class.forName().newInstance(), I would like the Spring container to be called when a bean instance is needed. Is there some way to configure iBatis to allow for this?

JPetStore - Using billState property in Cart.java

2006-03-27 Thread Mike Wilson
Hello,  In the Cart.java I'm trying to grab the users' billState value (in Order.java) so I can use it as a qualifier for which tax rate is applied. I am trying to set the account.billState value in Order.java that I can use in the Cart.java. This is so I can calc different tax rates based on diffe

Re: creating domain objects using Spring rather than newInstance()

2006-03-27 Thread Jeff Butler
No.  See:   http://issues.apache.org/jira/browse/IBATIS-50   Jeff Butler  On 3/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: I'm utilizing the Spring Framework with iBatis and I would like Spring to manage my domain objects. Rather than iBatis performing class.forName().newInstance(), I wou

Re: JPetStore - Using billState property in Cart.java

2006-03-27 Thread Clinton Begin
Just a quick question: What are you doing with JPetStore?  The reason I ask is that as a moderator of the forum, I can't let the iBATIS user list be bothered with JPetStore customization questions We'll support JPetStore as an example for iBATIS, but we won't support it if you're trying to m

Re: JPetStore - Using billState property in Cart.java

2006-03-27 Thread Sven Boden
If I understand you correctly, this has been discussed before. It's because of "nesting statements". Hard to explain, but you use 1 query to fill in a bean in order to run a query to fill in another bean, and that doesn't work. I'm sure someone else can give a better explanation for it. If I r

Re: M:N solution and populating arrays instead of List

2006-03-27 Thread Zoran Avtarovski
Hi Raul, I'm not sure if it's the best way, but we had the same requirements and were able to do it by setting some extra getter and setter methods in the in our Java object. In you your example for instance to return an array we would set a getter called getReclamationArray() and convert the Lis

OT: Extending resultsets

2006-03-27 Thread Zoran Avtarovski
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

RE: Extending resultsets

2006-03-27 Thread March, Andres
This is exactly the syntax that is available. Have you looked at the DTD? > -Original Message- > From: Zoran Avtarovski [mailto:[EMAIL PROTECTED] > 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

Re: Extending resultsets

2006-03-27 Thread Zoran Avtarovski
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. Zoran > This is exactly the syntax that is available. Have you looked at the > DTD? > >> -Original Message- >> From: Zoran Avta