jointable « Table « JPA Q&A





1. JPA Secondary Table Issue    stackoverflow.com

I have a three tables: User, Course, and Test. Course has a User foreign key and Test has a Course foreign key. I am having trouble mapping the Test collection for each ...

2. JoinTable, mixed case table name not quoted properly    forum.hibernate.org

I've been blessed with a Postgres DB with mixed case table names. Normally, back ticks (`) can be added when a mixed case table name is needed, i.e. name="`mixedCaseTableName`" If I use back ticks in @JoinTable, like this Code: @ManyToOne(fetch = FetchType.LAZY) @JoinTable(name = "`xref_employee_number_Contact`", schema="public", joinColumns = @JoinColumn(name = "employee_number"), ...