Quantcast
Channel: Java Programming Forum - Learn Java Programming - Hibernate
Viewing all articles
Browse latest Browse all 76

Problem in mapping multiples databse tables with same schema to single pojo class

$
0
0
I hava a pojo class in which I am using Hibernate annotation.
In my database I have two tables with similiar schema.
I want to know whether there is any way in hibernate annotation so that same pojo class can be used for these two tables.
Please suggest me how to do it.

Viewing all articles
Browse latest Browse all 76

Trending Articles