I have question related to hibernate (JPA Annotations).
I have two tables,first table contains two column,one is primary and other is unique and not null.
Second table contains the foreign key on the basis of unique key in the database.
When i create bean through jpa(plugin in eclipse),there is no relationship is shown and no relationship exists between the two tables in the generated entities.
If i create foreign key on the basis of primary key,relationship is shown in the entities.
Please help me out.