📜
En2Do
  • En2Do
  • Get Started
    • Add as dependency
    • Create the MongoManager
      • MongoManager and ExecutorService
    • Create an Entity
      • Entities without lombok
    • Create the Repository
    • Packing all together
  • METHODS
    • Predefined methods
    • Method keywords
    • Filter keywords
    • AsyncRepository
  • Repository Options
    • What are Repository Options?
    • SeparateEntityId
    • DropEntitiesOnStart
    • DropIndexesOnStart
    • AppendMethodAsComment
  • Usage
    • Sorting
      • Sorting by Annotation
      • Sorting by Parameter
    • Pagination
    • Index
      • Identifier Index
      • Compound Index (Multi-Field-Index)
      • TTL Index
    • Transform
    • Transient
    • TransformField
    • Async
    • UpdateBatch
Powered by GitBook
On this page

En2Do

Entity framework for MongoDB in Java 11 - 17

NextAdd as dependency

Last updated 2 years ago

CtrlK

En2Do is short for Entity-To-Document.

This framework is heavily inspired by Spring Data.

You need help or want to share a project, which uses en2do?

Feel free to join our Discord!

Links:

  • Maven

  • GitHub

  • Documentation

  • Discord Support

  • JavaDocs

Current Features

  • Supports Java 11 - 17

  • MongoDB POJO-Codec classes (Learn more)

  • Create methods without implementing them

  • Repositories by proxy classes to simplify usage and method declaration

  • Load credentials from files, resources or hardcoded Strings

  • Sorting via Parameter and Annotations

  • Indexes: Compound/Multi-Field, Time-To-Live, Unique-Identifier

  • Transforming field- and method-names to enable customization

  • Setting fields transient to ignore them in the database

  • Asynchronous operations