Bonjour;
cette requette HQL me génére une erreur:
Query query = session.createQuery("from Lg");
elle est interpréte comme suit:
select * from ( select lg0_.UTILISATEUR as UTILISAT1_0_, lg0_.PWD as PWD0_, lg0_.DROIT as DROIT0_, lg0_.ACT as ACT0_, lg0_.ROLES as ROLES0_, lg0_.ACTIF as ACTIF0_, lg0_.NIVEAU as NIVEAU0_, lg0_.STRADG as STRADG0_ from LG lg0_ ) where rownum <= ?
en voici l'erreur:
08:12:45,708 WARN JDBCExceptionReporter:100 - SQL Error: 904, SQLState: 42000
08:12:45,708 ERROR JDBCExceptionReporter:101 - ORA-00904: "LG0_"."STRADG" : identificateur non valide
Partager