>> You can do that now. Maybe I'm missing something? >> The Ibatis insert() statement throws a SQLException.. ..
Below is the first part of stack dump that is triggers by the failed insertion, so should I be catching a DaoException or NestedSQLException?... Or is there anything else I can do? >>>>>> StandardWrapperValve[action]: Servlet.service() for servlet action threw exception com.ibatis.dao.client.DaoException: Failed to update - id [insertModule] - parameterObject [EMAIL PROTECTED] Cause: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/socs/persistence/sqlmapdao/sql/Module.xml. --- The error occurred while applying a parameter map. --- Check the insertModule-InlineParameterMap. --- Check the statement (update failed). --- Cause: com.borland.datastore.driver.SqlState: Runtime Error: [line 1, col 6] Duplicate key value for $UNIQUE$1 sort order in "MODULE". Caused by: com.borland.datastore.driver.SqlState: Runtime Error: [line 1, col 6] Duplicate key value for $UNIQUE$1 sort order in "MODULE". <<<<<< Tim Christopher

