mybatis
-
-
慢sql提前分析预警和动态sql替换-Mybatis-SQL
目录背景解决思路开源方案调研设计方案详细设计使用方法1、引入依赖jar包2、配置组件XML3、核心配置项4、默认分析效果展示1、慢sql分析效果2、sql动态替换效果5、实践使用方案1、慢sql分析-日志输出+关键词告警2、慢[详细]
2025-05-08 11:42 分类:开发 -
Java的MyBatis快速入门和实战详解
目录1.什么是MyBATis?2. JDBC存在的缺点硬编码操作繁琐3.Mybatis简化JDBC开发4.MyBatis快速入门|实战项目详解1.什么是MyBatis?[详细]
2023-05-01 10:24 分类:开发 How do I query subset of columns from PostGIS using MyBatis?
I\'m trying to query data from a PostGIS database using MyBatis, ignoring the geospatial data. I have the following table in the database:[详细]
2023-04-13 09:58 分类:问答How can I create bi-directional mappings with MyBatis 3.0.5?
Say I have two domain objects and a mapper interface. class Person { int id; List<Problem> problems = new ArrayList<Problem>();[详细]
2023-04-13 03:38 分类:问答How to return IDs on insert in mybatis and oracle with annotation
I am trying the following in Java @Insert(\"INSERT INTO USERS (ID,NAME,AGE) VALUES(USER_SEQ.NEXTVAL,#{name开发者_JAVA百科},#{age})\")[详细]
2023-04-12 11:09 分类:问答Using configuration.xml file and supplying DataSource settings in MyBatis 3.0.6
MyBatis documentation shows a way to build a SqlSessionFactory through XML configuration file or a Configuration object through Java code. It also mentions passing properties that will override what i[详细]
2023-04-12 07:12 分类:问答-
MyBatis的SQL执行结果和客户端执行结果不一致问题排查
目录问题引入问题介绍排查问题调试 MyBATis源码JDBC 执行 SQL解决问题待解决问题最近遇到一个调试很久的问题,MyBatis 查询 oracle 数据库查询结果与在客户端查询结果不一致。[详细]
2023-04-10 10:30 分类:开发 ibatis / mybatis caching within a restful webservice
I am using mybatis withi开发者_如何学JAVAn a Jax-RS (Jersey) restful web app. So automatically, I dont have a session or state management.[详细]
2023-04-08 13:50 分类:问答MyBatis 3.0.5 and mappers loading problem
I\'m using MyBatis 3.0.5 and I have problems about the loading of mappers as resources. I\'m on Windows 7 64, I use Eclipse Indigo 64bit and jdk7 64. MyBatis is initialized in a Grizzly Web Container[详细]
2023-04-07 10:02 分类:问答