The attribute 'type' has recently been introduced. You are probably
using an older version of iBATIS or the DTD is not correct. What DTD are
you using in your sqlmaps?

Niels

-----Original Message-----
From: HelpMePlz [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 02, 2008 8:09 AM
To: [email protected]
Subject: Attribute "type" must be declared for element type "selectKey".


Hi to All


  i am getting this error  


Attribute "type" must be declared for element type "selectKey".


my sqlMap .xml code is 



<insert id="insertBooks" parameterClass="booksform">
<selectKey   resultClass="int"   type="pre"  keyProperty="bookid">
SELECT ADMINTEST.NEXTVAL AS bookid FROM DUAL
</selectKey>
insert into  IBATISADMINTEST (BOOKID,BOOKNAME , AUTHORNAME ,
AVAILABLEBOOKS,PUBLISHER,CATEGORY) 
values(#bookid#,#bookname#
,#authorname#,#availablebooks#,#publisher#,#category#)
</insert>



if any one know solution for this problem plz  give me reply .
-- 
View this message in context:
http://www.nabble.com/Attribute-%22type%22-must-be-declared-for-element-
type-%22selectKey%22.-tp16996705p16996705.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Reply via email to