Done
Details
Details
Assignee
Olivier Michallat
Olivier MichallatReporter
Olivier Michallat
Olivier MichallatPM Priority
B
Fix versions
Priority
Created December 27, 2018 at 2:13 PM
Updated June 23, 2019 at 10:11 AM
Resolved June 23, 2019 at 10:11 AM
Implement the object mapper for Java driver 4.
The goal is to follow the same general principles as the driver 3 mapper: mapped entities are defined via annotated classes, queries with annotated methods that either follow established CRUD patterns (select, save, delete) or provide the query string explicitly. There will be however a few notable differences:
use annotation processing to generate the code at compile time (instead of reflection in driver 3)
unify the "mapper" and "accessor" concepts into a single component, tentatively called
Dao
See the ticket's subtasks for more details.
There is a
java2078
branch in GitHub with a basic infrastructure to generate a main mapper class and DAO implementations (that are empty at this point). It should be used as the target for all pull requests, we'll merge it to 4.x when we are ready to release the mapper.