No description
  • Java 93.3%
  • PLpgSQL 3%
  • TSQL 2.7%
  • SQLPL 0.7%
  • Kotlin 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rob Bygrave d0348210be
Merge pull request #3398 from ebean-orm/feature/NoTimeZone
mysql: Support "NoTimeZone" to bypass MySQL JDBC use of Timezone Calendar
2024-05-01 20:30:56 +12:00
.github git workflow trigger on push to master and pull_request 2024-03-03 15:33:39 +13:00
.travis Modify Autotune module tests with surefire output 2020-10-09 09:37:26 +13:00
composites Version 14.1.0 2024-04-04 22:54:23 +13:00
ebean-api Postgres: Add support for DISTINCT ON query clause 2024-05-01 00:50:37 +12:00
ebean-bom Version 14.1.0 2024-04-04 22:54:23 +13:00
ebean-core Merge pull request #3398 from ebean-orm/feature/NoTimeZone 2024-05-01 20:30:56 +12:00
ebean-core-type Version 14.1.0 2024-04-04 22:54:23 +13:00
ebean-ddl-generator Version 14.1.0 2024-04-04 22:54:23 +13:00
ebean-jackson-mapper Version 14.1.0 2024-04-04 22:54:23 +13:00
ebean-postgis-types Rename TQRootBean to QueryBean 2024-04-05 22:08:26 +13:00
ebean-querybean Postgres: Add support for DISTINCT ON query clause 2024-05-01 00:50:37 +12:00
ebean-redis Rename TQRootBean to QueryBean 2024-04-05 22:08:26 +13:00
ebean-spring-txn Rename TQRootBean to QueryBean 2024-04-05 22:08:26 +13:00
ebean-test #3397 DISTINCT ON subquery support 2024-05-01 20:07:16 +12:00
kotlin-querybean-generator Rename TQRootBean to QueryBean 2024-04-05 22:08:26 +13:00
platforms Include inline sql hint and comment in limit/offset sql 2024-04-30 23:46:36 +12:00
querybean-generator Rename TQRootBean to QueryBean 2024-04-05 22:08:26 +13:00
tests Fix test test-java16 using maven.compiler.release 2024-04-14 22:26:20 +12:00
.editorconfig #1301 - No effective change - format lines 2018-03-02 13:30:40 +13:00
.gitignore #3101 - Support JPA Indexes 2023-06-16 13:44:03 +12:00
.travis.yml Improve MAVEN build Performance 2021-08-27 09:24:13 +08:00
CONFIGURATION.md Update CONFIGURATION.md with small corrections 2023-06-14 14:34:09 +02:00
howto-deploy-to-central.md Version 14.1.0 2024-04-04 22:54:23 +13:00
howto-test.md Fix: HANA always requires stored procedures (similar to SqlServer), Fix: default value on intermediate alters 2022-02-25 12:09:09 +01:00
jakarta-to-javax.sh Update jakarta-to-javax.sh for jakarta.transaction module name 2023-09-11 23:21:55 +12:00
javax-to-jakarta.sh Fix javax-to-jakarta support for jakarta.transaction 2023-06-01 08:24:14 +12:00
LICENSE Update to the newer Apache2 licence text (from older Apache2 license text) 2022-02-22 14:51:54 +13:00
pom.xml Bump ebean-agent 14.2.1 2024-04-12 21:49:56 +12:00
README.md Update README add end 2023-05-10 00:30:07 +12:00

Build Maven Central : ebean License Multi-JDK Build

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/

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