c'est quoi cette erreur :
Code:
1
2
3
4
5
6 org.hibernate.hql.ast.QuerySyntaxException: expecting "all", found 'bc' near line 3, column 101 [ SELECT bc.boncarurantReference From Boncarburant bc inner join Carburant cc fetch bc.cc.carburantId ]
Version imprimable
c'est quoi cette erreur :
Code:
1
2
3
4
5
6 org.hibernate.hql.ast.QuerySyntaxException: expecting "all", found 'bc' near line 3, column 101 [ SELECT bc.boncarurantReference From Boncarburant bc inner join Carburant cc fetch bc.cc.carburantId ]
Il y a une erreur de syntaxe dans ta requête HQL, ce fetch n'a rien à faire là. à cet endroit là, la seule chose qui est autorisée avec fetch c'est l'instruction "fetch all properties".
https://docs.jboss.org/hibernate/orm...queryhql-joins