CREATE TYPE and Java Mapping
CREATE TYPE and Java Mapping
От:
aleksvp <aleksvp@gmail.com>
Дата:
Hi, I have a procedure that returns values of a TYPE (created via CREATE TYPE). I'm having trouble mapping the return to a Java type. I'm trying to call it like anyother procedure: Query qry = null; List results= new ArrayList(); Object[] resultado = null; String sql = "select procedure(parameters);"; qry = em.createNativeQuery(sql); results= qry.getResultList(); I'm getting a no dialect mapping exception. Also, I've tried to map a Entity to the type. But when I try to get the result I got an error on the fields mapping. Regards. -- View this message in context: http://postgresql.1045698.n5.nabble.com/CREATE-TYPE-and-Java-Mapping-tp3347859p3347859.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.