Unsupported SQL Type 1111 when passing String to VARCHAR field

2009-12-23 Thread omnipresent
I have been smashing my head against this for a while now. I am using iBatis with my JAVA code to run Stored Proc residing in Sybase DB. Stored procedure is expecting some parameters. few of them are declared as VARCHAR (6) So in my iBatis mapping i did the following for those parameters. Ho

Cause: java.sql.SQLException: Closed Connection

2010-06-06 Thread omnipresent
I am getting java.sql.SQLException error and don't know where to turn. Below is the stacktrace:- Caused by: java.sql.SQLException: Closed Connection at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:185) at com.ibatis.sql