ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are hidden (Show)

ebean - 11.30.1

Published by rbygrave almost 6 years ago

Enhancements:

#1583 ENH: Add type safe ServerConfig getServiceObject() and putServiceObject()
#1582 ENH: Pass @Cache nearCache option to ServerCacheOptions (for L2 plugins like Redis)
#1581 ENH: Add query.asUpdate() ... to convert a query into an UpdateQuery (typically with query beans)
#1580 Refactor move io.ebeaninternal.metric to public package of io.ebean.metric (such that it can be used by plugins like redis l2 cache plugin) enhancement
#1579 ENH: for UpdateQuery add setLabel() and update() as top level methods
#1477 1476 - Query plan capture, initial wip capturing bind params
#1476 Query plan capture enhancement

ebean - 11.29.1

Published by rbygrave almost 6 years ago

Issues:

#1578 Remove unmaintained META-INF/ebean-version.mf manifest file ... use EbeanVersion.getVersion() instead
#1574 "NullPointerException" in query.copy().findList() but not in query.findList()
#1576 ClusterManager creates ClusterBroadcast even when config is not active
#1573 Incorrect CamelCase conversion when number proceeds uppercase letter

Enhancements:

#1577 ENH: Add support for "dbinit" migrations (Sort of "checkpoint" or "fast forward" migrations)

ebean - 11.28.3

Published by rbygrave almost 6 years ago

Issues:

#1572 Support query.select("customer.id").findSingleAttributeList() ... in addition to the expected and working select("customer").findSingleAttributeList()
#1571 NPE in cacheable bean with embeddedid on delete

ebean - 11.28.2

Published by rbygrave almost 6 years ago

#1569 Ebean generates wrong ddl (datetime(6) vs timestamp) for H2 with @History annotation
#1559 @Lob with @ElementCollection
#1567 SqlUpdate addBatch() ... with named parameters errors with PersistenceException: No batched statement found for key
#1568 @OneToMany with orphanRemoval=true ... with @Cache (and not a @ManyToOne) doesn't remove

ebean - 11.28.1

Published by rbygrave almost 6 years ago

Issues:

#1565 Bump to ebean-datasource 4.3.1 ... with option for owner database credentials and InitDatabase
#1563 Remove deprecated method ServerConfig.loadTestProperties() - migrate to loadProperties()
#1564 Remove deprecated io.ebeaninternal.server.core.ServletContextListener - migrate to io.ebean.event.ServletContextListener
#1562 Query cache use incorrect with RawExpression - incorrect bind hash

ebean - 11.27.1

Published by rbygrave almost 6 years ago

Issues:

#1558 Bump ebean-migration to 11.11.1 - refer: https://github.com/ebean-orm/ebean-migration/pull/56
#1556 Query.setDisableLazyLoading(true) not working on @OneToMany Set (but does on List)
#1553 Remove deprecated method Query.setForUpdate(boolean) ... migrate to setForUpdate()
#1552 Remove deprecated methods on Transaction setBatch(PersistBatch) .. migrate to setBatchMode(boolean)

Enhancements:

#1561 ENH: Add ScriptRunner API ... for easier running of SQL and DDL scripts (for testing usually)
#1555 Support .yaml extension (in addition to the existing .yml extension) for application.yaml and application-test.yaml
#1554 Improve exception message for BeanNotEnhancedException
#1551 new comparison method Ine (caseInsensitive notEquals)
#1550 NEW: ExpressionPath provides access to property and elName enhancement
#1548 add global configuration disableLazyLoading

ebean - 11.26.1

Published by rbygrave almost 6 years ago

#1547 - Revert for - FIX for the limit query #1540

ebean - 11.25.1

Published by rbygrave almost 6 years ago

#1546 Refactor: Swap from entityBean._ebean_intercept() to entityBean._ebean_getIntercept()
#1539 FIX: Pairs must not be modified by query
#1533 Enhanced bean can not use final fields in Java 9+.
#1545 Bump ebean-datasource to 4.2.2 fix for leak with SQLWarning and Postgres JDBC driver
#1544 No effective change - use https://ebean.io for urls
#1541 Fix test data
#1540 FIX for the limit query bug
#1537 Add Java 8 Time API support for BasicTypeConverter
#1536 Append ExtraWheres to join instead to where condition
#1535 FIX: use outer join on "is null" check
#1527 FIX: improved support for @DbForeignKey(noConstraint = true)
#1531 Transform extra-ddl.xml files when running in ddl mode (no migration)
#1534 Code cleanup refactor
#1529 FIX: update extra ddl also, if no migration was written bug
#1528 FIX: disableLazyLoading was not checked correctly bug
#1526 FIX Typos (DLL -> DDL)

Enhancements:

#1543 ENH: Allow ebean.dbSchema to have multiple schemas
#1538 Add some sanity checks when creating sort comparators

ebean - 11.24.1

Published by rbygrave almost 6 years ago

Notes

  • Java 11 support with ebean-agent 11.24.1
  • change package and maven groupId for ebean-datasource

Issues:

#1525 Check for presence of JAXB in classpath in CurrentModel (to support Java 11 without xml)
#1524 @History on @OneToMany with asOf() query and fetch(many property) gives PersistenceException: Error with property[6] dt[93]data[2018-11-01 14:56:18.015][java.sql.Timestamp]
#1523 #1519 Memory leak when using @Cache(enableQueryCache=true)
#1522 Refactor - Change io.ebean.Model to not be a annotated with @MappedSuperclass refactor
#1520 Javadoc Fix closing h3 tag in Transaction. no code change! documentation
#1517 Update for ebean-datasource maven groupId change to io.ebean
#1515 There should be only one "Rob" in o_customer

Enhancements:

#1521 Add API for using explicit transaction for UpdateQuery - e.g. ebeanServer.update(Customer.class)...update(activeTransaction);
#1516 More user friendly exceptions - BeanNotEnhancedException, BeanNotRegisteredException
#1514 Add support for JacksonAnnotations at bean-properties enhancement

ebean - 11.23.1

Published by rbygrave almost 6 years ago

Issues:

#1513 #1510 - Tidy DbMigrationConfig removing the properties that should only be with DbMigration generation
#1512 Invalid SQL with Postgres + order by nulls first/last + where() expression on ManyToMany

Enhancements:

#1511 Add SAP HANA support

ebean - 11.22.10

Published by rbygrave about 6 years ago

Issues:

#1508 Invalid SQL used to fetch identity value for @Draftable with database platform that uses Identity but not getGeneratedKeys

Enhancements:

#1509 DBMigration add ... List getPendingDrops(); enhancement

ebean - 11.22.9

Published by rbygrave about 6 years ago

Issues:

#1507 SqlUpdate.execute PersistenceException is not translated into more specific exception (like DuplicateKeyException)
#1506 @ElementCollection DDL generates 2 indexes on the same column
#1505 Unidirectional @OneToOne orphanRemoval=true ... does not delete orphan that is replaced

Enhancements:

#1504 ENH: Add SqlUpdate executeNow() method ... that executes now regardless of transaction batch mode

ebean - 11.22.8

Published by rbygrave about 6 years ago

Issues:

#1502 findNative build query to findPagedList, the query count is incorrect.
#1501 Change logging for io.ebeaninternal.dbmigration.DefaultDbMigration to "io.ebean.GenerateMigration"
#1499 findNative with findIds (or findSingleAttributeList with id property) throws ArrayIndexOutOfBoundsException

Enhancements:

#1500 Improve Postgres 10 partitioning support, easier to create multiple indexes on each partition

ebean - 11.22.7

Published by rbygrave about 6 years ago

Issues:

#1498 findIds() with @SoftDelete bean returns all Ids (when soft deleted ones should not return)
#1497 SQL Error with @History + @SoftDelete + @OneToOne fetch=FetchType.EAGER
#1496 Query label lost for findId() bug

ebean - 11.22.6

Published by rbygrave about 6 years ago

Issues:

#1490 FIX: withQuote_when_match for different platforms
#1489 removed the concat-operator "||" and replaced with "concat()"
#1492 NEW: collation support for orderBy
#1495 FIX: check platform on multiple annotations
#1494 FIX: tableName detection for native statements on SQLServer
#1493 ignored some tests for sqlserver
#1491 Add methods to the plugin API to access type and inheritance information
#1488 Original Value and bean change was not computed correctly in changelog
#1487 @OneToOne Postgres with different Id types - error PSQLException: ERROR: operator does not exist: uuid = character varying bug
#1486 FIX: recursive BatchedPstmtHolder.flush
#1485 Fix issue in UUID-v1 generator on AWS Beanstalk
#1484 Wrong behaviour in BeanMap.put/putAll
#1483 Invalid SQL with allQuotedIdentifiers true - where t0.[t0.[COND]] in (?, ?, ?, ?, ?, ?, ?, ?, ?, ? )

ebean -

Published by rbygrave about 6 years ago

Issues:

#1482 Improve error message for incorrect mapping - @JoinColumn without @ManyToOne etc
#1481 FIX: JunctionExpression.notExists
#1479 FIX: NPE in ScalarTypeLocalTime and ScalarTypeMonthDay

ebean - 11.22.4

Published by rbygrave about 6 years ago

#1478 - MySql DDL, invalid comment included resulting in PersistenceException: Failed to run script

ebean - 11.22.3

Published by rbygrave about 6 years ago

Issues:

#1475 - @OneToOne child with @SoftDelete that is deleted is still loaded by parent

ebean - 11.22.2

Published by rbygrave about 6 years ago

Issues:

#1474 IllegalStateException: Table [some_table] does not exists in model? ... when applying drop table migration and table is no longer in the model
#1473 Fix for error with multiple uses of enum with integer storage type

ebean - 11.22.1

Published by rbygrave about 6 years ago

Issues:

#1472 - Cascade insert with managed id ... results in update rather than insert statement
#1471 - Change stateless update on bean with no @Version property that updates 0 rows to throw EntityNotFoundException behaviour change