MyBatis
JVM since1.1.0 Native since2.8.0
Performs a query, poll, insert, update or delete in a relational database using MyBatis.
What’s inside
-
MyBatis component, URI syntax:
mybatis:statement
-
MyBatis Bean component, URI syntax:
mybatis-bean:beanName:methodName
Please refer to the above links for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-mybatis</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Additional Camel Quarkus configuration
Please refer to Quarkus MyBatis for configuration. It must enable the following options
quarkus.mybatis.xmlconfig.enable=true
quarkus.mybatis.xmlconfig.path=SqlMapConfig.xml
quarkus.mybatis.xmlconfig.path must be the same with configurationUri param in the mybatis endpoint. |