GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ebean-orm/ebean: Ebean ORM

BranchesTags
Open more actions menu

Latest commit

 

History

8,077 Commits
8,077 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.travis
.travis
 
 
composites
composites
 
 
docs
docs
 
 
ebean-api
ebean-api
 
 
ebean-avajejsonb-mapper
ebean-avajejsonb-mapper
 
 
ebean-bench
ebean-bench
 
 
ebean-bom
ebean-bom
 
 
ebean-core-json
ebean-core-json
 
 
ebean-core-type
ebean-core-type
 
 
ebean-core
ebean-core
 
 
ebean-ddl-generator
ebean-ddl-generator
 
 
ebean-jackson-mapper
ebean-jackson-mapper
 
 
ebean-net-postgis-types
ebean-net-postgis-types
 
 
ebean-opentelemetry
ebean-opentelemetry
 
 
ebean-pgvector-types
ebean-pgvector-types
 
 
ebean-postgis-types
ebean-postgis-types
 
 
ebean-querybean
ebean-querybean
 
 
ebean-redis
ebean-redis
 
 
ebean-redisson
ebean-redisson
 
 
ebean-spring-txn
ebean-spring-txn
 
 
ebean-test
ebean-test
 
 
kotlin-querybean-generator
kotlin-querybean-generator
 
 
platforms
platforms
 
 
querybean-generator
querybean-generator
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CONFIGURATION.md
CONFIGURATION.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
graalvm-native-image.md
graalvm-native-image.md
 
 
howto-deploy-to-central.md
howto-deploy-to-central.md
 
 
howto-test.md
howto-test.md
 
 
jakarta-to-javax.sh
jakarta-to-javax.sh
 
 
javax-to-jakarta.sh
javax-to-jakarta.sh
 
 
llms.txt
llms.txt
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Build Maven Central : ebean License Multi-JDK Build GraalVM Native Image

Build with database platforms

H2Database Postgres MySql MariaDB Oracle SqlServer DB2 LUW Yugabyte

Build with Java Early Access versions

ebean EA datasource EA migration EA test-docker EA ebean-agent EA


Ebean ORM for Java & Kotlin

Multiple abstraction levels: Ebean provides multiple levels of query abstraction ORM Queries, mixed with SQL, DTO Queries, SqlQuery and JDBC. Work at the highest level of abstraction and drop down levels as needed.

Database migrations: Built in DB migration generation and running. Support for "rebase" migrations as well as repeatable, init and 'normal' migrations.

Awesome SQL: Ebean produces SQL that you would hand craft yourself. Use great SQL, never generate SQL cartesian product, always honor relational limit/offset.

Automated query tuning: For ORM queries Ebean can profile the object graph being used and either automatically tune the query.

Docker test containers: Docker test containers for all the supported databases. Get 100% test coverage on all the features of the database we use.

Type safe queries: We can build queries using type safe query beans. IDE auto-complete when writing queries, compile time checking and it's FUN.

Performance isn't optional: Optimise queries to only fetch what we need (partial objects). Automatically avoid N+1 via a smart load context.

Benefits of ORM

  • Automatically avoid N+1
  • L2 caching to reduce database load
  • Queries mixing database and L2 cache
  • Automatically tune ORM queries
  • Elasticsearch for search or L3 cache

Sponsors

Need help?

Post questions or issues to the Ebean google group or github discussions

Documentation

Goto https://ebean.io/docs/

Guides

Library reference (capabilities, scope, and AI guidance): docs/LIBRARY.md

Step-by-step guides for common tasks: docs/guides/

Available guides:

  • Maven POM setup
  • Database configuration
  • Test container setup
  • DB migration generation
  • Lombok with Ebean entity beans

Maven central

Maven central - g:io.ebean

Building Ebean from source

  • JDK 11 or higher installed
  • Maven installed
  • git clone [email protected]:ebean-orm/ebean.git
  • mvn clean install

Ebean 13 uses Java modules with module-info. This means that there are stricter compilation rules in place now than when building with classpath pre version 13.

For Maven Surefire testing we use <surefire.useModulePath>false</surefire.useModulePath> such that tests run using classpath and not module-path. We are doing this until all the tooling (Maven, IDE) improves in the area of testing with module-info.

Eclipse IDE

Right now we can't use Eclipse IDE to build Ebean and run its tests due to its poor support for java modules. See ebean/issues/2653

The current recommendation is to use IntelliJ IDEA as the IDE to build and hack Ebean.

IntelliJ IDEA

We want to get IntelliJ to run tests using classpath similar to Maven Surefire. To do this set: JUnit -> modify options -> Do not use module-path option

To set this option as the global default for IntelliJ use:

Run - Edit Configurations -> Edit configuration templates -> JUnit -> modify options - Do not use module-path option

end

About

Ebean ORM

ebean.io

Topics

cockroachdbdatabaseebeanelasticsearchh2hanajavajdbcjpakotlinmariadbmysqloracleormpostgressqlsqlitesqlserver

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1.5k stars

Watchers

70 watching

Forks

269 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.