devonfw / devon4j

devonfw Java stack - create enterprise-grade business apps in Java safe and fast
Apache License 2.0
82 stars 88 forks source link

Explain why we use Long as primary key #533

Closed maybeec closed 2 years ago

maybeec commented 2 years ago

As a reader of the docs, I want to understand so that I can follow decisions like the only choice for Long primary keys for data sources. The documentation does not say anything about the why (https://github.com/devonfw/devon4j/blob/master/documentation/guide-jpa.asciidoc#primary-keys).

hohwille commented 2 years ago

Rationale added, IMHO done.