Subclasses not allowed to have "natural-id" tag.

Description

I shall try to explain by a small example. I have aclass called "person" which has say an attribute "name" and "Birthday". I have a subclass of class "Person" called "Employee" and "Employee" has an attribute "ssn" which I want to treat as a natural-id. But Hibernate doesnot allow this. It doesnt allows natural-id tags for any subclass tag.
I would really appreciate some help on this. I have tried to serach for some example mapping similar to my example but havent had any luck. If teher is some alternate way for me map this do let me know.

Environment

Hibernate 3.x

Status

Assignee

Unassigned

Reporter

geminygirl1

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure