Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use IdentifiableType.hasSingleIdAttribute() to detect IdClass presenc…
…e to obtain IdClass attributes. We now use IdentifiableType.hasSingleIdAttribute() to detect whether a type should have an IdClass. hasSingleIdAttribute is defined to return false if an IdClass is being used. It could also return false in case multiple identifier attributes are in place (composite Id) which is a bit of a grey area. At least we avoid using Hibernate-specific API. Original pull request #2412 See #2330 Closes #2391
- Loading branch information