Ver Mensaje Individual
  #5 (permalink)  
Antiguo 15/07/2009, 09:01
pumana
 
Fecha de Ingreso: julio-2009
Mensajes: 19
Antigüedad: 14 años, 10 meses
Puntos: 0
Respuesta: ayuda con Hibernate

gracias lissette, hice lo siguiente:

Código:
  			

Query query	 = session.createQuery("select exa.modalidad,exa.fechaexamen,count(*)as total from Examen exa group by exa.modalidad,exa.fechaexamen order by exa.fechaexamen");
List result = query.list();
Iterator it=result.iterator();
while(it.hasNext())
{
   _log.error(it.next());
}
y me mostro como resultado:

[Ljava.lang.Object;@ea22fe
[Ljava.lang.Object;@19f71f6
[Ljava.lang.Object;@15fdf10

Saludos.