Skip to content

DataStax-Examples/object-mapper-jvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object mapper in alternative JVM tools and languages

The Java DataStax Driver comes with an object mapper that removes boilerplate of writing queries and lets you focus on your application objects. This example shows how to use the mapper with various "alternative" JVM tools and languages.

These examples rely on Java driver 4.9.0, which is still in development at the time of writing.

See each subdirectory for more explanations:

  • kotlin/: models entities with Kotlin data classes, builds with Gradle.
  • scala/: models entities with Scala case classes, builds with sbt.
  • lombok/: models entities with Java classes annotated with Lombok.
  • record/: models entities with Java 14 records.

See also the object-mapper-java project for a standard example using JavaBeans.

Contributor(s): Olivier Michallat

About

Examples of the Java DataStax Driver Object Mapper with alternative JVM languages and frameworks

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published