Re: two parametr in Mapper method

2009-10-06 Thread Clinton Begin
multiple parameters will require the XML equivalent parameter type to be Map. Behind the scenes, it will do exactly what you do today -- wrap multiple params in a Map. This keeps it simple and consistent. Clinton On Mon, Oct 5, 2009 at 12:23 AM, Guy Rouillier wrote: > I'm glad to see you are co

Re: Tutorial/Example of struts2 and ibatis

2009-10-06 Thread Andy Law
deligeli wrote: > > Hi! > > I am looking for an example/tutorial of struts2 + ibatis > > I searched google but didn't find anything relevant. > > Can anyone help? > Can't supply you with a full-blown tutorial, but what do you want to know? Later, Andy -- View this message in context:

RE: Tutorial/Example of struts2 and ibatis

2009-10-06 Thread Odelya YomTov
Maybe a short example of jsp file+ action + the ibatis dao Thanks! -Original Message- From: Andy Law [mailto:andy@roslin.ed.ac.uk] Sent: Tuesday, October 06, 2009 12:24 PM To: user-java@ibatis.apache.org Subject: Re: Tutorial/Example of struts2 and ibatis deligeli wrote: > > Hi

RE: Tutorial/Example of struts2 and ibatis

2009-10-06 Thread Andy Law
deligeli wrote: > > Maybe a short example of jsp file+ action + the ibatis dao > > > Are you familiar with any of "JSPs/web applications", "struts2" or "iBatis" or are you trying to learn all three at once? (Just so I know what level to pitch stuff) Later, Andy -- View this message in c

RE: Tutorial/Example of struts2 and ibatis

2009-10-06 Thread Odelya YomTov
Hi! I have already built an application with struts1 and Ibatis. But I have built it on JPetStore5 model, and I understood that it's not the best way of how to use the DAO layers. As well, it's my first time to use struts2. (I hope that JPetStore6 will be released soon). Do you recommend to use

IBATIS-670 - Dependencies on 3rd party libraries not marked optional

2009-10-06 Thread Martin Ellis
I've filed an issue on the maven builds: https://issues.apache.org/jira/browse/IBATIS-670 I've inadvertently marked it with a "Fix Version" - sorry. I was going to remove that version, but it's a small change (patch attached), so hopefully the current fix version will be correct. Will let you

Database Connection reset on Oracle 10g AS using Oracle 11g database

2009-10-06 Thread Jasmin Mehta
Larry, I saw an answer for one of the thread http://www.mail-archive.com/user-java@ibatis.apache.org/msg03522.html I have something similar, How do I modify spring.xml file to use BasicDataSource feature to ping the query? I have J2EE application running on OC4J application server. Where the

RE: Database Connection reset on Oracle 10g AS using Oracle 11g database

2009-10-06 Thread meindert
I'm using; Hope it helps From: Jasmin Mehta [mailto:jasmin_me...@nexweb.org] Sent: 06 October 2009

Performance retrieving list of strings.

2009-10-06 Thread Diran Ayandele
Hi, I have a set of 30K rows, actually just strings, that I need to return to my application. The query that generates them runs very quickly in 3 seconds according to the log, but then building out the results into a list of strings takes up to 3.5 minutes. Are there any simple things I

RE: Database Connection reset on Oracle 10g AS using Oracle 11g database

2009-10-06 Thread Jasmin Mehta
I have changed my spring.xml accordingly: But now I am getting runtime exception: [06 Oct 2009 11:32:13] DEBUG [UserSqlMapDAO] Opened SqlMapSession [com.ibatis.sqlmap.engine.impl.sqlmapsessioni...@282f55]

ORA-00923: FROM keyword not found where expected

2009-10-06 Thread Jasmin Mehta
From: Jasmin Mehta/VAB/HQ/NEXNET To: user-java@ibatis.apache.org Date: 10/06/2009 01:57 PM Subject: RE: Database Connection reset on Oracle 10g AS using Oracle 11g database I have changed my spring.xml accordingly:

Re: Database Connection reset on Oracle 10g AS using Oracle 11g database

2009-10-06 Thread Larry Meadors
Use "select 1 from dual" instead. On Tue, Oct 6, 2009 at 10:57 AM, Jasmin Mehta wrote: > I have changed my spring.xml accordingly: > > class="org.apache.commons.dbcp.BasicDataSource" >destroy-method="close"> > > > > > >

Re: ORA-00923: FROM keyword not found where expected

2009-10-06 Thread Jasmin Mehta
I got this exception 'ORA-00923: FROM keyword not found where expected' resolved by replacing with From: Jasmin Mehta To: user-java@ibatis.apache.org Date: 10/06/2009 02:07 PM Subject: ORA-00923: FROM keyword not found where expected From: Jasmin Mehta/VAB/HQ/NEXNET To: user-java@

Re: Database Connection reset on Oracle 10g AS using Oracle 11g database

2009-10-06 Thread Jasmin Mehta
That worked.. Thanks. From: Larry Meadors To: user-java@ibatis.apache.org Date: 10/06/2009 02:23 PM Subject: Re: Database Connection reset on Oracle 10g AS using Oracle 11g database Use "select 1 from dual" instead. On Tue, Oct 6, 2009 at 10:57 AM, Jasmin Mehta wrote: I have changed my spr