Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/05/2015, 13:51
Avatar de Profesor_Falken
Profesor_Falken
 
Fecha de Ingreso: agosto-2014
Ubicación: Mountain View
Mensajes: 1.323
Antigüedad: 9 años, 8 meses
Puntos: 182
Respuesta: Consulta hibernate avg()

Buenas,

Lee con atención el mensaje de error que te está devolviendo:
Cita:
query specified join fetching, but the owner of the fetched association was not present in the select list
Ese join que estás haciendo no tiene ningún sentido cuando lo que estás obteniendo es sólo el valor de la media mediante una función de agregación.

Un saludo
__________________
If to err is human, then programmers are the most human of us