ebean-orm.github.io
Ebean ORM - Java/Kotlin/JVM
http://ebean-orm.github.io/quickstart
1 git clone example-minimal. Git clone git@github.com:ebean-orm-examples/example-minimal.git. 2 mvn clean test. Example-minimal mvn clean test. 3 Install IDE enhancement plugin. Installing and using the enhancement plugin for IntelliJ IDEA. Installing the enhancement plugin for Eclipse IDE. Modify the minimal application adding entities, properties, tests etc. This example project has a larger model of entity beans to look at. A Kotlin / Guice / RestEasy / Ebean example project.
ebean-orm.github.io
Automatic query tuning - Ebean ORM
http://ebean-orm.github.io/docs/query/autotune
AutoTune is an Ebean feature that can automatically tune ORM queries based on profiling the application. The profiling determines which part of the object graph are used by the application and provides an optimised query that can be used to tune the. Part of the ORM query. Automatic query tuning using profiling. ORM queries have a. Which have a hash key like. Which is made up of 3 parts - the query bean type and query type, the immediate method executing the query and the call stack. ProfilingFile = "ebe...
ebean-orm.github.io
Ebean ORM - Java/Kotlin/JVM
http://ebean-orm.github.io/releases
Source Code / Release Notes. Please see the project's github release page. For details of the releases. View the latest artifacts for. Past versions of Ebean artifacts where released using the groupId:. And prior to that. These artifacts can be found here. In moving to the. GroupId the artifactId's where changed to follow a simpler naming convention. Help the Ebean project maintain releases and documentation.
ebean-orm.github.io
Ebean ORM - Java/Kotlin/JVM
http://ebean-orm.github.io/videos
How Ebean is architected to be a sessionless ORM. Why Ebean has ElasticSearch integration. An explanation of Ebean's Persistence Context and the various scopes that is supports. OLTP vs OLAP use cases. How Ebean fits in OLTP vs OLAP use cases, when to use manually supplied SQL. SQL: Covering indexes and only fetching what we need. Optimisations available when we only fetch what we need from the Database. Enhancement of entity and query beans using the maven enhancement tile. Introduction to DB migration.
ebean-orm.github.io
Ebean ORM - Java/Kotlin/JVM
http://ebean-orm.github.io/docs/features/history
Compared to Change Log. Walk through the @History / SQL2011 support with Oracle and Postgres. Comparison to Hibernate Envers. Comparison with the approach taken by Hibernate Envers. Introduced temporal extensions to SQL including. AS OF SYSTEM TIME. VERSIONS BETWEEN SYSTEM TIME. Current support in Ebean. In general the history table approach results in:. A "history" table created that has the same (or very similar) structure as the "base table". 2 extra columns added to the base table and history table f...
ebean-orm.github.io
Ebean ORM - Java/Kotlin/JVM
http://ebean-orm.github.io/support
For help post questions and issues to the Ebean google group. Issues posted to Github of insufficient quality will be removed. Issues likely to result in protracted discussion must be posted to the Ebean google group. Do not post questions as Github issues. These will be removed and you will be asked to post questions to the Ebean google group. Why this Policy exists. We want to avoid low quality issues with protracted discussions as these become much more difficult to read and understand. First to avoid...
ebean-orm.github.io
Ebean ORM - Java/Kotlin/JVM
http://ebean-orm.github.io/docs
Enhancement, Configuration, Dependency Injection, Guice, Spring, DB DDL Migration, Testing. JPA mapping, notes regarding mapping options plus extensions such as @SoftDelete, @Encrypted etc. Performance, Partial Objects, Automatic query tuning, Type safe queries. Save/Insert/Update/Delete, JDBC Batch, Cascading, Bulk Updates, Stored Procedures, Raw JDBC. Implicit, Programmatic, Spring, JTA. Event Listening, ElasticSearch, History/SQL2011, Draftable, Change log, Read Auditing, JSON.
ebean-orm.github.io
Type safe queries - Ebean ORM
http://ebean-orm.github.io/docs/query/typesafe
Type safe queries (Query Beans). Generating query beans (via java annotation processor). Using query beans and how they work. Ebean provides a mechanism for building type safe queries by generating. The design/approach taken for the. And type safe query construction is orientated for maximum readability and to achieve that with Java (which does not have properties support) has meant that we need to use AOP to enhance the. The AOP enhancement can be done via:. Ideal for use during development. When applic...
ebean-orm.github.io
N + 1 queries - Ebean ORM
http://ebean-orm.github.io/docs/query/nplus1
Is a general term used in ORM to describe a situation where loading a single object graph takes N 1 SQL queries. When the database is remote over a network (the most common situation) then this situation can lead to very bad performance. A good ORM provides good mechanisms to mitigate or avoid this scenario. By default Ebean ORM applies batch lazy loading with a batch size of 10 so by default for an completely un-tuned query you would instead observe. N is per "path". Batch size 1 results in up to : 1 10...