Uploaded image for project: 'iBatis for Java [READ ONLY]'
  1. iBatis for Java [READ ONLY]
  2. IBATIS-650

Configuration class needs setter for all Maps

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0 Beta 3
    • 3.0 Beta 9
    • Core
    • None
    • In order to have the sqlConfig settings completely set within spring application context, it would help to have a setter function for mappers

    Description

      It makes sense to have a function in the Configuration class that is called setMappers(List<Class>).
      This would enable configuration of all Ibatis settings through aplication context as we can use a collection as a parameter instead of multiple invocations of the addMapper. The code would be trivial as it would just loop through the collection passed to the method and call addMapper on each one.

      Attachments

        Activity

          People

            cbegin Clinton Begin
            drosenstark David R
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: