ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are hidden (Show)

ebean - 11.10.2

Published by rbygrave over 6 years ago

Issues:

#1251 Delete cascade with 11+ and Postgres throws exception

ebean - 11.10.1

Published by rbygrave over 6 years ago

Issues:

#1249 Bump db-migration to 11.3.1 ... with fix for not running empty sql statements (empty strings)
#1243 Add IDENTITY support for Oracle platform (since 12c Oracle supports auto generated identity)
#1247 Unique index or primary key violation - when jdbc batch cascading to PrivateOwned child with unique constraint
#1245 Refactor internals - move TransactionMangerScope to be part of TransactionManager
#1244 DiscriminatorColumn length should be 31
#1242 Bump avaje-classpath-scanner dependency to 3.1.1

Enhancements:

#1248 ENH: Additionally read "db" system property to determine default database (to use when testing with docker against different databases)
#1241 ENH: Support using ebean_db system property to control docker container for testing

ebean - 11.9.1

Published by rbygrave over 6 years ago

Issues:

#1239 When Transaction.setSkipCache(true) ... Query with useQueryCache is still use L2 query cache
#1238 Refactor MetaInfoManager - collect query plan stats, fix collection of stats on UpdateQuery

Enhancements:

#1240 ENH: Add support for @Transactional skipCache and label
#1237 ENH: Add ProfileLocation - support for relating performance metrics for queries and transactions back to source line of code
#1236 ENH: Add Transaction.current() ... as alternative to obtain the current transaction

ebean - 11.8.1

Published by rbygrave almost 7 years ago

Issues:

#1235 Thread deadlock on L2 cache load of many property
#1234 Remove deprecated CacheMode.QUERY_ONLY (migrate to CacheMode.GET)
#1233 Remove deprecated CacheMode.RECACHE (migrate to CacheMode.PUT)
#1229 Implement equals and hashCode on ModifyAwareMap, ModifyAwareList and ModifyAwareSet

Enhancements:

#1232 Performance: Add support for a second read-only DataSource (for implicit query-only transactions)
#1231 Performance: Only use CallStack when using AutoTune (automatic query tuning or profiling)
#1230 Add DB Migration non strict mode - IllegalArgumentException: non-null column has no default value

ebean - 11.7.1

Published by rbygrave almost 7 years ago

Issues:

#1226 Version range in depencency makes sbt resolve very slow. Change slf4j-api dependency to provided scope.
#1227 NPE when using L2 Query cache with findOne() or findOneOrEmpty()
#1223 Support mapping @DbArray to a List or Set of enums
#1222 Extend L2 ServerCache API with putAll(), getAll() and removeAll() methods
#1225 ENH: Extend L2 server cache (near caching) for clearing "near caches" enhancement
#1218 ENH: Bump to migration 11.2.1 with support for options patchInsertOn and patchResetChecksumOn
#1217 L2 query cache not caching empty result set bug

ebean - 11.6.1

Published by rbygrave almost 7 years ago

Issues:

#1215 ENH: Add Query setBeanCacheMode(CacheMode) ... with a view to it replacing the existing setUseCache(boolean) and setLoadBeanCache(boolean)
#1214 ENH: Add inPairs() expression - support L2 cache hits for complex natural key with findList() and in pairs expression
#1213 NPE with TxType SUPPORTS regression bug
#1212 ENH: Add query findSingleAttribute()
#1211 ENH: Support L2 cache complex natural keys include findList() queries enhancement
#1209 Internal refactor / tidy - suggestions from intellij code analysis.

ebean - 11.5.1

Published by rbygrave almost 7 years ago

Issues:

#995 @OneToMany with constraints on the many side
#1207 Regression added in 11.4.1 with NPE on @transactional(type = TxType.SUPPORTS)
#1206 NPE when using @Encrypted with Enum property that is null
#1204 Check presence of JAXB and javax @PostConstruct (which may not be present in minimal Java 9)
#1202 Automatically remove old query plans from Ebean's internal query plan cache

Enhancements:

#1181 ENH: Add @FetchPreference support to control secondary query generation (otherwise based on order of fetch statements)
#1205 ENH: Add support for raw expression array binding with Postgres - e.g. raw(" foo = any(?) ", collection)

ebean - 11.4.1

Published by rbygrave almost 7 years ago

Notes:

This release breaks compatibility with older enhancement agent due to #1197 and #1198 . We MUST use a version 11.4.1 agent with this version of Ebean.

Issues:

#1199 Remove deprecated findUnique() method - please migrate to findOne()
#1197 Refactor how @Transactional methods internally managed
#1198 Remove support for PropertyChangeListener from entity beans removed-api
#1194 Change from using Jetbrains @Nullable to ... class retention based javax annotation @Nonnull
#1193 For RawSql ignore the Postgres cast double colon like ::text
#1192 findNative() with @Embedded beans ... the embedded bean isn't loaded properly
#1191 Trim logged SQL removing new line chars (for sql from SqlUpdate)
#1190 MySql throwing DataIntegrityException when it should throw the more specific DuplicateKeyException
@rbygrave
#1189 ExpressionList.isNull and SoftDelete is missing the "deleted = false" predicate in the exists subquery
#1188 When using inheritance getReference() on a leaf type ... should not hit the DB
#1186 Postgres support for using Array for select prop in (?) queries

ebean - 11.3.1

Published by rbygrave almost 7 years ago

Issues:

#1187 Fix connection leak regression introduced in 11.2.3 for findEach() with invalid SQL
#1182 Error when applied disjunction to filterMany
#1179 Collection IDs L2 cache not cleared on external sql modification of the table
#1180 Bug #1179 Collection IDs L2 cache not cleared on external sql modification
#1185 Modify JDBC batch so it does not "auto flush" on non-Id non-generated property enhancement
#1183 ENH: Add support for transaction profiling enhancement
#1178 Fix / support JSON marshalling of BeanChange + add changeLogAsync option to ServerConfig refactor
#1177 Improved the performance of findAnnotation

ebean - 11.2.3

Published by rbygrave about 7 years ago

Issues:

#1176 Allow script in extra-ddl.xml ... to not have trailing semi-colon bug
#1173 Ebean server should read ebean.mf entity-packages to locate entity beans bug
#1175 Ensure that Ebean.currentTransaction is available in lifecycle handlers (#1166) bug
#1172 Refactor - remove internal unused DefaultOrmQuery logSecondaryQuery (as we use LoggedSqlCollector)
#1171 ENH: Add Finder.update() method ... returning a UpdateQuery enhancement
#1170 ENH: Add isIn() methods as alias to in() on ExpressionList (for use with Kotlin where in is a keyword) #1167 BUG: query.setId(...).delete() does not work

ebean - 11.2.2

Published by rbygrave about 7 years ago

Issues:

#1169 Memory leak - DefaultTransactionThreadLocal holding reference to transaction bug
#1168 Code cleanup
#1164 FIX: connection leak in query-iterator
#1163 FIX: Add default order by for findEach that has maxRows or firstRows (and not distinct)
#1162 Fix like escaping for DB2, Oracle and MySql
#1161 FIX: Oto relations must match datatype
#1160 FIX: do not generate unique-constraint for PK as it is useless
#1159 FIX: bundle symbolic name in manifest
#1158 Can handle one to many & many to one relations in docstore only entities
#1157 Misc platform fixes
#1156 commit transaction only if active (hides root case exception when findIterate query throws)
#1155 No effective code change - fix imports and override annotations

Enhancements:

#1165 ENH: Add to Finder - currentTransaction() and flush() methods ... (as useful shortcuts) enhancement

ebean - 11.2.1

Published by rbygrave about 7 years ago

API changes:

  • You can't do new DbMigration() - change to use DbMigration.create() (see #1147)
  • Deprecated TxCallable and TxRunnable have been removed - migrate to Callable and Runnable (see #1154)

Issues:

#1154 Remove deprecated TxCallable and TxRunnable - migrate to use Callable and Runnable deprecated-api
#1152 Refactor EJson internals extracting io.ebean.service.SpiJsonService refactor
#1153 Refactor move ExtraTypeFactory out of io.ebean.plugin into io.ebeaninternal breaking-api refactor
#1151 Refactor add util AnnotationUtil ... moving common annotation searching methods there refactor
#1150 Refactor convert RawSql and RawSqlBuilder into interfaces and push the parsers into io.ebeaninternal #1149 Refactor move PersistenceContextUtil into ... io.ebeaninternal refactor
#1147 Refactor move DbMigration internals into io.ebeaninternal - change to use DbMigration.create()

ebean - 11.1.1

Published by rbygrave about 7 years ago

This release has changes to support Java 9 - specifically via #1123

Issues:

#1140 Error loading embedded instance
#1139 NoSuchMethodError: javax.persistence.Embedded.prefix()Ljava/lang/String; bug
#1145 Refactor @ChangeLog based on JSON documents for 'new values' and 'old values' breaking-api refactor
#1144 Refactor internals - move generated property setting into PersistRequestBean
#1054 Consider adding "Automatic-Module-Name" to MANIFEST.MF for greater JPMS compatibility breaking-api
#1123 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package breaking-api
#1132 Feature/contitional test runner refactor

Enhancements:

#1027 ENH: Add a Slow query event listener ... to log or listen to queries that exceed some defined execution time
#1136 ENH: Add flushOnQuery support for @Transaction annotation e.g. @Transactional(flushOnQuery = false)

ebean - 10.4.6

Published by rbygrave about 7 years ago

Issues:

#1128 Allow "2 word SQL" like TRUNCATE t, ANALYSE t etc bug
#1127 Remove the ebean.query.globallimit of 1 million "backstop"
#1126 Regression bug in 10.4.5 with new line character use with SqlQuery, SqlUpdate and CallableSql bug
#1124 replaced findUnique by "default" method in interfaces. refactor

Enhancements:

#1067 Feature/cache improvements - supports CacheMode RECACHE and QUERY_ONLY for query cache use
#1125 ENH: Add a SpiContainerBootup API ... to enable automatic startup of docker containers (for testing usually)

ebean - 10.4.7

Published by rbygrave about 7 years ago

Issues:

#1131 Migration broken in 10.4.6 due different classpath-scanner version bug
#1130 Fix warnings 2 refactor
#1129 Fix warnings refactor

ebean - 10.4.5

Published by rbygrave about 7 years ago

Issues:

#1120 Bump classpath scanner dependency to 2.2.4 (fix for NPE on empty directory) bug
#1119 Deprecate TxRunnable and TxCallable - migrate to plan JDK Runnable and Callable. Add explicit executeCall() method deprecated-api
#1118 Featur/dbmigration 3
#1116 Remove references to annotation EbeanDDL which is no longer needed refactor
#1117 Refactor - moved DbDefault and DbMigration annotations to ebean-annotation refactor
#1115 Trim SQL for SqlUpdate, SqlQuery and CallableSql - also replace \n with space bug
#1114 Deprecate findUnique() - please migrate to findOne() deprecated-api
#1111 Feature/ddl migration new feature

ebean - 10.4.4

Published by rbygrave about 7 years ago

Issues:

#1113 SqlUpdate with leading spaces leads to Invalid event detection (which table was update for L2 cache invalidation etc) bug
#1112 Enhance JDBC batch behavior when cascade persist is turned off (manual master/detail batch persisting) #1109 FIX: DDL process comment change correctly & drop references when index is dropped
#1108 API-CHANGE: DbMigration returns which version was generated enhancement
#1107 REFACTOR: Created a "splitNames" in StringHelper
#1106 FIX: Do not add AssocOne-generatedProperties if they should not.
#1105 FIX: Using correct datatype for null value when json is serialized to varchar column bug
#1104 Refactor/findannotation
#1103 Pr/add tests
#1064 Query table alias not used in update() or delete() queries
#1102 FIX: Passing MDC through background-executor bug
#1100 Refactor OrmQueryPlanKey to use string expression for where

ebean - 10.4.3

Published by rbygrave about 7 years ago

Issues:

#1101 findNative() on a bean with an associated @OneToOne (with the PK being derived from the parent) maps incorrectly bug
#1085 Only throwing warning for autocommit when needed
#1099 ENH: Abort all tests if connection to db could not be esablished
#1098 FIX: deadlock in TestCommitAndContiune for sqlserver & hsqldb
#1097 Fix/corrected error codes
#1096 Fix/connection to different platforms
#1095 FIX: optimized unique constraint handling for platforms that does sup…
#1094 FIX: extra-ddl modified to be compatible with different platfoms
#1093 Fix/shortened tablenames
#1092 FIX: Possible NPE in StringHelper
#1091 FIX: add MAX-DATE as default value for ROW END
#1090 FIX: nvarchar(max) length specified differently…
#1089 FIX: Clean up before running tests…
#1087 FIX: H2HistoryTrigger honors schema
#1086 FIX: Typo in classname
#1079 use jackson configuration [SD]eserialization enum bug
#1083 query table entity or sql entity has no id throw NPE bug bug
#1082 Fix: query table entity or sql entity has no id bug
#1084 NPE When DB Migration generation run with @WhoCreated mapping bug
#1081 Update jackson-core dependency to 2.9.0 refactor

ebean - 10.4.2

Published by rbygrave about 7 years ago

Issues:

#1062 Multi-tenant - Update statments should include tenantId in where clause bug
#1076 Connection obtained from DataSource is not released after JTA transaction completes bug
#1078 Added the Serializable interface to classes that extend/implement a Comparator with an anonymous/typed class. bug
#1077 Fix connection leak in JTA managed transactions
#1080 NOT IN expression using entity beans / reference beans uses "in" bug
#1075 Use Double.compare and Float.compare to do comparison of floating point values. bug refactor
#1071 When performing a delete or update query the L2 bean cache for that type is not being invalidated. bug
#1070 Create test for bean cache not being cleared with delete or update queries
#1061 findCount query is not cached in L2 query cache
#1060 findSingleAttributeList doesn't store result in L2 query cache
#1058 PlatformPrefix isn't actually used
#1059 Using Regular expression objects for splitting and replacing in strings.

ebean - 10.4.1

Published by rbygrave over 7 years ago

Issues:

#1057 JSON simple implementation for MSSQL
#867 ENH: Add ability to globally use quoted identifiers on all tables and columns
#1050 Bump db-migration to 10.1.10
#1051 Remove ServerConfig h2ProductionMode ... means for testing with h2 explicitly set ddlGenerate and ddlRun
#1048 Fix connection leak on failed findIterate()
#1047 Fix connection leak on failed beginTransaction()