queries anidados JPA
Publicado por filihc (1 intervención) el 09/02/2009 16:48:59
Alguien puede decirme como realizar la siguente sentencia sin q me manda error??
@NamedNativeQuery(name = "Empleados.findBoss", query="select empid, empnomcorto from empleados where empest = 'A' and empid in (" +
"select distinct emp_empid from empleados where emp_empid is not null) order by empnomcorto")
Error:
can not access a member of class com.interp.mvc.controller.ControllerSubordinados with modifiers ""
@NamedNativeQuery(name = "Empleados.findBoss", query="select empid, empnomcorto from empleados where empest = 'A' and empid in (" +
"select distinct emp_empid from empleados where emp_empid is not null) order by empnomcorto")
Error:
can not access a member of class com.interp.mvc.controller.ControllerSubordinados with modifiers ""
Valora esta pregunta


0