Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-3952

Add support for page quering in ibatis and mybatis

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.7.1
    • Fix Version/s: Future
    • Component/s: camel-ibatis
    • Labels:
      None

      Description

      Cmel-ibatis or Cmel-mybatis provides us the basic CURD processing to be integrated with ibatis or mybatis api, but there's no special support for Page Querying which is quite common in practise. So some improvements towards that should be added.

      Take mybatis for example, "SqlSession" interface of it provides "List selectList(String statement, Object parameter, RowBounds rowBounds)" method to support pageQuery while similar jobs did in Hibernatewith PageDialect brought in for support. so PageQuery support either in camel-ibatis or camel-mybatis seems more helpfull in real life to be integrated with ibatis or mybatis. I think we should add new peration type in "StatementType" and try to make some patch towards the XXProducer or XXConsumer class to put it into practise.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jerryscott2012 jerryscott2012
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: