daobab-projects / daobab-core

Daobab - Java ORM, Object Oriented SQL for Java and Kotlin

Home Page:http://www.daobab.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DAOBAB

Daobab is a Java ORM (Object Relational Mapping) library, allowing to build an SQL as fully object-oriented Java code, which may be used on:

  • database
  • collections
  • buffers
  • remotely

Daobab uses Java8 features to recreate the relations between entities into object-oriented code.

Example query

public List<Customer> example() {
    return db.select(tabCustomer)
            .where(and()
                    .equal(tabCustomer.colActive(), true)
                    .equal(tabCustomer.colLastName(), "WILSON"))
            .limitBy(100)
            .orderAscBy(tabCustomer.colLastName())
            .findMany();
}

Building from sources

The build requires at least Java 8 JDK as JAVA_HOME.

Repository content

  • daobab-core - Daobab ORM sources

License Apache License 2.0

http://www.apache.org/licenses/LICENSE-2.0

detailed information and examples

About

Daobab - Java ORM, Object Oriented SQL for Java and Kotlin

http://www.daobab.io


Languages

Language:Java 100.0%