What could you do to know the mapped Class?
Do a getObject() on the column and check the class.
ResultSet rs = statement.executeQuery("select column from table");
if (rs.next())
{
Object o = rs.getObject(1);
System.out.println("Class: " + o.getClass().getName());
}
No hay comentarios:
Publicar un comentario