ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are hidden (Show)

ebean - 13.7.0

Published by rbygrave about 2 years ago

reason-for-version-bump

#2722 - Migrate to Jakarta JAXB (jakarta.xml.bind <- javax.xml.bind)

Issues

#2770 - Add SqlQuery usingTransaction() for consistency and deprecate ExtendedServer API
#2772 - Add ebean-annotation to BOM
#2766 #2767 - Reference bean created from JSON can invoke lazy loading by default (didn't prior to 12.13.1)
#2762 #2765 - NullPointerException while using findCount with forUpdate bug
#2733 #2745 - Rename ModuleInfoLoader to EntityClassRegister and _Ebean$ModuleInfo to EbeanEntityRegister

Enhancements

#2778 - Support a naming convention function that can be applied to metrics names for reporting

ebean - 13.6.6

Published by rbygrave about 2 years ago

Bugs

#2753 #2754 #2755 #2756 #2746 - Bugs findSingleAttributeList projecting a OneToMany property
#2763 - Fix: toJson must use setIntercept if target bean is passed
#2750 - Stateless update populates OneToMany with softdeleted records during serializing
#2748 - Second fetch inside transaction doubles the fetched @OneToMany rows when .setLoadBeanCache(false)
#2742 - ModelContainer.applyChangeSet(ModelContainer.java:167) - IllegalArgumentException: No rule for
#2764 - Fix: DDL will get wrong hint for special migration

Enhancements

#2757 - Add notIn(Query) to query beans
#2768 - ENH: Add eqIfPresent() - a helper expression for fluid style when some EQ are optional enhancement
#2760 - Add ServerMetrics.asJson() ... to support conversion of collected metrics to json
#2749 - Bump ebean-datasource, ebean-annotation, ebean-types, persistence-api
#2743 - Postgres DDL - For create table, improve column ordering for tighter storage

ebean - 13.6.5

Published by rbygrave over 2 years ago

Issues

#2730 - Secondary @OneToMany fetch query is not happening if the same Entity type is fetched
#2737 - Mapping of TimeZone doesn't have enough characters
#2727 - Stateless update on one-to-many relationship with children soft delete results in a hard delete instead of only inserting new child bug

#2741 - Bump avaje-config to 2.1 and modify ebean-test to support use of ${docker.host} in test container jdbc urls
#2734 - maven build - exluding maven descriptor (pom and properties) from built artifacts
#2732 - ebean-agent - skip transactional profiling aware enhancement on query beans
#2731 - Change ebean-querybean annotations from Retention RUNTIME to CLASS refactor
#2723 - Gradle plugin enhancement with Kotlin 1.7.0 bug
#2740 - Bump ebean-test-containers to 6.2

Enhancements

#2736 - ENH: findDto nonsupport setter chain (accessor style setters, both fluid style and non fluid style)

ebean - 13.6.4

Published by rbygrave over 2 years ago

Issues

#2719 - DDL - Refactor DDL for Postgres and YugabyteDB to just create a default partition table
#2718 - [Yugabyte] Fix such that builtin table partition functions are included in DDL (when we use table partitioning) bug
#2717 - Support Postgres JSONB/JSON with String - @DbJsonb String content;
#2716 - Refactor ScalarType interface to make use of default methods refactor
#2715 - [ebean-test-containers] Fix for Postgis to support extraDb (second database), Update Oracle container
#2713 - Improve javadoc of Finder, BeanFinder, BeanRepository - deprecate use of BeanFinder server field (migrate to database)
#2712 - Bump jedis to 4.2.3 (from 4.2.2) dependencies
#2711 - Gradle: Change querybean generator from isolating to aggregating
#2710 - JSONB fields are not considered dirty after modified in BeanPersistController preUpdate bug
#2708 - Part 1: Fix read/write/query LocalTime values (when time zone configured to be used)
#2706 - ENH: Add support for findSingleAttributeSet()

ebean - 13.6.3

Published by rbygrave over 2 years ago

Issues

#2704 #2702 - IllegalArgumentException: No rule for io.ebeaninternal.dbmigration.migration.RenameTable
#2703 - ebean-test-docker was renamed to ebean-test-containers
#2701 - [DDL] Postgres DDL generation for table partitioning with schema - helper method to add partitions does not work bug

ebean - 13.6.2

Published by rbygrave over 2 years ago

Issues

#2697 - Postgres DDL - With Postgres table partitioning, add partition column to primary key
#2695 - DDL Generation for @UniqueConstraint ignores the name - should be the index name when given
#2694 - Postgres DDL - For Postgres table partitioning, remove the "suppressPrimaryKeyOnPartition" mode
#2693 - DDL - Add support for creating schema via database migrations (and create all ddl)
#2692 - [querybean generation] Compile error, incorrect generation with nested inner class/record @Embeddable and @IdClass

ebean - 13.6.1

Published by rbygrave over 2 years ago

Issues:

#2690 - Bug - OneToMany orphanRemoval = true, replace collection adding back …
#2687 - Annoying message while using OpenTelemetry: msg: defaulted common supertype for type <...> due to err:java.lang.IllegalStateException: ClassLoader is null?
#2691 - Improve logging summary when insert bean with no @Id ...

ebean-test-docker

#2688 #2685 - Bump to ebean-test-docker 5.3 with newBuilder() -> builder() with deprecation dependencies
#2686 - [ebean-test] Allow docker configuration options to be at ebean.test.X as well as ebean.test..X

ebean - 13.6.0

Published by rbygrave over 2 years ago

Change - optimise readOnly + disableLazyLoading

#2626 - Support EntityBeanIntercept as an interface with InterceptReadWrite and InterceptReadOnly options

Remove deprecated API

#2662 - Remove deprecated Ebean, EbeanServer, EbeanServerFactory, ServerConfig migrate to DB, Database, DatabaseFactory, DatabaseConfig

Use System.Logger rather than slf4j-api

#2650 - Bump ebean-ddl-runner (sync version with ebean-migration)
#2648 - Bump avaje classpath scanner to 7.1, ignores module-info, uses System.Logger (not slf4j-api)
#2683 - Bump ebean-datasource to 8.0 with use of System.Logger (from slf4j-api)
#2682 - Bump ebean-migration to 13.6.0 (bumps classpath scanner and ebean-ddl-runner)

Issues

#2681 #2647 - When Postgres + isAllQuotedIdentifiers true + using DataSourceConfig THEN datasourceConfig.addProperty("quoteReturningIdentifiers", false);
#2680 - Add documentation how to release Ebean in own (non nexus) repository with maven-deploy-plugin
#2677 #2679 - Fix for trim failing on mutation of lastAccessTime
#2675 - Modify DefaultOrmQuery to have non-final copy() methods to allow ebean-mocker to be updated
#2674 - Bump to ebean-test-docker 5.0
#2647 - RETURNING column name is quoted excessively
#2653 - Developing in eclipse becomes a pain documentation

ebean - 13.5.0

Published by rbygrave over 2 years ago

Reason-for-version-bump

#2672 - [ebean-agent] ToStringBuilder enhancement does not use toString() of the abstract class bug

Issues

#2673 - Bug introduced in 13.3.1 via #2652 - incorrect binding of history query with SQL2011 standards based queries bug regression
#2671 - Bump ebean-test-docker to 4.7

ebean - 13.4.1

Published by rbygrave over 2 years ago

Issues

#2670 - Missing implementation of loadIgnore in ScalarTypePgisBase
#2669 - FIX: StackOverflowException when using recursive relation within Map

ebean - 13.4.0

Published by rbygrave over 2 years ago

Issues

#2655 - Remove JndiDataSourceLookup - app perform JNDI lookup if needed behaviour change
#2666 - Fix: CompareTo when discriminatorString is null
#2665 - NodeUsageCollector migrate from using finalize() to Cleaner
#2667 - Bump jedis dependency to 4.2.2 from 4.2.1

Remove deprecated methods

#2661 - from BackgroundExecutor, migrate executePeriodically() -> scheduleWithFixedDelay()
#2660 - from BeanPersistRequest, BeanQueryRequest, BeanDeleteIdRequest
#2659 - from Transaction, migrate setBatchGetGeneratedKeys() -> setGetGeneratedKeys() etc
#2658 - from SpiServer, migrate getServerConfig() -> config() etc
#2657 - from FetchConfig, migrate new FetchConfig().query(50) -> FetchConfig.ofQuery(50)
#2656 - rom Pairs, migrate setConcatSeparator() -> concatSeparator()

ebean - 13.3.1

Published by rbygrave over 2 years ago

Issues:

#2652 #2651 - @OneToOne with @History produces incorrect query
#2654 - Fix: Setting file with same content should not make bean dirty
#2646 - Produce deterministic DDL if @Inheritance is used
#2645 - NPE executing query with beanCache order by & clear

ebean - 13.3.0

Published by rbygrave over 2 years ago

Issues

#2641 #2642 - Provide a decent default toString() implementation for entity beans
#2644 - ebean-test - Fix AutoConfigureForTesting to skip configuration for non-default DatabaseConfig

dependencies

#2640 - ebean-redis - bump jedis dependency to 4.2.1 from 4.2.0
#2643 - Bump dependencies h2database -> 2.1.212 ebean-test-docker -> 4.6

ebean - 13.2.0

Published by rbygrave over 2 years ago

Issues

  • #2638 - Refactor L2 cache tenant awareness - add TenantAwareCache

deprecated-api removed

  • #2636 #2637 - Remove deprecated @CreatedTimestamp and @UpdateTimestamp, migrate to @WhenCreated / @WhenModified
  • #2634 - In ebean-api - DB
  • #2635 - In ebean-api - Database
  • #2639 - On ServerCache getHitRatio() -> hitRatio(), getStatistics() -> statistics()
ebean - 13.1.0

Published by rbygrave over 2 years ago

Issues:

#2624 #2623 - CurrentTenantProvider called even when table has no tenantId column specified bug
#2627 - ebean-agent - bump to ASM 9.3, support Java 19 bytecode

deprecated-api removed

#2633 - Remove deprecated methods in ebean-api - BeanState
#2632 - Remove deprecated methods in ebean-api - SqlUpdate
#2631 - Remove deprecated methods in ebean-api - SqlQuery
#2630 - Remove deprecated methods in ebean-api - ServerCacheManager ServerCacheRegion
#2629 - Remove deprecated methods from ebean-api meta metric and plugin packages
#2628 - Remove deprecated findLargeStream(), migrate to findStream()

ebean - 13.0.0

Published by rbygrave over 2 years ago

Java 11

1) Java 11

#2622 #2374 - Bump to Java 11 and move module-info (no longer multi-release jars)

2) Separate modules per platform

#2614 #2621 - Refactor extract separate modules for each platform from ebean-api dbplatform

There are now platform specific modules like ebean-postgres, ebean-mysql, ebean-sqlserver etc. The dependency io.ebean : ebean is a composite that includes all the platforms. From Ebean 13 onwards applications that only target one or a few platforms can instead depend on those specific modules instead.

ebean - 12.16.1

Published by rbygrave over 2 years ago

Issues

#2619 - Lack of setNullParameter() functionality on io.ebean.SqlQuery interface
#2617 - ENH: JsonContext accepts a bean as target
#2613 - Bump ebean-migration to 12.16.1 bug
#2609 - Fix module-info export io.ebean.config.dbplatform.yugabyte bug
#2600 - Pending drops migration with the same version of the target migration cause trouble bug

DDL

#2612 - Incorrect DDL generation for MySql on history tables that use quoted identifiers bug
#2537 #2608 - DB2: Add Tablespace support
#2607 - DDL: Support schema in history entities and ignore case in DB2 procedures
#2605 - DB2-DDL: Create history table with "create table as"
#2606 - Use correctly quoted historyTableName in DDL-History
#2604 - Remove LowerTableName
#2603 - Refactored DDL generation to correctly handle quoted identifiers
#2601 - Extended @Column support for DB2

ebean - 12.16.0

Published by rbygrave over 2 years ago

reason-for-version-bump

#2584 - Small code change for Hazelcast 4.1.5
#2594 - [DDL-Refactor] History table generation
#2587 - [Ddl refactor] Alter Table changes are grouped by table name.

Regression fixes

#2581 - Softdelete on @OneToMany is ignored after refresh() (since 12.11.5) bug regression
#2583 - Fix for regression, BackgroundExecutor is bounded (since 12.6.2)
#2582 - Behaviour change: Backgroundexecutor is bounded (since 12.6.2) bug regression

Issues

#2598 - H2 + @Lob String fails with - Error[Value too long for column "CHARACTER VARYING": "... (1048577)" [22001-210]] bug
#2556 - DB2 reorg table support
#2596 - DDl-Refactor: Add DB2 Reorg support and history support
#2595 - NPE by lazy loading a cached bean
#2593 - Tidy SqlTreeBuilder to not add duplicate BeanProperties bug
#2575 - [DDL-ClickHouse] fixes for ClickHouse platform
#2580 - Bug: Wrong join in query with @Inheritance and @DbForeignKey
#2590 - Provide custom BackgroundExecutorWrapper to pass thread locals
#2591 - [DDL-refactor] Sorted the statements, so that they are going to the correct buffers
#2589 - No effective DDL change - refactor whitespace and add buffer comments

#2588 - [postgis-jdbc] Bump postgis-jdbc dependency from 2.2.1 to 2.5.1 dependencies
#2586 - [Clickhouse] Refactored columnNotNull
#2585 - Fix DDL Default handling & Prepared PlatformDdl to to have only one 'alterColumn' method
#2578 - Bump to ebean-ddl-runner 1.3
#2579 - Bump to ebean-migration 12.16.0, support both basePlatform and platform for finding/running migrations reason-for-version-bump

ebean - 12.15.1

Published by rbygrave over 2 years ago

Issues:

#2577 - Refactor internals remove no longer needed DdlAutoCommit platform option refactor
#2576 - [H2] Change H2HistoryTrigger to use microsecond precision bug
#2574 - [DDL-Cockroach] Fixes for Cockroach platform
#2573 - [DDL-hana] HANA always requires stored procedures
#2571 - [DDL-SqLite] Modified SqLite platform to generate at least non failing migration scripts
#2570 - [DDL-Oracle] Fix drop default and ignore erros when trying to drop non existent objects
#2569 - [DDL-common] Extended DbMigrationTest to run on all platforms
#2568 - Removed unused imports and add missing Override statements (no effective code change)
#2567 - Tidy up ddl generation (no effective code change)
#2559 - ENH: Support different ColumnDefinition for different database platforms enhancement
#2557 - Refactored DDL generation
#2563 - ENH: Different ColumnDefinition for different platforms
#2558 - Bug: save with cascade of @OneToOne + @Version model sets version to 1
#2551 - Move DbMigration-Tests to ebean-test
#2555 - ClickHouseDb - decimal[] array type missing
#2554 - generate mysql StoredProcs for column deletion also for mariadb
#2553 - Add Yugabyte-Platform to DefaultDbMigration
#2552 - DTimedMetricTest fails sometimes (flaky test)
#2549 - Fix DefaultPersister to expose non RuntimeExceptions on insert/update/delete. Not hide NoClassDefFoundError etc bug
#2550 - CockroachDB - Now supports LIKE ESCAPE and no longer needs Autocommit for DDL
#2547 - CockroachDB identity DDL - Changing to use standard GENERATED ... AS IDENTITY syntax
#2548 - CockroachDB - Modify tests, use BigDecimal over Double etc

ebean - 12.15.0

Published by rbygrave over 2 years ago

Reason for version bump

#2501 - Bump h2database to v2.1.x from 1.4.199 with associated H2Platform changes
#2512 - ADD: different DB2 platforms, Split DBPlatform into multiple platforms reason-for-version-bump
#2509 - Support jedis 4.1.0 client (ScanParams, ScanResult in different package now),

H2 Database

#2501 - Bump h2database to v2.1.x from 1.4.199 with associated H2Platform changes

DB2 support

#2512 - ADD: different DB2 platforms
#2506, #2533, #2534, #2535, #2545, #2546, #2518, #2519, #2520, #2523, #2524, #2525, #2526, #2527, #2528, #2522, #2514, #2532, #2521, #2531

Yugabyte support

#2516 - Yugabyte platform support - Automatic detection and DDL support
#2529, #2546, #2545, #2535, #2534, #2533, #2529

Other Issues

#2494 - Optionally allow use of stored procedures for MySql to drop columns in db migration
#2403 - Reintroduce stored procedures to drop columns on MySql
#2500 - Refactor internals split result load functionality from SqlTreeNode into SqlTreeLoad
#2502 - Fix: composite id in select distinct queries
#2504 - Cannot delete bean with more than 2100 child beans on SqlServer
#2505 - Refactor UUID generator. Add uuid-property to serverConfig (#57)
#2508 - Bump ebean-datasource to 7.5
#2515 - Add maxInBinding - Oracle support for large delete by ids
#2511 - Unselect LOBs when making a distinct select
#2517 - FIX: Datasource was not initialized in offline mode.
#2536 - ebean-test - bump Postgres default container to 14
#2538 - Performance - cache the path maps used for load context
#2507 - Script runner does not work with file system path enhancement
#2415 - SQL for Index and Foreign Key didn't get generated if I map ID column after @ManyToOne bug
#2544 - Support @DbArray of BigDecimal
#2530 - H2 Array Support seems incomplete (h2database 1.x -> 2.x upgrade)