In chapter 5 of JPA Pro 2 (2nd edition),
first we create a table called Employee_Vacation :
CREATE TABLE Employee_VACATION (EMP_ID INTEGER NOT NULL, STARTDATE VARCHAR(255), DAYS_ABS INTEGER);
In the Employee.java provided, it has :
But when I ran it, it complains that table vacation does not exist.
I have to modify the Employee.java like this to make it work :