• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

Hibernate object duplication error

Hi,
I have two classes that are unrelated but happened to have the same value for the id attribute in the HBM configuration. Would instances of these two with same value for ID be detected as duplicates in the same session?

Thanks in advance.
0
ponnen
Asked:
ponnen
1 Solution
 
objectsCommented:
no, because they are different types

0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now