-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Support MyBatis for Spring Boot 3 Native #994
Comments
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 7, 2024
This was referenced Aug 7, 2024
I added a pipeline based on Ubuntu and macOS for testing native applications, and it has now passed the test https://github.com/xuxiaowei-com-cn/mybatis-spring-boot-starter/actions/workflows/native.yaml |
I personally develop my computer using Windows. 我个人开发使用 Windows 电脑。
|
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 8, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 8, 2024
mybatis#994 1. org.springframework.experimental:spring-aot use org.springframework.context.annotation.BeanDefinitionPostProcessor, but org.springframework.experimental:spring-aot only supported Spring Boot 2, EOL 2. Spring Boot 3 use org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 8, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 8, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 9, 2024
optimize mybatis.config-location mybatis#994
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 25, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 25, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 25, 2024
mybatis#994 1. org.springframework.experimental:spring-aot use org.springframework.context.annotation.BeanDefinitionPostProcessor, but org.springframework.experimental:spring-aot only supported Spring Boot 2, EOL 2. Spring Boot 3 use org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 25, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 25, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Aug 25, 2024
optimize mybatis.config-location mybatis#994
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Oct 17, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Oct 17, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Oct 17, 2024
mybatis#994 1. org.springframework.experimental:spring-aot use org.springframework.context.annotation.BeanDefinitionPostProcessor, but org.springframework.experimental:spring-aot only supported Spring Boot 2, EOL 2. Spring Boot 3 use org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Oct 17, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Oct 17, 2024
xuxiaowei-com-cn
added a commit
to xuxiaowei-com-cn/mybatis-spring-boot-starter
that referenced
this issue
Oct 17, 2024
optimize mybatis.config-location mybatis#994
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Premise
org.springframework.experimental:spring-aot
Repository: https://github.com/spring-attic/spring-native : EOLorg.springframework.experimental:spring-aot
Repository: https://github.com/spring-attic/spring-native : Thisproject is now superseded by Spring Boot 3+ official native support,
see the related reference documentation
for more details.
org.springframework.experimental:spring-aot
Repository: https://github.com/spring-attic/spring-native : Onlysupports Spring Boot 2, not Spring Boot 3
org.mybatis.spring.native:mybatis-spring-native-core
Repository: https://github.com/mybatis/spring-native :Used
org.springframework.experimental:spring-aot
前提
org.springframework.experimental:spring-aot
仓库: https://github.com/spring-attic/spring-native : 寿命终止org.springframework.experimental:spring-aot
仓库: https://github.com/spring-attic/spring-native : 该项目现已被Spring Boot 3+
官方原生支持所取代,请参阅 相关参考文档
了解更多详情。
org.springframework.experimental:spring-aot
仓库: https://github.com/spring-attic/spring-native : 仅支持 SpringBoot 2,不支持 Spring Boot 3
org.mybatis.spring.native:mybatis-spring-native-core
仓库: https://github.com/mybatis/spring-native :使用了
org.springframework.experimental:spring-aot
Principle
as much as possible
reflect-config.json
jni-config.json
resource-config.json
proxy-config.json
serialization-config.json
preset-classes-config.json
原则
reflect-config.json
jni-config.json
resource-config.json
proxy-config.json
serialization-config.json
preset-classes-config.json
New Features
mybatis.comnfig-location
is configured to recognize and automatically import resourcefiles
mybatis.mapper-locations
is configured to recognize and automatically import resourcefiles
java.util.ArrayList
java.util.HashMap
java.util.TreeSet
java.util.HashSet
org.apache.ibatis.logging.slf4j.Slf4jImpl
org.apache.ibatis.logging.commons.JakartaCommonsLoggingImpl
org.apache.ibatis.logging.log4j2.Log4j2Impl
org.apache.ibatis.logging.log4j.Log4jImpl
org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl
org.apache.ibatis.logging.nologging.NoLoggingImpl
org.apache.ibatis.plugin.Interceptor
org.apache.ibatis.javassist.util.proxy.ProxyFactory
org.apache.ibatis.scripting.xmltags.XMLLanguageDriver
org.apache.ibatis.scripting.defaults.RawLanguageDriver
org.mybatis.spring.SqlSessionFactoryBean
org.apache.ibatis.session.Configuration
org.mybatis.spring.boot.autoconfigure.SpringBootVFS
org/apache/ibatis/builder/xml/mybatis-3-config.dtd
org/apache/ibatis/builder/xml/mybatis-3-mapper.dtd
org/apache/ibatis/builder/xml/mybatis-config.xsd
org/apache/ibatis/builder/xml/mybatis-mapper.xsd
新功能
mybatis.config-location
配置识别,自动执行资源文件导入mybatis.mapper-locations
配置识别,自动执行资源文件导入java.util.ArrayList
java.util.HashMap
java.util.TreeSet
java.util.HashSet
org.apache.ibatis.logging.slf4j.Slf4jImpl
org.apache.ibatis.logging.commons.JakartaCommonsLoggingImpl
org.apache.ibatis.logging.log4j2.Log4j2Impl
org.apache.ibatis.logging.log4j.Log4jImpl
org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl
org.apache.ibatis.logging.nologging.NoLoggingImpl
org.apache.ibatis.plugin.Interceptor
org.apache.ibatis.javassist.util.proxy.ProxyFactory
org.apache.ibatis.scripting.xmltags.XMLLanguageDriver
org.apache.ibatis.scripting.defaults.RawLanguageDriver
org.mybatis.spring.SqlSessionFactoryBean
org.apache.ibatis.session.Configuration
org.mybatis.spring.boot.autoconfigure.SpringBootVFS
org/apache/ibatis/builder/xml/mybatis-3-config.dtd
org/apache/ibatis/builder/xml/mybatis-3-mapper.dtd
org/apache/ibatis/builder/xml/mybatis-config.xsd
org/apache/ibatis/builder/xml/mybatis-mapper.xsd
The text was updated successfully, but these errors were encountered: