How to make 2 entities map to a single class
Visual Paradigm support generate UML Class Model by analyzing the Entity Relationship Model you defined or from your database. The generated class model can then use to generate hibernate source code. By default each entity will be generated into one class model during the process. But in some situation you may want to have 2 related entities mapped to a single class model for better access of information in your program. In this article we will teach you how generate a single class for 2 entities in your model. Read more