Open a browser, go to JMX Console http://localhost:8080/jmx-console.
Go to Hypersonic SQL service and click on startDatabaseManager() as described here: Writing A Standalone Java Test Client for Entity Object.
Explore table contents for different inheritance strategies:
SINGLE_TABLE Inheritance Strategy.
Table definition and content:
JOINED Inheritance Strategy.
Tables definition and content:
TABLE_PER_CLASS Inheritance Strategy.
Tables definition and content:
Congratulations ! In this tutorial we explored the ability of EJB 3.0 Entities to handle inheritance in a standard object-oriented way and still easily map to a relational database.
![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |