Skip to content

Installation

Import the Kaumei JDBC into your pom.xml as dependency or into your dependency management:

pom.xml
<dependency>
<groupId>io.kaumei.jdbc</groupId>
<artifactId>jdbc-annotation</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.kaumei.jdbc</groupId>
<artifactId>jdbc-core</artifactId>
<version>${project.version}</version>
</dependency>

Enable annotation processing in your pom.xml:

pom.xml
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>io.kaumei.jdbc</groupId>
<artifactId>jdbc-processor</artifactId>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>

If you use Maven, please check if the annotation processing is enabled correctly.