The Hibernate reference manual describes how to map a single java class to two different tables by using the entity name property to differentiate between the two entities.
Creativity is allowing yourself to make mistakes; art is knowing which ones to keep. Keep this tiny ad: