hibernate

Table Per Subclass Example Hibernate

Table Per Subclass Hierarchy Note: Before going through this application, it is advised to read Hibernate Mapping Tutorial and also Table per class hierarchy. In this Table Per Subclass style, three tables are created one for each Java program. Here, foreign key is maintained between the tables. The three tables ETABLE (for Employee), PETABLE (for …

Table Per Subclass Example Hibernate Read More »

Table Per Class Example Hibernate

Table Per Class Hierarchy Note: Before going through this application, it is advised to read Hibernate Mapping Tutorial. In this Table Per Class style, only one table is created with sufficient columns to accommodate all the properties of each class involved in hierarchy. Because all the records of each class are available in a single …

Table Per Class Example Hibernate Read More »