[hibernate-commits] [hibernate/hibernate-ogm] a26679: OGM-1326 Add example of associations between entit...

GitHub noreply at github.com
Wed May 23 08:01:48 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: a26679da20148e77f2d391392d7dc1f566c263a0
      https://github.com/hibernate/hibernate-ogm/commit/a26679da20148e77f2d391392d7dc1f566c263a0
  Author: Bato-Bair <bbtsyrenov at gmail.com>
  Date:   2018-05-23 (Wed, 23 May 2018)

  Changed paths:
    M documentation/manual/src/main/asciidoc/modules/mongodb.asciidoc

  Log Message:
  -----------
  OGM-1326 Add example of associations between entities of the same class (#25)

Added an example to the documentation that shows a OneToOne mapping to the same entity. ie. A person has a spouse that is another person.


  Commit: 8e39d287bcda1b11f5be667080e24a180555100c
      https://github.com/hibernate/hibernate-ogm/commit/8e39d287bcda1b11f5be667080e24a180555100c
  Author: Bato-Bair <bbtsyrenov at gmail.com>
  Date:   2018-05-23 (Wed, 23 May 2018)

  Changed paths:
    M documentation/manual/src/main/asciidoc/modules/mongodb.asciidoc

  Log Message:
  -----------
  OGM-1326 Add example of associations between entities of the same class (#28)

- Making the example simpler using the field name as @Id and removing the field id
- Added a one-to-many association and an example of that scenario as well by adding attribute "children"


  Commit: b9e9c487623713accfe7d2bd7fee487b5e19eec3
      https://github.com/hibernate/hibernate-ogm/commit/b9e9c487623713accfe7d2bd7fee487b5e19eec3
  Author: Bato-Bair <bbtsyrenov at gmail.com>
  Date:   2018-05-23 (Wed, 23 May 2018)

  Changed paths:
    M documentation/manual/src/main/asciidoc/modules/neo4j.asciidoc
    A documentation/manual/src/main/resources/images/neo4j-bi-one-to-one-many-to-many-same-entity-example.png

  Log Message:
  -----------
  OGM-1326 Add example of associations between entities of the same class  (#31)

Added an example to the neo4j documentation that is the exact copy of the example added to the mongodb with the appropriate example image for the neo4j representation.


Compare: https://github.com/hibernate/hibernate-ogm/compare/9418d065f92e...b9e9c4876237
      **NOTE:** This service 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