类 MybatisHelper


  • @Component
    public class MybatisHelper
    extends Object
    • 构造器详细资料

      • MybatisHelper

        public MybatisHelper()
    • 方法详细资料

      • getSqlSessionFactory

        public static org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
      • getConnection

        public static Connection getConnection()
      • updateRuntimeConfiguration

        public static void updateRuntimeConfiguration()
      • setDraftMapper

        public static void setDraftMapper​(String menuId,
                                          String mapperId)
      • removeDraftMapper

        public static void removeDraftMapper​(String menuId,
                                             String mapperId)
      • removeRuntimeMapper

        public static void removeRuntimeMapper​(String resource)
      • updateRuntimeMapper

        public static void updateRuntimeMapper​(String mapperXmlContent,
                                               String prefix,
                                               String resource)
      • getStatementContent

        public static String getStatementContent​(String mappedStatementId)
      • getMapperContent

        public static String getMapperContent​(String mapperId)
      • setKeyPrefix

        public static void setKeyPrefix​(String prefix)
      • removeKeyPrefix

        public static void removeKeyPrefix()
      • getKeyPrefix

        public static String getKeyPrefix()