Issue
Is it possible for an entity to have an One to One polymorphism association to multiple tables. Let say an entity has 2 specific columns which are used to :
link_type - column that identify which table should associate to
link_id - column that define the foreign key of the table once the table was identified.
Solution
I think I have found a solution by using @Any or @ManyToAny annotation. Those are not standard JPA annotation but hibernate specific annotation.
Answered By - kenn3th