Open xuxiaowei-com-cn opened 3 months ago
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. The Windows pipeline requires the following conditions, which I have not been able to solve yet.
我个人开发使用 Windows 电脑。 Windows 运行需要安装以下软件,流水线尚未解决。
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 : This project 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 : Only supports Spring Boot 2, not Spring Boot 3org.mybatis.spring.native:mybatis-spring-native-core
Repository: https://github.com/mybatis/spring-native : Usedorg.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 : 仅支持 Spring Boot 2,不支持 Spring Boot 3org.mybatis.spring.native:mybatis-spring-native-core
仓库: https://github.com/mybatis/spring-native : 使用了org.springframework.experimental:spring-aot
Principle
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 resource filesmybatis.mapper-locations
is configured to recognize and automatically import resource filesjava.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