ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are visible (Hide)

ebean - 12.14.1

Published by rbygrave almost 3 years ago

Issues:

#2492 - Fix for Oracle platform when insert only default values bug
#2473 - Oracle - column alias - Ebean generates invalid sql query when upgrade from 12.8.0 to version 12.13.1 bug
#2476 - BeanDescriptor.createEntityBean works differently for entities with and without an explicit constructor
#2491 #2476 - Fix for element collection on bean with default constructor
#2488 #2487 - ebean-test support Docker In Docker - docker container's hostname rather than hardcoded "localhost"
#2485 - Fix utf8 problems with specialchars
#2447 - Traverse class hierarchy, when searching for ScalarType
#2486 - Fix some tests failing on Windows
#2475 - Fix locale problem with TestCsvReader and TestCsvReaderWithCallback.

ebean - 12.14.0

Published by rbygrave almost 3 years ago

Reason for version bump

With #2304 MariaDB will now use DB sequences when sequences are explicitly mapped, this is a behavior change.
Also with #2471 apps using DataSource supplied via jndi now should perform that lookup and provide the DataSource explicitly to DatabaseConfig.

Issues

#2304 - Support for Sequences in MariaDB
#2472 - BeanPersistController and isCascade() for delete requests (following #2458) bug
#2471 - Bump avaje-config to 1.7 (from 1.5) with removed jndi lookup for DataSource behaviour change
#2470 - Bump jedis to version 3.8.0 dependencies
#2468 - Unify JDBC URL for SqlServer (analog to testconfig-files)
#2469 - Add metaHas and metaFindAll in AnnotationUtil
#2466 - Remove unused LoadErrorHandler interface

ebean - 12.13.2

Published by rbygrave almost 3 years ago

Issues:

#2460 Bump ebean-migration to 12.12.3
#2459 #2458 - Add BeanPersistController.isCascade() to identify cascade vs "top level" persist requests
#2454 #2445 - Put back DB2 maxTableNameLength=18, maxConstraintNameLength=18
#2452 - server-wide defaultJsonMutation SOURCE is not honored by DbJson scalar types (e.g. List) bug
#2451 - Initial add of ebean-kotlin module, home of kotlin extension
#2448 - Fix maven warning
#2450 - Using TCK Tested JDK builds of OpenJDK Making the switch to Zulu
#2445 - Improve testing, add DB2 Docker testing support to ebean-test
#2446 - NPE Fix with .setCountDistinct(CountDistinctOrder.NO_ORDERING)

ebean - 12.13.1

Published by rbygrave almost 3 years ago

Issues:

#2444 - exists and findCount queries produce NPE on entity defined with IdClass - SqlTreeProperties.add(SqlTreeProperties.java:38) bug
#2433 - Postgres JSONB dirty checking - trim json
#2436 - SQL Update doesn't handle named parameters for array types in Postgres
#2435 - DBArray is not loaded in asDto Postgres queries bug
#2432 - Q: Ebean-elasticsearch paging query problem
#2442 - findMap() with beanCache should use idPoperty if mapKey = null
#2441 - FIX: Assume InfoInherit infoType when it has no children
#2440 - FIX: Json deserialize references
#2439 - Path properties query with all props
#2438 - FIX: typeGetAll did not work with repeated annotations on one class

ebean - 12.13.0

Published by rbygrave almost 3 years ago

reason-for-version-bump

#2427 - FIX: When a bean is modified in persistence context and searched again, it will loose the change
#2437 - FIX: Subsequent findEach / findList does not work reliable [Fixes regression in 12.3.3]

ebean - 12.12.3

Published by rbygrave almost 3 years ago

Issues:

#2424 - Review error thrown when transaction register(Callback) called when no active transaction exists
#2422 #2423 - Use @NonNullApi to explicitly reflect non-null return types and params by default
#2418 - Change Database.beanState() to throw IllegalArgumentException when bean isn't an entity bean bug
#2420 - BeanState.loadErrors() returns empty map rather than null
#2421 - Change database.diff() to return empty map rather than null with null bean argument
#2419 - Add explicit @Nullable on findOne() methods
#2412 - Remove: ReadJson.resetContext as it is not used
#2411 - Weak reference based persistence context for streaming queries refactor
#2413 - Change DefaultPersistenceContect to use beginIterate / endIterate

ebean - 12.12.2

Published by rbygrave about 3 years ago

Issues:

#2406 - Memory leak in Query.findEach bug
#2408 - Fix reuse of io.ebean.Update when using setParameter with Collection bug

ebean - 12.12.1

Published by rbygrave about 3 years ago

Issues:

#2404 - Initializing @OneToMany with mutableListOf() in Kotlin results in ClassCastException bug
#2402 - Modify EbeanVersion to check for minimum ebean-agent version
#2401 - Fix EbeanVersion for use in module-path (reads local ebean-api pom.properties)
#2398 - Fix compiler warning for annotation processing query bean generators

ebean - 12.12.0

Published by rbygrave about 3 years ago

reason-for-version-bump

#2039 - How to change mapped SQL type for LocalDateTime when generating DB migrations
#2384 #2039 - Map LocalDateTime when generating DB migrations for Postgres to timestamp DB type
#2382 - Refactor rename TransactionManager methods (sync ebean-spring-txn dependency version)
#2381 - Add module-info support via multi-version jar

issues

#2391 - MySql specific NPE because the return value of "java.sql.ResultSetMetaData.getTableName(int)" is null bug
#2392 - Oracle specific singleAttribute distinct query - not include the column twice with order by clause
#2390 - Tidy generated SQL removing excess whitespace after id = ? predicate refactor
#2388 - Bump dependencies ebean-migration, classpath-scanner, avaje-config
#2389 - redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'mget' command bug
#2387 - Hit the L2 bean cache via property IN expression (when property is the id property) bug
#2385 - Redis L2 cache MPUT not working since 12.11.2 - regression bug regression
#2386 - Refactor internals, reduce the number of loggers used and simplify refactor
#2332 - Improve MAVEN build Performance
#2380 - WIP: Try to fix ClassCastException in isToManyDirty() check bug
#2383 - Refactor rename Pairs methods for consistency (that are expected to be used only internally)

ebean - 12.11.5

Published by rbygrave about 3 years ago

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

ebean - 12.11.4

Published by rbygrave about 3 years ago

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

ebean - 12.11.3

Published by rbygrave about 3 years ago

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

ebean - 12.11.2

Published by rbygrave about 3 years ago

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

ebean - 12.11.1

Published by rbygrave about 3 years ago

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

ebean - 12.11.0

Published by rbygrave about 3 years ago

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

ebean - 12.10.0

Published by rbygrave about 3 years ago

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

ebean - 12.9.3

Published by rbygrave over 3 years ago

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.

ebean - 12.9.2

Published by rbygrave over 3 years ago

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

ebean - 12.9.1

Published by rbygrave over 3 years ago

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

ebean - 12.9.0

Published by rbygrave over 3 years ago

reason-for-version-bump

#2222 - Behaviour change - Change such that filterMany can be included in the main query

Issues

#2223 #2224 #2235 Support BeanMap modification via entrySet() and keySet()
#2233 - Lazy loading problem bug
#2231 - Change OrderBy to not be final to support mocking via Mockito
#2230 - Null check for soft-deleteable one-to-one exported assoc has extraneous soft-delete predicate bug
#2226 - Automatically determining join columns and ignoring PrimaryKeyJoinColumn.name Id warning
#2225 - Bump commons-io from 2.5 to 2.7 in /ebean-core test dependency
#2221 - ebean-redis: bump jedis dependency to 3.6.0 dependencies
#2202 - kotlin-maven-plugin issue with JDK 16 - InaccessibleObjectException