I had it working last night and it is exactly what you are said... I
missed the DocType in my SQLMap.xml... I have the book iBatis in Action
and the solution is "staring" at me right in front of my face and I
missed it ... ;-(
Thanks to all that reply to my post...
Tony
-----Original Message-----
From: Leucht, Axel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2008 2:13 AM
To: [email protected]
Subject: AW: Need Help in iBatis Configuration
Your sqlMap file should read like this
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE sqlMap
PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap>
<Your sql statements>
</sqlMap>
whereas your SqlMapconfig should read like
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE sqlMapConfig
PUBLIC "-//ibatis.apache.org//DTD SQL Map Config
2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
<sqlMapConfig>
<your sql map files>
</sqlMapConfig>
I recommend reading the documentation like
http://ibatis.apache.org/docs/java/pdf/iBATIS-SqlMaps-2-Tutorial_en.pdf
/Axel