ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are visible (Hide)

ebean - 11.39.1

Published by rbygrave over 5 years ago

Issues:

#1706 Docker testing MySql and SQL Server default to case sensitive collation
#1721 Changed test to detect issue #1717
#1719 #1720 Refactor TableModState to use nanoTime
#1718 Refactor: unwrap invocationTargetException in Lifecycle methods
#1717 Add tests for Query Cache invalidation
#1716 Refactor DefaultTransactionThreadLocal, convert ThreadLocal to field (from map)
#1715 Refactor tidy on DefaultTransactionThreadLocal
#1713 Refactor: Ebean uses the MigrationVersion from the ebean-migration artifact
#1712 The BaseTestCase ensures, that the threadLocal is cleared after each test.
#1711 Fix memory leak in threadLocal on implicit transactions
#1710 New test for SqlServerPlatform
#1708 Refactor Tests: Check idType instead of assuming idType for a platform
#1704 #1701 (v2) - Replace TransactionMap with HashMap in DefaultTransactionThreadLocal
#1705 SpiTransactionProxy depth(int diff) ... does not pass on depth to underlying transaction
#1698 FIX for IAE "key can't be empty" in System.getProperty()
#1702 Fix: Migration when dbdefault is involved
#1697 #1695 - For MySql like remove the binary keyword + Add caseSensitiveCollation configuration option
#1699 Fix: equals() and hashCode() in ModifyAwareXXX
#1696 Refactor - trim unnecessary whitespace around IN clause bind parameters
#1694 RawSql findList() with firstRows/maxRows adds "order by id" (even with orderById(false))
#1693 Update ebean-migration 11.15.1 bug

ebean - 11.38.1

Published by rbygrave over 5 years ago

Issues:

#1691 Refactor io.ebean.Model to use a named database - support for use with non-default named database breaking-api refactor
#1686 Change the default JSON format to ISO8601 for date and datetime types (from epoch millis) behaviour change documentation refactor
#1688 Remove useless comparison test refactor - by thibaultmeyer
#1687 Fix implicit conversion from array to string refactor - by thibaultmeyer

#1683 Refactor MetaQueryPlan and MetaOrmQueryMetric - rename getQueryPlanHash() to getSqlHash() breaking-api refactor
#1681 Support hitting L2 bean cache via ... findList() with idsIn() expression bug

Enhancements:

#1689 ENH: Add query usingTransaction() and usingConnection()
#1685 Add support for MetaCounterMetrics and refactor DefaultServerCache to use them refactor
#1684 ENH: Support ISO date format for JSON marshalling on LocalDate, sql.Date etc enhancement
#1679 ENH: Support enabling/disabling L2 cache by "region" at runtime enhancement

ebean - 11.37.1

Published by rbygrave over 5 years ago

Issues:

#1674 For ProfileLocation use in constructors trim label to init .... (for safe label)
#1671 Use table alias with delete query for Postgres, Oracle, MySql
#1669 When deleting complex object graphs, entities are deleted multiple times
#1668 Fix check constraint support for MariaDB >= 10.2.1 behaviour change
#1659 CVE-2018-12022 - Bump Jackson version from 2.9.5 to 2.9.8

Enhancements:

#1673 ENH: Support ProfileLocation on DtoQuery including via orm query.asDto()
#1670 ENH: Expose metrics as ServerMetrics interface (improvement over existing BasicMetricVisitor use)

ebean - 11.36.4

Published by rbygrave over 5 years ago

Issues:

#1665 Incorrect query execution metrics for ORM query converted to DTO query via asDto()
#1663 AutoTune - merge profiling such that "select (orderDate) fetch customer (id)" instead merges to "select (orderDate,customer)"
#1661 AutoTune - callstack filters ebean methods

ebean - 11.36.3

Published by rbygrave over 5 years ago

Issues:

#1660 Modify MetaOrmQueryMetric getQueryPlanHash to return hash of sql
#1657 ERROR BeanDescriptorManager - Error in deployment java.lang.RuntimeException: Expecting [ ... ] to start with "select" bug

Enhancements:

#1658 ENH: Add label to ProfileLocation and use as default query label
#1653 ENH: Add support for ClickHouse database
#1655 ENH: add server config : default enum type

ebean - 11.36.2

Published by rbygrave over 5 years ago

#1652 - Conversion problem between org.joda.time.LocalDate and java.sql.Date field for dates before Jan 2 1900
#1651 - ENH: Support change to io.ebean.Model that supports named databases (other than default database)

ebean - 11.36.1

Published by rbygrave over 5 years ago

Notes:

#1647 Represents a change in default behaviour

Issues:

#1647 Change ServerConfig.updateAllPropertiesInBatch to default to false
#1649 ENH: Add optional length() attribute to @DbEnumValue
#1648 Refactor: Change BeanFinder and BeanRepository to use Database rather than EbeanServer
#1646 Ensure that java.sql.Array.free() is called

ebean - 11.35.3

Published by rbygrave over 5 years ago

Enhancements:

#1645 ENH: Add expression rawOrEmpty() ... as a convenience for conditionally added a raw expression

ebean - 11.35.2

Published by rbygrave over 5 years ago

Enhancements:

#1644 ENH: Improve batch flush when multiple "top level" (unrelated) types are persisted enhancement
#1643 ENH: Add expression inOrEmpty() ... as a convenience for conditionally added a IN expression

ebean - 11.35.1

Published by rbygrave over 5 years ago

#1640 & #1641 - For Postgres support mapping InetAddress to INET db column

ebean - 11.34.3

Published by rbygrave over 5 years ago

#1642 ENH: Bump to ebean-datasource 4.5.1 with offline/online support
#1639 FIX: Proper sort of migration versions (possible regression due #1577)

ebean - 11.34.2

Published by rbygrave over 5 years ago

Issues:

#1638 FIX: When saving multiple m2m beans, only last m2m wins (Regression due #1630)
#1635 Fixed missing EBEAN_PROPS_FILE loading
#1637 build on jdk11 refactor

Enhancements:

#1634 ENH: Add convenience expressions "greater than or null" gtOrNull(), ltOrNull() and inRangeWith()

ebean - 11.34.1

Published by rbygrave over 5 years ago

Issues:

#1631 Change logging for SqlUpdate ... such that it is more consistent with other SQL logging wrt JDBC batch #1628 Test fixes
#1627 Bump ebean-datasource to 4.3.4

Enhancements:

#1624 ENH: Create io.ebean.DB as alias for Ebean and io.ebean.Database as alias for EbeanServer
#1629 ENH: Add sqlQuery(sql) and sqlUpdate(sql) ... as alias for createSqlQuery(sql) and createSqlUpdate(sql)
#1630 ENH: Improve jdbc batch use when persisting ManyToMany intersection changes
#1632 ENH: Add bind parameter expansion for SqlUpdate
#1633 ENH: Add bind parameter expansion for raw() expressions

ebean - 11.33.3

Published by rbygrave over 5 years ago

Issues:

#1625 Populate UUID via database column default value / impossible to disable automatic generation for @Id fields of type UUID.
#1623 DbOrderByTrim doesn't remove asc/desc if you're sorting by a function called on a column

Enhancements:

#1626 ENH: Add SqlUpdate.setParams(Object ... ) and SqlQuery.setParams(Object ... ) ... as convenient alternative to many setParameter() calls
#1622 ENH: Bump ebean-datasource to 4.3.3 with improved DataSourceInitialiseException

ebean - 11.33.2

Published by rbygrave over 5 years ago

Issues:

#1621 Consider clean up white space in generated SQL (as in remove unneeded extra spaces)
#1620 Support case statement in order by clause

Enhancements:

#1619 ENH: Support aggregation formula on fetch clause e.g. query.fetch("machineUsage", "sum(totalKms)")

ebean - 11.33.1

Published by rbygrave over 5 years ago

Issues:

#1617 save() on a reference bean causes insert to occur ... results in duplicate key exception
#1615 findNative() with List/array named parameter throws error ... query plan key doesn't take bind count into account
#1614 Refactor DbMigration.generateMigration() to use System out to log key messages and throw UnknownResourcePathException
#1613 When using transaction.setPersistCascade(false) ... a Delete query should not cascade
#1612 query.setMapKey("customer.id") throws NullPointerException (ie. mapKey is a path rather than local property)
#1610 Refactor: Change SQL logging such that jdbc batch use is more obvious refactor
#1609 FIX: insert in batch OneToOne relationship

Enhancements:

#1618 ENH: Add @Sum ... as short hand for @Aggregation("sum()")
#1616 Enhance EQL grammer 1) Allow select without ( and ) 2) support aggregate functions min,max,sum,count,avg 3) support quoting fetch paths (that are keywords)
#1611 ENH: Add inRange expression (as half open expression) ... (property >= lowerValue and property < upperValue)

ebean - 11.32.1

Published by rbygrave almost 6 years ago

Issues:

#52 JPA2 - @OneToMany or @ManyToOne not supported inside @Embeddables
#1608 Support @ManyToOne inside @Embeddables - fix for #52
#1597 Refactor: replaced system-property "ebean.ignoreExtraDdl" with serverConfig flag

Enhancements:

#1594 ENH: Support loading of beans with invalid JSON content enhancement
#1602 ENH: A query on inherited beans can be restricted to the subtype of one of its children enhancement
#1566 ENH: Support query.setBaseTable() ... to query against dynamic table (ala manual table partitioning)
#1607 ENH: Add query.exists() query ... as a convenience for "does a row exist" check enhancement

ebean - 11.31.3

Published by rbygrave almost 6 years ago

#1606 - Bean with Inheritance and OneToMany with JoinTable and cascade ... doesn't cascade save on all bean types

ebean - 11.31.2

Published by rbygrave almost 6 years ago

#1601 FIX: possible NPE in DeleteUnloadedForeignKeys.deleteCascade and in i…
#1600 Fixed tests, if SqlServer has "Latin1_General_100_BIN2" collation.
#1599 exposed the schedule methods in BackgroundExecutor
#1598 FIX: create uuid-state file in user's home directory
#1592 SqlServer queryplan captured in transaction & fix of possible NPE
#1591 Fix some testcases fof MySql/SqlServer
#1605 RuntimeException: Nothing in batch? ... when lazy loading on partially populated L2 bean cache bug
#1596 NullPointerException at findOne() with filterMany() bug regression
#1604 Open URL resources without caching

ebean - 11.31.1

Published by rbygrave almost 6 years ago

#1589 - Refactor internals move SqlQuery sqlDistinct ... to SqlTreeNodeRoot (query plan)
#1585 - Change the L2 bean cache keys to be String based behaviour change refactor
#1588 - Fix query plan capture excluding update and delete queries from query plan capture
#1584 - Query cache bug, which produces wrong results bug
#1587 - Fix for propagation of @Cache(nearCache=true)
#1586 - ENH: Add TimedMetric.addSinceNanos() ... as a helper when using start nanos enhancement