Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daobab-projects/daobab-core

Daobab - Java ORM, Object Oriented SQL for Java and Kotlin
https://github.com/daobab-projects/daobab-core

daobab h2-database java java-orm jdbc jdbc-database kotlin mysql-database oracle-database orm postgresql-database sql

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# DAOBAB #

[Daobab](http://www.daobab.io) 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 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](http://www.daobab.io) ORM sources

### License Apache License 2.0 ###

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

### detailed information and examples ###

* http://www.daobab.io
* [email protected]