Skip to content

Commit

Permalink
Adapt for HHH-9329
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Sep 29, 2016
1 parent 6cd3282 commit 59ab305
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,18 @@ public HibernateJpa21Provider(EntityManager em, String dbms, Database database,
public boolean supportsJpa21() {
return true;
}

@Override
public boolean supportsEntityJoin() {
return major > 5 || major == 5 && minor >= 1;
}

@Override
public boolean needsJoinSubqueryRewrite() {
// Got fixed in 5.2.3: https://hibernate.atlassian.net/browse/HHH-9329
return major < 5 || major == 5 && minor < 2 || major == 5 && minor == 2 && fix < 3;
}

@Override
public String getOnClause() {
return "ON";
Expand Down

0 comments on commit 59ab305

Please sign in to comment.