Skip to content

Releases: ebean-orm/ebean

12.11.5

20 Sep 00:57
Compare
Choose a tag to compare

Issues:

#2378 - #2377 - Wrong order in batch save - Fix to transaction depth bug
#2376 - When Lazy load of soft deleted bean - javax.persistence.EntityNotFoundException: Bean not found during lazy load or refresh. id[*] type[class *] bug
#2373 - Allow post-processing in BeanFindController enhancement
#2372 - Undo generated properties on OptimisticLockException
#2371 - Allow formula defined properties to be used in where and orderBy
#2368 - ebean-migration not loading properties properly from ebean as it's name isn't set
#2366 - Rename methods with deprecation for QueryPlanCapture and Pairs deprecated-api
#2365 - Allow caching of exists-queries bug
#2363 - Bump to dependencies that have module-info via mult-version jars etc

Internal refactoring

#2379 - Refactor tidy internals only - method names and tidy for internal BatchPstmt and related
#2308 - Fixing test entity GenKeySequence
#2367 - Modify ebean-test to use it's own logger adapter (not reuse the one from ebean-core) refactor
#2364 - Move tests only in ebean-ddl-generator

12.11.4

09 Sep 10:22
Compare
Choose a tag to compare

Issues:

#2362 - ENH: Add lock(bean) method as convenience for DB pessimistic locking enhancement
#2359 - Rename plugin api methods with deprecation deprecated-api
#2358 - Rename BeanState methods with deprecation deprecated-api

Test updates:

#2361 - Refactor move tests from ebean-core to ebean-test
#2357 - Update tests to use Database from EbeanServer
#2356 - Bump to junit5

12.11.3

05 Sep 06:01
Compare
Choose a tag to compare

Issues

#2341 - Refactor internal api LoadBeanBuffer LoadBeanRequest etc
#2340 , #2335 - L2 cache be triggered by in ? bug
#2338 - NEW: DeleteIdRequest can return beanType enhancement
#2337 - Query bean PByteArray type for byte[] enhancement
#2339 - no effective code change: Add missing @OverRide annotation

Rename methods

#2355 - Rename methods in SpiServer with deprecation
#2353 - Rename BeanPersistRequest methods with deprecation
#2352 - Rename ServerCache methods with deprecation
#2351 - Rename Database.getReference() to reference() with deprecation
#2350 - Rename Database.getBeanState() to beanState() with deprecation
#2349 - Rename Database.getBeanId() to beanId() with deprecation
#2354 - Refactor internals - refactor rename methods in BeanRequest etc
#2346 - Rename Database.getMetaInfoManager() to metaInfo() with deprecation
#2345 - Rename Database.getExpressionFactory() to expressionFactory with deprecation
#2344 - Rename Database.getDataSource() to dataSource() with deprecation
#2343 - Rename Database.getAutoTune() to autoTune() with deprecation
#2342 - Rename Database.getName() to Database.name() with deprecation
#2347 - Rename Database.getPlatform() to platform() with deprecation
#2348 - Rename Database.getServerCacheManager() to cacheManager() with deprecation

12.11.2

31 Aug 05:47
Compare
Choose a tag to compare

Issues:

#2336 - @DBArray List or Set of UUID or enum returned as String (not converted) when DB does not support ARRAY bug
#2331 - Fix for NPE in mutableNext in EBI bug
#2330 - Make getSortOrder accessible in BeanState API enhancement
#2329 - @OrderdColum did not work properly with cached beans bug
#2327 - findSingleAttribute() on a ToMany path includes the id column bug
#2328 - Postgres JSONB dirty checking - trim json bug
#2326 - [ddl generator] Primary key constraint not generated for @IdClass bug
#2325 - Modification of a OneToMany-Relation with @OrderColumn was not detected bug
#2323 - Fallback to database query if redis connection fails bug
#2320 - When I use Redis for L2 cache, can I set the TTL of the cache key?
#2324 - Bump ebean-datasource to 7.2
#2322 - Fix for subqueries without where condition bug
#2318 - Refactor internals - final classes in id and generated property packages
#2319 - [ebean-redis] Tidy refactor
#2316 - Fix: setting json values to null was throwing a NPE when persisting bug
#2317 - Incorrect SQL generated for @IdClass with fetch() on ToMany path bug

12.11.1

16 Aug 00:01
Compare
Choose a tag to compare

Issues:

#2315 - Refactor internals - make more classes final in transaction packages refactor
#2312 - Refactor internals - make more classes final in persist packages refactor
#2313 - Refactor internals - make more classes final in query packages refactor
#2311 - Fix BindPadding for empty list bug
#2310 - FIX: mutation info is not restored on cache hit bug
#2309 - FIX: mutationDetection = SOURCE works also for special json types bug
#2306 - Use SoftReferences in Cache refactor
#2307 - Tidy ShutdownManager refactor
#2266 - FIX: SubQuery with fetch-path does not work correctly bug
#2302 - Switch DB2 driver to the publicly available JCC driver
#2300 - Enables select + exists for dynamic formula properties bug
#2299 - PushJson/PopJson did not work correctly, if null beans were involved bugl
#2301 - Updating ebean-ddl-generator version in ebean-core
#2261 - Refactor BindHash to avoid collisions
#2295 #2298 - Foconis refactor queryBindHash bug refactor
#2297 - FIX: Changelog-oldValue did not work for Json mutable properties bug
#2296 - Fix the test to run with java 8
#2268 - Feature request/question: Query execution time for debugging enhancement
#2291 - ENH: Explicit option for fast-failing or not fast-failing (skipDataSourceCheck DatabaseConfig option)
#2294 #2293 - Metric hash back to MD5 of sql + name + loc (minus location file and line source) ~= Revert of #2288 refactor

12.11.0

06 Aug 03:47
Compare
Choose a tag to compare

reason-for-version-bump

#2274 - Add support for JSON bean mutation detection via HASH and SOURCE of JSON string content behaviour change enhancement reason-for-version-bump refactor
#2282 - Treat json Jackson collections the same wrt mutation detection refactor
#2288 - Change query metric hash from MD5 of sql + name + loc to Checksum of sql (+ rename to sqlHash) breaking-api

Issues:

#2290 - Add MetaTimedMetric locationHash() which is a crc32 checksum of package + type + method (excludes line number)
#2289 - Refactor io.ebean.meta API, method rename with deprecation deprecated-api refactor
#2287 - ebean-migration: For multiple platform db migrations, automatically run the migrations for the current platform by default
#2284 - ENH: ddl-generator - add optional generation of idx_.migrations file enhancement
#2283 - ddl-generator - Add DbMigration.addPlatform(Platform) with default sub-directory based on Platform enhancement
#2279 - Remove _ebean_getMarker() from EntityBean interface - not actually required refactor
#2275 - Change Query<?> to Query on ExtendedServer exists() method
#2273 - #2272 Fix for collection with orphanRemoval (such that equals/hashCode isn't use) bug

12.10.0

22 Jul 07:16
Compare
Choose a tag to compare

reason-for-version-bump

#2256 - Improved @where support, especially for Many-to-many tables behaviour change bug
#2267 - Retrieve (C|B)LOB on SqlRow construction behaviour change bug

issues

#2270 - ebean-agent enhancement NPE with MappedSuperclass with no properties that uses named database bug
#2269 - findSingleAttributeList does not filter soft-deleted record bug
#2264 - Use of default timezone for OffsetDateTime offsets problematic for unit tests and presentation layer bug
#2262 - Transaction postCommit Callback not invoked when the active transaction has no database writes bug
#2257 - Queries are cancelable
#2188 - FIX: orderBy does not work when used on formula property

12.9.3

13 Jul 00:27
Compare
Choose a tag to compare

Issues:

#2265 - ArrayIndexOutOfBoundsException: Index -1 out of bounds with @IdClass and batch insert accessing id property bug
#2260 - Fix additional autotune runtimeExceptions due to toString() calls instead of asString() bug
#2251 - Test for transparent persistence of to-many associations bug
#2254 - OraclePlatform needs columnAliasPrefix 'c' - Regression in version 12.2.1 due to #1967 bug regression
#2253 - Incorrect JSON format for LocalDateTime. Includes Z suffix when it should not.

12.9.2

10 Jun 12:47
Compare
Choose a tag to compare

Issues:

#2249 - Bug with DbJson Jackson property that is null is updated as null (unnecessarily included in update)
#2248 - Refactor DbJson Jackson handling adding DatabaseConfig.setJsonDirtyByDefault()
#2247 - Refactor internals - Change DefaultTypeManager from class.newInstance() to class.getDeclaredConstructor().newInstance()

Enhancements

#2246 - ENH: Add DtoQuery findStream() and findIterate()
#2245 - ENH: Add support for findEach() on SqlQuery with RowMapper and scalar result
#2244 - ENH: Add SQL Server support for transparent encryption via EncryptByPassPhrase, DecryptByPassPhrase

12.9.1

04 Jun 06:17
Compare
Choose a tag to compare

Issues:

#2236 - Auto-tune does not work / throws RuntimeException (Regression from 12.7.1)
#2241 - Offline DDL migration generation for H2 requires H2 Driver
#2240 - Set ddl-generator version to a public-available version + fix classpath for Java8
#2237 #2238 - Select with disjunction of expressions over OneToOne relationship missing join clause (Regression since 12.9.0)
#2239 - Java 17 enhancement support - Unsupported class file major version 61