Probe Exception

2009-11-13 Thread sungk
After running in debug mode, seems like I am getting an exception: com.ibatis.common.beans.ProbeException: The 'COUPON_DATE' property of the java.util.HashMap class is not a List or Array. Any idea how to get over this -sungk sungk wrote: > > Hi > > I am trying to use ibatis to make a stored

Re: ibatis and compatible Embedded db

2009-11-13 Thread Clinton Begin
iBATIS 3 works with any database with a JDBC driver. We use Derby and HSQLDB for unit tests. Clinton On Fri, Nov 13, 2009 at 11:52 AM, Kai Grabfelder wrote: > at least h2 and hsql are working fine. > > regards > > Kai > > --- Original Nachricht --- > Absender: masonka...@libero.it > Datum: 13.1

Stored Procudure call with resultClass="java.util.HashMap"

2009-11-13 Thread sungk
Hi I am trying to use ibatis to make a stored procedure call as below: {call sel_products('ALL')} And my java code is: List results = getSqlMapClientTemplate().queryForList("get_products"); However this jsut hangs and does not return back. Turning the sql log, looks like the procedure

Accessing primary key in Oracle

2009-11-13 Thread Sekar, Sowmya
Hi, I was using Sybase until now and the way I was accessing primary key after a record insert was Insert into () values() select @@IDENTITY as value I have switched over to oracle 10g. How do I access the primary key in this case? Thanks, Sowmya

Re: ibatis and compatible Embedded db

2009-11-13 Thread Kai Grabfelder
at least h2 and hsql are working fine. regards Kai --- Original Nachricht --- Absender: masonka...@libero.it Datum: 13.11.2009 19:28 > Hi, > > Could you give me a list of embedded database that works fine with ibatis 3? > I think to db like apache derby for example. > > Thanks > > >

ibatis and compatible Embedded db

2009-11-13 Thread masonka...@libero.it
Hi, Could you give me a list of embedded database that works fine with ibatis 3? I think to db like apache derby for example. Thanks - To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-m

Re: Possibly faulty org.apache.ibatis.type.TypeException -> Postgres sequences

2009-11-13 Thread Edvin Syse
Done: https://issues.apache.org/jira/browse/IBATIS-694 Thanks :) -- Edvin Clinton Begin skrev: Cool. Thanks for diggin in to figure it out. Can you log a jira ticket for this? (Just paste the email body in) On Fri, Nov 13, 2009 at 8:29 AM, Edvin Syse > wrote:

Re: Possibly faulty org.apache.ibatis.type.TypeException -> Postgres sequences

2009-11-13 Thread Clinton Begin
Cool. Thanks for diggin in to figure it out. Can you log a jira ticket for this? (Just paste the email body in) On Fri, Nov 13, 2009 at 8:29 AM, Edvin Syse wrote: > I just figured it out. The folder property of my domain object was null. It > seems that the error message blaims the selectKe

Re: Possibly faulty org.apache.ibatis.type.TypeException -> Postgres sequences

2009-11-13 Thread Edvin Syse
I just figured it out. The folder property of my domain object was null. It seems that the error message blaims the selectKey statement instead of the insert-statement. If it is possible to separate them so that the error message is more informative/correct, I think a lot of confusion can be av

Re: iBatis 3 and Maven

2009-11-13 Thread Richard Bibb
many thanks -- View this message in context: http://old.nabble.com/iBatis-3-and-Maven-tp26336313p26336647.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-java-unsubscr

Re: iBatis 3 and Maven

2009-11-13 Thread Edvin Syse
Ibatis is available in the central maven repo, just add this to your pom: org.apache.ibatis ibatis-sqlmap 3.0-beta-5 -- Edvin Richard Bibb skrev: Do you have a maven repository I can reference for iBatis 3.0? Do you host your own? I don't mind

iBatis 3 and Maven

2009-11-13 Thread Richard Bibb
Do you have a maven repository I can reference for iBatis 3.0? Do you host your own? I don't mind updating my own repository but it would be nice to be able to reference yours -- View this message in context: http://old.nabble.com/iBatis-3-and-Maven-tp26336313p26336313.html Sent from the iBATIS

Possibly faulty org.apache.ibatis.type.TypeException -> Postgres sequences

2009-11-13 Thread Edvin Syse
Hi! I have declared a sequence in Postgres and try to use it in a selectKey statement that runs before an insert: SELECT nextval('messages_id_seq') INSERT INTO messages (id, folder, uid, subject, deliverydate, date, from, size, attachments, expunged, read

Re: Collection with composite key in XML mapping

2009-11-13 Thread btymvios
JIRA ticket opened, IBATIS-692. Thanks Jeff Butler-2 wrote: > > Open a JIRA ticket. If you can attach a path and a test case that > would be even better. > > Jeff Butler > > > On Thu, Nov 12, 2009 at 12:17 PM, Byron Tymvios wrote: >> I have downloaded the latest trunk of iBatis 3 from SVN