ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are hidden (Show)

ebean - 12.1.6

Published by rbygrave almost 5 years ago

Issues:

#1882 ENH: Add JsonContext.toJsonPretty() ... for pretty JSON output of beans and lists of beans
#1881 Update Postgres init helper procedures for DB table partitions
#1880 Cidr type stored as INET (instead of CIDR) + named as Cdir (typo) bug

#1878 Remove metric type from metric json output
#1879 For metrics reporting for timed metrics with location by default only report on initial collection
#1877 Adjust metric names add "orm." prefix for orm queries, "dto." for dto queries

ebean - 12.1.5

Published by rbygrave almost 5 years ago

Issues:

#1876 findMap() does not use/hit natural key cache
#1870 Whether DtoMeta.findproperty needs to add is prefix (handle dto queries where boolean property has "is" prefix)
#1869 out of order nextId() sequence generation
#1866 Refactor logging messages for L2 cache - "PUT ALL" -> "MPUT" refactor
#1864 L2 cache miss for natural key property of type UUID b
#1863 L2 cache miss on natural key cache when multiple properties that include a ManyToOne bug
#1867 Change enhancement for @DbArray ... to handle nulls (like OneToMany and ManyToMany)

Metrics changes

(changes related to metrics collection, reporting, MetaInfoManager):

#1875 Refactor simplify MetaTimedMetric removing unrequired getStartTime() and getBeanCount()
#1873 Refactor metrics reporting and collection, simplify removing MetricOrmQueryNode, MetricOrmQueryOrigin
#1874 #1873 - Refactor metrics reporting and collection, simplify removing MetricOrmQueryNode, MetricOrmQueryOrigin
#1872 Reporting ORM metrics defaults to suppressing sql and location after initial collection
#1871 Add ability to write metrics in JSON form to Appendable
#1868 Change the Metric "sqlHash" into a hash of the SQL + name + location
#1859 Refactor rename method ProfileLocation.shortDescription() to location()
#1865 ENH: Add metric collection for ORM insert update and delete enhancement
#1858 Modify JSON dumped metrics to include metric type and location for timed metrics

ebean - 12.1.3

Published by rbygrave almost 5 years ago

Issues:

#1849 JoinColumn not found when using @Encrypted(dbEncryption = true) and findCount
#1853 Classpath problem with avaje-classpath-scanner
#1847 Delete bean with ManyToMany to always delete from intersection (not required cascade REMOVE) bug

Enhancements:

#1855 Add MetaInfoManager collectMetricsAsJson()
#1854 Use profile location label to automatically give good metric name for @Transactional (with profile location enhancement)
#1848 ENH: Add EmptyPagedList ... as helper implementation of PagedList enhancement

ebean - 12.1.2

Published by rbygrave about 5 years ago

Issues:

#1845 Refactor for Persisting ElementCollection to limit max JDBC batch size
#1844 Persisting an update of ElementCollection with JDBC batch, ensure delete, insert batch order XL

ebean - 12.1.1

Published by rbygrave about 5 years ago

reason-for-version-bump

#1824 Stateless updates - Remove update deleteMissingChildren option, instead always use orphanRemoval behaviour change breaking-api
#1826 Remove PrivateOwned, migrate to orphanRemoval=true attribute on OneToMany

Note that this includes removal of "deleteMissingChildren" option for stateless updates (#1824) and also the removal of Private owned (#1826). These changes are the reason for the major version bump.

Please review your use of "stateless updates" and the "deleteMissingChildren" option. Note that now instead the orphanRemoval attribute of @OneToMany is now used solely to control the deletion of "missing children / orphans".

Issues:

#1843 #1837 - Inheritance on both sides of @ManyToOne confuses columns
#1842 Refactor persisting to delay the setting of generated Id value (sequences and deferred imported ids) bug
#1841 SqlServer findCount with @Aggregation gives SQLException:No column name was specified for column 2 of 'c' bug
#1831 Update query with maxRows does not include the limit in the generated SQL bug enhancement
#1840 exists() limits the max rows on the query, this should be done on a copy bug
#1839 Fix JSON marshalling of @ElementCollection maps and scalar bug
#1838 Fix for Joda LocalTime timezone handling for MySql bug
#1836 NPE with findCount() on bean with @Aggregation, Regression in 11.45.1
#1835 Refactor JDBC batch escalation and detection of deferred persist relationship (circular imported ids)
#1834 DDL for ElementCollection that is referenced multiple times includes foreign key constraint bug
#1833 When cascade persisting twice to ElementCollection ... we get do extra delete and inserts bug
#1832 Cascade insert @ElementCollection when marshalled from JSON bug
#1830 Bump ebean-migration dependency to 11.22.1 enhancement
#1356 allQuotedIdentifiers must be respected by DDL bug
#1829 Bump Jackson core dependency from 2.9.9 to 2.10.0
#1656 Cascading update isn't propagated - use of merge() vs "stateless update" bug
#1827 @UniqueConstraint columnNames should be respecting ebean.allQuotedIdentifiers bug
#1821 Remove serverConfig updateChangesOnly mode ... as always true refactor removed-api

Enhancements:

#1823 ENH: Add query.findStream() and query.findLargeStream() enhancement

ebean - 11.45.1

Published by rbygrave about 5 years ago

Notes:

Includes breaking-api, rename @DbHstore to @DbMap

Issues:

#1818 Cannot auto-generate UUID
#1817 Rename @DbHstore to @DbMap breaking-api
#1816 Test case for OneToMany relation for @Cached and not @Cached bean. bug
#1815 #1802 - Completely remove MySQL init stored procedures for drop column with foreign key
#1810 Whan paging over query with @Aggregation ( grouping by) wrong total count is calculated bug
#1802 Change MySQL DDL to not use helper stored procedures by default - was auto-generated script containing create procedures
#1814 Support older MySQL 5.5 enhancement
#1812 Allow for null items in @DbArray lists.

Enhancements:

#1820 ENH: For DB Migration add setLockTimeout(10); ... to add Postgres set lock_timeout = to generated migrations
#1819 ENH: For DB Migration support dbMigration.setAddForeignKeySkipCheck(true); enhancement

ebean - 11.44.1

Published by rbygrave about 5 years ago

Issues:

#1806 SQLException:Data conversion error converting "c5866ffb-2e1c-457e-bdad-61ba4466f86e" [22018-197] Bind values:[1, ] Query was: bug

Enhancements:

#1807 ENH: Add SerializableConflictException

ebean - 11.43.3

Published by rbygrave about 5 years ago

Issues:

#1804 - Kotlin: Generating collection with wildcard type - Get error BeanNotRegisteredException: Error with association to [null] from [...Foo.manyProperty]. Is null registered?
#1803 - Q: Why can't kapt kotlin generate var Set to query bean
#1800 #1801 - DRawSqlService might silently drop columns with duplicate names

ebean - 11.43.2

Published by rbygrave about 5 years ago

Issues:

#1798 Fix automatic query label set on nested secondary query when using profileLocation bug
#1797 Bump ebean-migration to 11.20.1 ... which inserts a row into db_migration table
#1795 Refactor bind padding for Id IN expressions (based on internal multiValueSupport and simple id) refactor

Enhancements:

#1796 ENH: add query.fetchCache(path) ... for explicitly building part of graph from L2 cache enhancement

ebean - 11.43.1

Published by rbygrave about 5 years ago

Issues:

#1794 Extend EQL to support inOrEmpty, eqOrNull, gtOrNull, ltOrNull
#1791 #1768 - Initial refactor extracting CallOrigin interface refactor

Enhancements:

#1793 ENH: Add filterMany() that takes expressions ... as a simpler alternative (to ExpressionList) enhancement
#1792 ENH: Support using Query beans for building FetchGroup (in a type safe manor) enhancement

ebean - 11.42.3

Published by rbygrave about 5 years ago

Issues:

#1785 Bean gets replaced on json deserialization with primitive 'null' id bug
#1787 Update CockroachDB support for DDL generation with autocommit and no history support bug

Enhancements:

#1789 Add default constructor to EntityBeanIntercept for serialisation framework use only
#1788 ENH: Add support for NuoDB database platform enhancement
#1782 ENH: Add truncate(Class<?>... types) ? ... truncate(String... tables) ? enhancement

ebean - 11.42.2

Published by rbygrave about 5 years ago

Issues

#1783 Save bean with only *ToMany relations with user generated ID bug

ebean - 11.42.1

Published by rbygrave about 5 years ago

Issues:

#1769 - 'Rename ebean-test-config artifact to be ebean-test
#1778 Bump jackson-core.version from 2.9.8 to 2.9.9
#1763 Change such that db-create-all.sql and db-drop-all.sql generated files go into target (maven) or build (gradle) directories behaviour change

ebean - 11.41.4

Published by rbygrave about 5 years ago

Issues:

#1776 refresh() does not work on oneToMany if property was not yet accessed bug
#1775 MySql 8 by default wants JDBC Date set and read with JVM Calendar (timezone) bug
#1774 Change built in SQL Server I___create_procs DDL script to use GO (and not $$ delimiters) bug
#1770 Support use of Savepoints with MySql and MariaDB (that barf on savepoint.getSavepointId()) bug

Enhancements:

#1771 ENH: Add support for mariadb docker test container enhancement

ebean - 11.41.3

Published by rbygrave about 5 years ago

Issues:

#1765 Wrong SQL generated on m2m and OrderBy (Regression of #1746)
#1764 When an application is redeployed on tomcat, DtoQueries may fail with wrong MethodLookup bug
#1754 When using @DbForeignKey(noconstraint = true) in views, you may not access the ID of a 'deleted' entity #1762 Bump ebean-migration to 11.17.1

ebean - 11.41.2

Published by rbygrave over 5 years ago

Issues:

#1758 Error when using ebean 11.41.1 and ebean-spring-txn 11.10.4
#1757 Compiling error when use io.ebean.tile:enhancement:11.4x.x bug
#1755 Cannot use enhanced classes, when they are in different maven packages with agent 11.40.1
#1753 Issue with using the Formula-Properties (query generates wrong sql) bug
#1751 instrumentation issue when using private constructors

Enhancements:

#1760 ENH: Add ForTests.rollbackAll(closure) and ForTests.createRollbackAll() enhancement
#1759 ENH: Add ForTests.noTransactional() ... for testing purposes disable @Transactional enhancement
#1756 ENH: backdoor to disable @Transactional during unit testing enhancement

ebean - 11.41.1

Published by rbygrave over 5 years ago

Issues:

#1748 Support older JPA API that doesn't have orphanRemoval() or joinColumn.foreignKey()
#1747 Refactor tidy internals - io.ebeaninternal.server.deploy.parse
#1746 Wrong SQL generated when using setDistinct and order by on aggregated column
#1743 When using @PrimaryKeyJoinColumn, FK constraint generation cannot be disabled
#1745 #1743 - When using @PrimaryKeyJoinColumn, FK constraint generation ca…
#1744 With Inheritance query on a type that has no sub-types, don't include the discriminator column in the select clause
#1740 Persistence exception when using dynamic aggregation with @inheritance bug
#1739 Entity with just @Id and @OneToMany fields produces broken insert query bug
#1742 Bump to ebean-agent 11.41.1

ebean - 11.40.1

Published by rbygrave over 5 years ago

Issues:

#1738 Refactor tidy internals - Refactor SqlTreeNodeBean load method and tidy DLoadContext
#1737 PersistenceException while using aggregate query on related entity bug
#1736 Bump to ebean-agent 11.40.1 (with synthetic modifier on generated code)

ebean - 11.39.3

Published by rbygrave over 5 years ago

#1722 - L2 cache throw exception when query with custom ManyToMany relation model

ebean - 11.39.2

Published by rbygrave over 5 years ago

Issues:

#1730 Incorrect JDBC batch ordering when first having a *ToMany reference and then from there two or more *ToOne reference, when using UUID bug
by jonasPoehler
#1723 Testcase for ebean with circular dependences bug
by tobias
#1727 Refactor internals to use Instant for json parse on date time types refactor
by rbygrave
#1728 #1727 - Refactor internals to use Instant for json parse on date time types refactor
by rbygrave
#1726 createEntityBean unloads initialized properties bug
by jonasPoehler
#1729 Bugfix/create entity bean unload bug
by jonasPoehler
#1725 java.time test cases fails under java 11 bug
by tobias
#1724 Add (failing) java 11 to travis - date time parsing with nanos precision bug
by tobias