[hibernate-commits] [hibernate/hibernate-orm] 77d60e: HHH-10956 created test cases IdClass with partial ...

jpyeron noreply at github.com
Fri May 29 04:43:19 EDT 2020


  Branch: refs/heads/5.4
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 77d60e5d6eb24c59fce0ba526d58230351e0d203
      https://github.com/hibernate/hibernate-orm/commit/77d60e5d6eb24c59fce0ba526d58230351e0d203
  Author: Jason Pyeron <jpyeron at pdinc.us>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    A hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java

  Log Message:
  -----------
  HHH-10956 created test cases IdClass with partial identifier generatiod, all marked @FailureExpected


  Commit: 87cfe33b5c5c2399c79079ce9c8c764cab4119fb
      https://github.com/hibernate/hibernate-orm/commit/87cfe33b5c5c2399c79079ce9c8c764cab4119fb
  Author: Jason Pyeron <jpyeron at pdinc.us>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
    M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
    M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java

  Log Message:
  -----------
  HHH-10956 fixed failed insertion with IdClass with partial identifier generation

* regression introduced by HHH-4848
* AbstractEntityTuplizer lines 179 and 311 formatting issues, preserved
* bug HHH-9662 blocks testing of Identity insertion


  Commit: 8b7903dfc4a7833e4db29d24a0c28b36ebddb3a2
      https://github.com/hibernate/hibernate-orm/commit/8b7903dfc4a7833e4db29d24a0c28b36ebddb3a2
  Author: Jason Pyeron <jpyeron at pdinc.us>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java

  Log Message:
  -----------
  HHH-10956 added more complext tests with self referential FK

* known issue: HHH-13971, test marked as @Ignore
* added some output debugging to help developers review CI/CD logs
* 8 tests, 1 ignored, 0.745s duration


  Commit: 013d528916a5bd161d1f9e5aff2676d2c29f0da0
      https://github.com/hibernate/hibernate-orm/commit/013d528916a5bd161d1f9e5aff2676d2c29f0da0
  Author: Jason Pyeron <jpyeron at pdinc.us>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java

  Log Message:
  -----------
  HHH-10956 put one line if in {}


  Commit: ed3f59b131c17cfcefb3a89654a851f22a5a7a42
      https://github.com/hibernate/hibernate-orm/commit/ed3f59b131c17cfcefb3a89654a851f22a5a7a42
  Author: Andrea Boriero <andrea at hibernate.org>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
    A hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueTest.java

  Log Message:
  -----------
  HHH-10956 Moved tests using GenerationType#IDENTITY into another class annotated with @RequiresDialectFeature(DialectChecks.SupportsIdentityColumns.class)


  Commit: 38006d2dc71385ad200e1169cb76735b3ba23bf5
      https://github.com/hibernate/hibernate-orm/commit/38006d2dc71385ad200e1169cb76735b3ba23bf5
  Author: Andrea Boriero <andrea at hibernate.org>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
    M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueTest.java

  Log Message:
  -----------
  HHH-10956 Add additional test


  Commit: 2defb17157983307aae3b0bc84a1aa862c2d475f
      https://github.com/hibernate/hibernate-orm/commit/2defb17157983307aae3b0bc84a1aa862c2d475f
  Author: Andrea Boriero <andrea at hibernate.org>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java

  Log Message:
  -----------
  HHH-10956 an exception has to thrown when the composite key is an association and its value is null


  Commit: 340e50ec254aa7f4c2ef13776b76d29512b023fd
      https://github.com/hibernate/hibernate-orm/commit/340e50ec254aa7f4c2ef13776b76d29512b023fd
  Author: Jason Pyeron <jpyeron at pdinc.us>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
    M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java

  Log Message:
  -----------
  HHH-10956 reduced runtime complexity, added Component.getProperty(int)

Component.getProperty(String) was looping and comparing, but we already now the position of the property


Compare: https://github.com/hibernate/hibernate-orm/compare/d2e2688f8907...340e50ec254a


More information about the hibernate-commits mailing list