File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,11 @@ The most important part of the `pom.xml` is adding the `cassandra-quarkus` exten
6666</dependency>
6767----
6868
69+ Also make sure to follow the
70+ link:https://docs.datastax.com/en/developer/java-driver/latest/manual/mapper/config/[instructions]
71+ on how to add an annotation processor to the compiler configuration. When the project is compiled,
72+ additional mapper classes are generated.
73+
6974== Creating JSON REST service
7075
7176In this example, we will create an application to manage a list of fruits.
@@ -179,6 +184,9 @@ public class FruitDaoProducer {
179184Note how the `QuarkusCqlSession` instance is injected automatically by the cassandra-quarkus
180185extension in the `FruitDaoProducer` constructor.
181186
187+ Also note that `FruitMapperBuilder` is one of the classes generated automatically by the
188+ `java-driver-mapper-processor` annotation processor.
189+
182190Now create a `FruitService` that will be the business layer of our application and store/load the
183191fruits from the Cassandra database.
184192
You can’t perform that action at this time.
0 commit comments