MyBatis 3.4.x insert 中调用存储过程插入数据,怎么获得当前插入的主键并在dao中返回呢

在insert 中跑insert语句可以获得插入数据主键id, 但是在存储过程中插入怎么获得主键id呢?我总不能一个insert的存储过程放在select中去做吧。这会不会存在缓存问题,或者mybatis需要做更多的事情?Comment F...

MyBatis I have a question

When I read the source code of mybatis,I find ExceptionUtil strange,I don't understand why he added the while loop to th...

MyBatis Bump postgresql from 42.2.11 to 42.2.12

Bumps postgresql from 42.2.11 to 42.2.12.ChangelogSourced from postgresql's changelog.[42.2.12] (2020-03-31)Notable chan...

MyBatis Mybatis supports asynchronous queries

Does mybatis now support asynchronous queries?Comment From: harawataAs stated in the issue template, we use GitHub Issue...

MyBatis Missing parentheses in <foreach> tag when collection is empty

MyBatis version3.5.1Database vendor and versionMySQL 5.7.19Test case or example projectSELECT a.id, a.name, a.oid FRO...

MyBatis Bump junit-jupiter-engine from 5.6.0 to 5.6.1

Bumps junit-jupiter-engine from 5.6.0 to 5.6.1.Release notesSourced from junit-jupiter-engine's releases.JUnit 5.6.1 = P...

MyBatis MetaObject.setValue tip error

MyBatis version 3.4.6test case.public class MetaObjectTest { class B { private String name; public B(St...

MyBatis CacheNamespaceRef causes IllegalArgumentException

MyBatis version3.5.4Database vendor and versionhsqldbTest case or example projectunit test for cachenamespaceref #1873ht...

MyBatis unit test for cachenamespaceref

When mapper annotated with @CacheNamespaceRef is parsed before the one where the refered cache is defined, an unreasonab...

MyBatis Allow any variable name on ognl expression when specify single value object as parameter object

Fixes gh-1486 (Related with #1237)I've allowed to access a parameter object(value object) using any variable name on OGN...

MyBatis Allow using actual argument name as bind parameter on a single collection

I've tried to fix #1237 .@harawata Please review this.Comment From: tokuhiromI'm a heavy user of the isUseActualParamNam...

MyBatis Allow using actual argument name as bind parameter on a single collection

Fixes gh-1237I've made available access to a single collection and array as bind parameter using actual parameter name.

MyBatis Bump javassist from 3.26.0-GA to 3.27.0-GA

Bumps javassist from 3.26.0-GA to 3.27.0-GA.CommitsSee full diff in compare viewDependabot will resolve any conflicts wi...

MyBatis record missing in result

MyBatis version3.5.4Database vendor and versionH2Test case or example projecthttps://github.com/blindpirate/mybatis-bug-...

MyBatis Refactoring redundant duplicate code

Comment From: hazendaz@nothingzhl @kazuki43zoo Closing this PR as the change is now on master separately.Comment From: h...

MyBatis [ci] More formatting efforts

doesn't affect current checkstyle scores at all. This is intended as a slow approach at getting to auto formatting and ...

MyBatis [cleanup] Reduce duplicated code by combining prepareStatement & prepareCall as they performed same lines

Comment From: hazendazblock here is 100% the same per sonarlint. Confirmed each line was the same so either using this ...

MyBatis Bump mockito-core from 3.2.4 to 3.3.3

Bumps mockito-core from 3.2.4 to 3.3.3.Release notesSourced from mockito-core's releases.v3.3.3Release notes were automa...

MyBatis Bump mockito-core from 3.2.4 to 3.3.0

Bumps mockito-core from 3.2.4 to 3.3.0.Release notesSourced from mockito-core's releases.v3.3.0Release notes were automa...

MyBatis Bump postgresql from 42.2.10 to 42.2.11

Bumps postgresql from 42.2.10 to 42.2.11.ChangelogSourced from postgresql's changelog.[42.2.11] (2020-03-07)ChangedRever...
上一页 下一页
.