mybatis
-
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 分类:问答Problems configuring mybatis-spring in Red5
All, I\'m trying to configure MyBatis in an application running under Red5 server. I created an additional spring config file red5-ibatis.xml under WEB-INF which has these beans configured (as descri[详细]
2023-04-02 07:08 分类:问答-
手把手教你SpringBoot整合Mybatis
目录MyBATis的简单介绍1 环境搭建2 整合方式一:注解版2.1 配置2.2 编码2.3 测试3 整合方式二:XML版3.1 配置3.2 编码3.3 测试4 总结Mybatis的简单介绍[详细]
2023-03-31 11:09 分类:开发