reset password
Author Message
msargent
Posts: 519
Posted 10:52 Aug 28, 2015 |

To avoid ERROR: column applicatio0_.date does not exist when trying to get applications from a job, try changing 

"date" in

  @OneToMany(mappedBy = "job")
    @OrderBy("date asc")
    private List<Application> applications;

in the Job class to "submit_date".

I hope this is the right thing to do (please let me know if it isn't), as applications doesn't have a "date" column, but it does have a "submit_date" column.

hgadhia
Posts: 52
Posted 13:26 Aug 28, 2015 |

Yes.