ERROR org.hibernate.hql.PARSER - line 1:38: unexpected token:
Bonjour,
j'ai une erreur du type
Code:
ERROR org.hibernate.hql.PARSER - line 1:38: unexpected token:
quand j'appel ma methode :
Code:
1 2 3 4 5 6 7
| public TypeA getTypeByName(String name) {
return (TypeA ) sessionFactory
.getCurrentSession()
.createQuery(
"from TypeAImpl type where type.name := name").setParameter("name", name).uniqueResult();
} |
et l'appel de ma methode :
Code:
TypeA typeA = TypeAHome.getTypeByName(cell.toString());
il rentre bien dans la methode <getTypeByName> mais j'ai une erreur du type < ERROR org.hibernate.hql.PARSER - line 1:38: unexpected token: >au niveau de la requete .
:bug: