quarkus-mybatis
quarkus-mybatis copied to clipboard
Quarkus MyBatis Extension
I had the same problem as this issue in native mode(jvm is fine) :[issue](https://github.com/quarkiverse/quarkus-mybatis/issues/20) This is supposed to be a reflex problem,when you use a bean to receive the result...
Could you provide details for ["quarkus.mybatis.mapper-locations"] property? I set application-dev.yaml ``` quarkus: mybatis: mapper-locations: - "classpath*:mapper/*Mapper.xml" ``` But error occurs: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): org.intco.EmailRecordMapper.getObjects
I'm trying to mock a mybatis Mapper interface for unit test. The mapper interface is like : ```java @Mapper public interface XxxMapper { @Select("SELECT count(*) FROM xxx") long count(); }...
**Enhancement suggestion** It would be great to have live reload when changing XML mappers, currently changes are not picked up and a force reload is required.
for example ,my mybatis-config.xml has content: In MyBatis extension ,The plugin needs to be processed in the method setupconfiguration in the MyBatisProcessor Class.
When I enable XML config with those properties: ``` quarkus.mybatis.xmlconfig.enable=true quarkus.mybatis.xmlconfig.path=mybatis/config.xml quarkus.mybatis.environment=dev quarkus.mybatis.auto-mapping-unknown-column-behavior=warning quarkus.mybatis.map-underscore-to-camel-case=true quarkus.mybatis.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl ``` those two build steps are executed: io.quarkiverse.mybatis.deployment.MyBatisProcessor#generateSqlSessionFactoryFromXmlConfig io.quarkiverse.mybatis.deployment.MyBatisProcessor#generateSqlSessionFactory and the application ends with two...
For example, under issue #85, when the server cannot access the Internet, it may still not work. I think the following two files can be registered by quarkus-mybatis to solve...
Currently we have to use ```@DataSourceMapper("xmlconfig")``` when using the mybatis xml configuration. see #114 #145 and it could make some inconveniences. I'm thinking to introduce ```quarkus.mybatis.xmlconfig.datasource``` to specify the datasource...
Currently we are using Datasouces.from(name) to get the dataSource by Agroal. It needs to change to use ArcContainer to get the data source while some other extension (such sharding-sphere-jdbc )...