docs: update single table inheritance

This commit is contained in:
Ilkka Seppälä committed 2024-05-20 20:42:17 +03:00
1 parent 882bcbf385
commit e76bdffab4
3 files changed
+112 -100

No files matched your search

@@ -81,7 +81,7 @@ public class SingleTableInheritance implements CommandLineRunner {
* @param args program runtime arguments
*/
@Override
public void run(String... args) throws Exception {
public void run(String... args) {
Logger log = LoggerFactory.getLogger(SingleTableInheritance.class);
@@ -45,10 +45,4 @@ public abstract class PassengerVehicle extends Vehicle {
super(manufacturer, model);
this.noOfPassengers = noOfPassengers;
}
@Override
public String toString() {
return super.toString();
}
}