Call a statement from resultMap->result iBatis
Posted
by Vinay
on Stack Overflow
See other posts from Stack Overflow
or by Vinay
Published on 2010-04-23T11:34:03Z
Indexed on
2010/04/23
11:43 UTC
Read the original article
Hit count: 245
ibatis
Hi All,
Please tell me is it correct configuration in given below. If there are mistake please reply.
select * from PAYMENT where ORDER_ID = #ordId# and CUST_ID = #ordCustId#
select * from PRODORDER where ord_id = #value# I am getting exceptions -
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in conf/sql-map.xml.
--- The error occurred while applying a result map.
--- Check the employee.orderResult.
--- Check the result mapping for the 'payments' property.
--- Cause: com.ibatis.sqlmap.client.SqlMapException: There is no statement named getOrderPayments in this SqlMap.
© Stack Overflow or respective owner