Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/daobab-projects/daobab-core
- Owner: daobab-projects
- Created: 2021-05-05T17:52:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T17:42:21.000Z (3 months ago)
- Last Synced: 2024-09-28T15:42:18.841Z (about 1 month ago)
- Topics: daobab, h2-database, java, java-orm, jdbc, jdbc-database, kotlin, mysql-database, oracle-database, orm, postgresql-database, sql
- Language: Java
- Homepage: http://www.daobab.io
- Size: 1.22 MB
- Stars: 37
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
* remotelyDaobab 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]