weightless-orm

A lightweight database mapping library for the JVM

Weightless is the lowest barrier-to-entry database mapping library for the JVM. Weightless currently supports MongoDB.

Create Database Records

A great place to start with the Weightless library.

Press the green play button at the top of the Repl.it below to begin the first example.

Search for Database Records

Searching a database is extremely easy with Weightless because it conforms to the wrapper types you want to return (such as List or Iterator).

Update Database Records

Updating records is just as simple as you might expect.

Delete Database Records

Deleting database records is just as natual as finding them.

Weightless with a Webserver

This example shows how weightless can be used to serve data behind a simple Javalin webserver.

Installation

Install with maven:

<dependency>
  <groupId>com.jackhallam</groupId>
  <artifactId>weightless-orm</artifactId>
  <version>0.1.1-beta</version>
</dependency>