org.hibernate.MappingException: No Dialect mapping for JDBC type: 2002
- by Moli
Hi at all,
I'm having a issue trying to get working a JPA nativeQuery.
I'm having a org.hibernate.MappingException: No Dialect mapping for JDBC type: 2002 when a try to do a nativeQuery and get a geometry field type.
I use oracle and org.hibernatespatial.oracle.OracleSpatial10gDialect.
The geom fields is mapped as:
@Column(name="geometry")
…