Part I. Getting started

Part II. UML modeling

Part III. Project glossary

Part IV. BPMN toolset

Part V. Project management

Part VI. Modeling toolset

Part VII. ArchiMate tools

Part VIII. Team collaboration

Part IX. Code engineering

Part X. Database design and engineering

Part XI. Advanced modeling toolset

Part XII. Document production

Part XIII. Business modeling

Part XIV. Business rule

Part XV. Agile development

Part XVI. Wireframe

Part XVII. Impact analysis

Part XVIII. CMMN toolset

Part XIX. SoaML modeling

Part XX. Design animation

Part XXI. IDE Integration

Part XXII. Interoperability and integration

Part XXIII. Process simulation

Part XXIV. Zachman and BMM

Part XXV. Appendix A - Application Options

Part XXVI. Appendix B - Project Options

Part XXVII. Appendix C

 

How to Reverse ORM POJO Classes into UML Classes?

You can generate ORM classes which has POJO be the persistent API. On the contrary, those generated POJO classes can be reversed back to class model. This is particularly useful when you want to produce a class diagram from legacy ORM classes (code).

To reverse engineer class model from ORM POJO classes:

  1. Select Tools > Hibernate > Reverse Java Classes... from the toolbar.
  2. In the Reverse Java Classes dialog box, click Add to add the classpaths where the ORM classes exist.
  3. From the Available Classes pane, select the classes you want to reverse and click >.
  4. Click OK. You can find the reversed classes in the Model Explorer.
    ORM classes reversed
    ORM classes reversed

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
Chapter 5. Reverse ORM POJO Classes Table of Contents Chapter 6. Generating Object-Relational Mapping Code

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK