Hi Tom,

Just was running the tests, and the test are failing (you probably noticed).
The main thing is that it is failing on getAutoIncrementColumn().

The following issues come to mind :

- Rename getAutoIncrementColumn() to getAutoIncrementColumns() for clarity.
- There are assertNull checks, but the method never returns null, it will at least return an empty column array. Does this need to return null, or should I change the test to expect an empty array ? (I am guessing the latter since current code has no null checks)
Also javadoc needs to mention what it returns when no columns are there.
- Maybe we need to add a shortcut for getAutoIncrementColumn(), since (most if not a lot of) databases only allow one increment column anyway (we can just add a note to the javadoc that it is safer to use getAutoIncrementColumns()).

So will be doing some work on DatabaseIO and DatabaseIOTest..

BTW can you send a mail to [EMAIL PROTECTED] ? (Unless you aren't a moderator, than it doesn't do anything..). This way my commit mails come through to the mailinglist.

Will be checking in again with you if I am not sure what you had in mind..

Mvgr,
Martin

Reply via email to