dtd is messed up

2005-05-18 Thread
Hi, The dtd hosted on the web is incomplete. when I try to reference the local dtd from jar files the code says a base uri is required so I can't use my local copy either. please take a look, thanks Dhruv ___ Join Excite! - http://

help on com.ibatis.common.beans.ProbeException

2005-05-18 Thread Binh Tran
Hi all, When I tried to execute a procedure to return type NUMBER, I got this error message. [java] Caused by: com.ibatis.common.beans.ProbeException: Could not set property 'userId' for com.cellmania.cingular.user.UserParams. Cause: java.lang.IllegalArgumentException: argument type mismatch

Custom Type Handler on multiple columns

2005-05-18 Thread McCORMICK, Paul
Title: Custom Type Handler on multiple columns Is it possible to use more than one column in a custom type handler.       

Re: help on com.ibatis.common.beans.ProbeException

2005-05-18 Thread Mark Bennett
I didn't test it myself but could it be that your parameter map says "int" but the actual type is "Integer"?   Mark  On 5/17/05, Binh Tran <[EMAIL PROTECTED]> wrote: Hi all,When I tried to execute a procedure to return type NUMBER, I got this errormessage. [java] Caused by: com.ibatis.common.beans.

ResultMap composite key problem

2005-05-18 Thread Stuart Piltch
Hi there, I recently added some resultMaps with composite keys as described in the documentation: http://ibatisnet.sourceforge.net/DevGuide/ar01s03.html#d0e1064 I've done this successfully in iBatis before in other projects, but now I keep getting a jdbc "Column not found" error (see below for so

Re: dtd is messed up

2005-05-18 Thread Clinton Begin
I can't recreate the issue you're having.  It seems to validate fine in my IDE, as well as for all of the unit tests. What is the exact error you have? Clinton On 5/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi,The dtd hosted on the web is incomplete.when I try to reference the loca

Re: discriminator and submap

2005-05-18 Thread Clinton Begin
Discriminator and subMap are used for inheritance.   I don't think they help you with this situation.  However, you could use the N+1 selects solution.  Check out the FAQ on that subject "How do I avoid the N Plus One selects problem...?" Clinton On 5/18/05, Gregg D Bolinger <[EMAIL PROTECTED]> wr

Re: help on com.ibatis.common.beans.ProbeException

2005-05-18 Thread Brandon Goodin
What is the value that is actually getting passed back? Brandon On 5/17/05, Binh Tran <[EMAIL PROTECTED]> wrote: > Hi all, > When I tried to execute a procedure to return type NUMBER, I got this error > message. > > [java] Caused by: com.ibatis.common.beans.ProbeException: Could not set > proper

Re: Custom Type Handler on multiple columns

2005-05-18 Thread Gilles Bayon
You have the getResultSet() method on ResultGetter which return the underlying ResultSet so you can access all the columns. -Gilles

Re: Article on running iBATIS JPetStore using a Derby database on WebSphere

2005-05-18 Thread Clinton Begin
Cool.  The more help people have for WebSphere the better!  ;-) ClintonOn 5/16/05, Stanley Bradbury <[EMAIL PROTECTED]> wrote: Hi -Some of the readers of this list might be interested in an article justposted about running JPetStore using a Derby database on a WebSphereserver.  The link to the ar

Very Confused : Part 2 :)

2005-05-18 Thread Dave Guzda
Hello,   Thanks for the replies to my Ibatis inquiry...   My OS is Windows 2000, I'm using Java version "1.5.0_03", I do my compiling/coding with Eclipse V3.02.   I'm really just interested in getting the most basic query functional and working from there...   I'll look at the links already g

Issue with Firebird 1.5 and dot NET v 2.0 Beta

2005-05-18 Thread Sunil Sreedharan
Hi, Posted below is the complete Error Trace. Server Error in '/WebSite1' Application. Login failed for user 'SYSDBA'. Description: An unhandled exception occurred during the execution of the current web request. P

Re: Very Confused : Part 2 :)

2005-05-18 Thread Clinton Begin
Dave, I seriously recommend you learn JUnit before attempting to go any further.  Simple unit tests to verify each layer of your application's functionality will make your life a lot easier and your learning experience a lot more enjoyable. Cheers, Clinton On 5/18/05, Dave Guzda <[EMAIL PROTECT

Re: ResultMap composite key problem

2005-05-18 Thread Clinton Begin
That is terribly strange.  We have a unit test confirming proper parsingI wonder if the space is giving you trouble? Ours looks like this:       column="{orderId=ORD_ID,lineId=ORD_FAVOURITE_LINE}"   select="getSpecificLineItem"/> Try removing the space. ClintonOn 5/18/05, Stuart P

Re: Very Confused : Part 2 :)

2005-05-18 Thread Nathan Maves
Dave,First off I would try to get things working in a plain old java environment.  This means leave the servlet and web stuff out first.Second off the error you are getting is a common java error.  A NoClassDefFoundError means only one thing, you are missing a jar file.  Make sure that you have all