[hibernate-commits] [hibernate/hibernate-orm] 290429: Support cascade style definition

GitHub noreply at github.com
Wed Jan 16 11:55:52 EST 2019


  Branch: refs/heads/wip/6.0
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 29042944a9bad05cf07cdad191b95c7d33449a0f
      https://github.com/hibernate/hibernate-orm/commit/29042944a9bad05cf07cdad191b95c7d33449a0f
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2019-01-16 (Wed, 16 Jan 2019)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
    M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadeStyles.java
    M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/SingularPersistentAttributeEntity.java
    M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/entity/SingleTableEntityTypeDescriptor.java

  Log Message:
  -----------
  Support cascade style definition


  Commit: 2bf2843c6c5d014f35959a97dc2c280bfc7425d8
      https://github.com/hibernate/hibernate-orm/commit/2bf2843c6c5d014f35959a97dc2c280bfc7425d8
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2019-01-16 (Wed, 16 Jan 2019)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/SingularPersistentAttributeEntity.java

  Log Message:
  -----------
  Compute ForeignKeyDirection using mappedBy instead of constrained

  Simalr to what we do in ORM 5.4.


  Commit: 8c27bc4c36b33341047901b7aff232a7e5ded65c
      https://github.com/hibernate/hibernate-orm/commit/8c27bc4c36b33341047901b7aff232a7e5ded65c
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2019-01-16 (Wed, 16 Jan 2019)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/orm/test/event/PreInsertEventListenerVetoBidirectionalTest.java
    M hibernate-core/src/test/java/org/hibernate/orm/test/event/PreInsertEventListenerVetoUnidirectionalTest.java

  Log Message:
  -----------
  Enable and fix EventListenerVeto tests

 The tests fail because the listener is registered after the tests execution
 instead then after the creation of the factory.


  Commit: 122e2d7daa803fc1ff0b11355c3836fc8c8b6958
      https://github.com/hibernate/hibernate-orm/commit/122e2d7daa803fc1ff0b11355c3836fc8c8b6958
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2019-01-16 (Wed, 16 Jan 2019)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/mapping/Property.java

  Log Message:
  -----------
  Comment unused private method Property#getCascadeStyle and remove imports

  Most of the logic is now in CascadeStyles#getCascadeStyle


Compare: https://github.com/hibernate/hibernate-orm/compare/df04f4896234...122e2d7daa80
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the hibernate-commits mailing list