Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Natural identifier
Natural identifier [message #1717307] Fri, 11 December 2015 09:09
Eclipse UserFriend
Hello,

in Hibernate I can create a unique key using @NaturalId on several properties of the entity. Is there a EclipseLink equivalent annotation?

The @UniqueConstraint ist not enough because, im looking for a possibilty to check if the entity already exists for this natual id or unique constraints.
My expectation is a methode like in hibernate session.byNaturalId(class) to check if the entity is already exists.

How do this with EclipseLink (generic)?

Cheers

Dennis
Previous Topic:EclipseLink less than clause doesn't work correctly
Next Topic:MongoDB and multi-tenancy
Goto Forum:
  


Current Time: Wed Mar 26 01:53:48 EDT 2025

Powered by FUDForum. Page generated in 1.03527 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top