unsubscribe Re: Connection closing after timeout on tomcat

2006-09-04 Thread Neeraj Kumar Jain
unsubscribe Poitras Christian wrote: Try adding a ping query to your sql-map-config. It will detect closed connection and create a new one. Christian -Original Message- From: Eric Bauld [mailto:[EMAIL PROTECTED] Sent: Friday, 25 August 2006 15:19 To: user-java@ibatis.apache.org Su

Re: Problem with multi-select inside a resultMap since Ibatis 2.20 (colored...)

2006-09-04 Thread TNO
This is a transaction problem... I think It curious to open transaction to execute some select query, isn't-it ? Class SqlMapExecutorDelegate and my txManager is null ! A test on txManager and a good error message would be great ;-)   /**    * Start a transaction on the session    *    * @p

RE: List and Axis

2006-09-04 Thread Chris Lamey
Title: RE: List and Axis You probably need to disable GCLIB and Lazy Loading in the sqlmap config if you want to use the model object directly in any kind of de/serialization.  Something like:     lazyLoadingEnabled="false"     enhancementEnabled="false"     [ whatever else your config need

Problem with multi-select inside a resultMap since Ibatis 2.20 (colored...)

2006-09-04 Thread TNO
Hello, I have a new problem since we use Ibatis 2.2.0. I use multi select inside a resultMap for 1-N relations : WHERE plan_option.i_plan = #id# WHERE echeance_option.i_plan = #id# WHERE echeance_plan.i_plan = #id#

Problem with multi-select inside a resultMap since Ibatis 2.20

2006-09-04 Thread TNO
Hello, I have a new problem since we use Ibatis 2.2.0. I use multi select inside a resultMap for 1-N relations : WHERE plan_option.i_plan = #id# WHERE echeance_option.i_plan = #id# WHERE echeance_plan.i_plan = #id# $wh

Two simultaneos M:N relations

2006-09-04 Thread Javier Urbaneja
HelloI have 4 tables of interest:USERS (ID_USER,NICKNAME,AVATAR_IMG_URL,...)GRUOPS (ID_GROUP,DESCRIPTION,LOGO_IMG_URL,...)GROUPS_HAVE_USERS (ID_GROUP(FK),ID_USER(FK))GROUPS_HAVE_ADMINS (ID_GROUP(FK),ID_USER(FK)) My Group domain class has one property for the List of Admins and another for the List

Re: List and Axis

2006-09-04 Thread Clinton Begin
If you turn off lazy loading in iBATIS, the problem may go away...Cheers,ClintonOn 9/4/06, Javier Leyba < [EMAIL PROTECTED]> wrote:HiI´m using iBatis to fill my beans with data and those beans are part of an Axis web service.Everything is ok except that Axis has problems with Listserialization/dese

AW: Document root element is missing

2006-09-04 Thread Leucht, Axel
Problem solved.   When you copy text from Acrobat Reader into a file inside the Eclipse-IDE, the text is treated as Unicode! Thanks for your help. /Axel

Re: Document root element is missing

2006-09-04 Thread Jeff Butler
You must be looking at an old version of the tutorial, and possibly using an old version of iBATIS.  The DOCTYPEs have changed.  You can get the correct ones from the iBATIS home page, or from a newer version of the tutorial.   Also, make sure you are using the latest version of iBATIS.   If makin

Re: Parameters to store procedure

2006-09-04 Thread Javier Leyba
On 9/4/06, Niels Beekman <[EMAIL PROTECTED]> wrote: Change #usedId# to #userId#, maybe the CDATA causes trouble too, but I'm not sure about that one. Thanks for your reply I´ve changed this (I couldn´t blieve I didn´t saw it before) but it didn't worked. I've some doubts: 1 - How should I

List and Axis

2006-09-04 Thread Javier Leyba
Hi I´m using iBatis to fill my beans with data and those beans are part of an Axis web service. Everything is ok except that Axis has problems with List serialization/deserialization. Is there a way to use Axis with this kind of data or an alternative way to avoid the use of List with iBatis re

Document root element is missing

2006-09-04 Thread Leucht, Axel
I'm currently trying to setup ibatis for the first time. I copied the SqlMapConfig.xml from the tutorial, tweaked the jdbc connection parameter to match my environment, copied the Person.xml from the tutorial, created the person table in the database and then tried to start a simple query as in

RE: Parameters to store procedure

2006-09-04 Thread Niels Beekman
Change #usedId# to #userId#, maybe the CDATA causes trouble too, but I'm not sure about that one. Niels -Original Message- From: Javier Leyba [mailto:[EMAIL PROTECTED] Sent: maandag 4 september 2006 10:47 To: user-java@ibatis.apache.org Subject: Re: Parameters to store procedure On 9/2

Re: Parameters to store procedure

2006-09-04 Thread Javier Leyba
On 9/2/06, Jeff Butler <[EMAIL PROTECTED]> wrote: iBATIS resultMap/resultClass objects are only used for result sets. Since your procedure does not return a result set, they will not work. In your case, since you are using a Map as a parameter object, the result should be available in the Map