|
Hi Mark.
I've found that there are some subtle differences between the Java and
.NET versions of IBATIS.
In particular, .NET seems to require some container elements -
<resultMaps> and <statements>.
Try changing WorkOrder.xml as shown below.
Hope this helps,
Bevan.
<?xml
version="1.0"
encoding="utf-8"
?>
<sqlMap
namespace="Account"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="SqlMap.xsd">
<alias>
<typeAlias alias="WorkOrder" type="ibatistest.WorkOrderImpl, ibatistest" />
</alias>
<resultMap id="SelectAllResult" class="WorkOrder">
<result property="WorkOrder" column="WorkOrder" />
<result property="Account" column="Accont" /> </resultMap> <select id="SelectAllTest" reslutMap="SelectAllResult">
select
workdorder,account from workorder </select>
</sqlMap>
****************************************************************************** "This message (and any files transmitted with it) are confidential and may be legally privileged. If you are not the intended recipient please notify the sender immediately and delete this message from your system. This message does not necessarily reflect the views of the Reserve Bank of New Zealand. If the recipient has any concerns about the content of this message they should seek alternative confirmation from the Reserve Bank of New Zealand." ****************************************************************************** |
- Error Mesage Mark Babcock
- RE: Error Mesage Potter, Christopher
- RE: Error Mesage Mark Babcock
- RE: Error Mesage Bevan Arps
- RE: Error Mesage Mark Babcock

