Hi, I've mapped Oracle's spatial type as per the nice advice here:
http://www.hibernate.org/402.html.
This seems to work great for Oracle Spatial, but I have a completely different persistence unit that I use for unit testing with HSQL-DB, which obviously is not going to support the special UserType.
I'm using JPA annotations, and the field in particular looks like this:
Code:
/** Maps to SDO_GEOM in oracle spatial database */
@org.hibernate.annotations.Type(type = "JGeometryType")
@Column(name = "GEOM", nullable = false, updatable = false)
private final JGeometry geom;
My question is: is there some way to *not map* this or map the type differently (as VARBINARY) for the HSQL-DB persistence unit?