ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Beekman" <n.beek...@wis.nl>
Subject RE: Attribute "type" must be declared for element type "selectKey".
Date Fri, 02 May 2008 11:12:45 GMT
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:supriyanaidupelluru@gmail.com] 
Sent: Friday, May 02, 2008 8:09 AM
To: user-java@ibatis.apache.org
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.


Mime
View raw message