HiI am trying to create SqlMapClient using Properties object
I am getting following error, please see my code below
Exception in thread "main" java.lang.NullPointerException
at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.endTransaction(SqlMapExecutorDelegate.java:782)
at
com.ibatis.sqlmap
I finally achieve success with my original SQLScript by patching ibatis
instead of having to do convoluted things in my source code that I could
not stand before a QA session.
in file:
ibatis-2.3.4.726\src\ibatis-src\com\ibatis\common\beans\ProbeFactory.java
in method: getProbe(), line: 33
repl
Thank you Jeff, for the information.
Jeff Butler schrieb:
This is a known bug:
http://issues.apache.org/jira/browse/IBATIS-357
http://issues.apache.org/jira/browse/IBATIS-450
Feel free to attach a patch if you've got one.
I think, my first idea, simply call ResultSet.wasNull() does not work.
This is a bug in how iBATIS handles maps inside a list parameter.
Curiously, using #[].name# and #[].type# gave the expected result, but not
$[].name$ and $[].type$...
You can use a simple patch by putting your list of maps inside a map:
private Map>> prepareCreateTableParams(
fin
This is a known bug:
http://issues.apache.org/jira/browse/IBATIS-357
http://issues.apache.org/jira/browse/IBATIS-450
Feel free to attach a patch if you've got one.
Jeff Butler
On Thu, Oct 23, 2008 at 6:37 AM, Ingmar Lötzsch
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I found the reason for my prob
Hello,
I found the reason for my problem is the following method in class
ResultMap, line 310:
public Object[] getResults(StatementScope statementScope, ResultSet rs)
throws SQLException {
...
boolean foundData = false;
Object[] columnValues = new Object[getResultMappings().len
Hello,
I found a behaviour in iBATIS, what I don't unterstand. Dependend on the
list of properties selected in a statement joining 3 tables the
execution of a nested result map results in an instantiation or not.
iBATIS: 2.3.4.726
Spring: 2.5.2
I have 3 tables (I omit the unnecessary properties)