ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Kratz" <jason.kr...@firm58.com>
Subject RE: Need Help in iBatis Configuration
Date Thu, 06 Mar 2008 14:24:51 GMT
Happens to all of us Tony ;)




From: Angso, Tony [mailto:Tony_Angso@medco.com] 
Sent: Thursday, March 06, 2008 7:44 AM
To: user-java@ibatis.apache.org
Subject: RE: Need Help in iBatis Configuration


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...




-----Original Message-----
From: Leucht, Axel [mailto:Axel.Leucht@prodv.de] 
Sent: Thursday, March 06, 2008 2:13 AM
To: user-java@ibatis.apache.org
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"




<Your sql statements>



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"




<your sql map files>




I recommend reading the documentation like



This e-mail message and any attachments contain confidential information
from Medco. If you are not the intended recipient, you are hereby notified
that disclosure, printing, copying, distribution, or the taking of any
action in reliance on the contents of this electronic information is
strictly prohibited. If you have received this e-mail message in error,
please immediately notify the sender by reply message and then delete the
electronic message and any attachments. 

View raw message