ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: get id with iBatis (Statement.RETURN_GENERATED_KEYS)
Date Tue, 16 May 2006 20:29:00 GMT
These are simple XML errors.  Please make sure that you are using the latest
version of iBATIS (2.1.7) and that you've set the DOCTYPE of all your config
files to the new DTD's specified on the bottom of the iBATIS home page at

The example I gave in my last post should work if you are using the latest
version of iBATIS.

Jeff Butler

On 5/16/06, xianwinwin <xianwinwin@gmail.com> wrote:
> error:  Document root element is missing.
> Jeff, do you have any example I can look at which might assist me?
> I also get those errors:
> Element type "insert" must be declared
> Element type "selectKey" must be declared
> thanks again
> --
> View this message in context:
> http://www.nabble.com/get-id-with-iBatis-%28Statement.RETURN_GENERATED_KEYS%29-t1629789.html#a4418032
> Sent from the iBATIS - User - Java forum at Nabble.com.

View raw message