Deprecate Hibernate @ForeignKey in favor of JPA 2.1 introduced @ForeignKey annotation

Description

Deprecate @org.hibernate.annotations.ForeignKey in favor of @javax.persistence.ForeignKey which was just introduced in JPA 2.1

Environment

None

Activity

Show:
David
December 8, 2013, 1:33 AM

Of course I've tried that (should've mentioned it) but the provider defaults are still used. Changing it to Hibernates annotation works.

Are there any addition requirements for this to work?

Steve Ebersole
December 8, 2013, 3:33 AM

So to me, it sounds like you are reporting a bug? If so, please create a Jira and attach a test case.

Brett Meyer
December 9, 2013, 3:00 PM

, what version of ORM are you seeing that happen? This area was corrected in multiple ways in later releases. If it's still happening, please open a new ticket and ping me.

David
December 9, 2013, 5:35 PM

Version is 4.3.0.CR2. I could open a ticket, but I won't have time to provide a test example until next week.

David
December 9, 2013, 5:52 PM
Fixed

Assignee

Steve Ebersole

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure