title: hibernate Spatial with oracle not work correct?
body: <p>I'm working on GIS project.</p>
  
  <p>In that I want produce a web GIS by JSF + Hibernate.</p>
  
  <p>My Spatial data is in Oracle-Spatial 12c, for some Spatial Analysis I must be connect to Oracle DB and insert update a spatial Table.</p>
  
  <p>I see this link Hibernate-Spatial </p>
  
  <p>I first try to do this with Maven project in Net Beans 8.02 but not that work correct!!</p>
  
  <p>And finally I have done these Step:</p>
  
  <ol>
  <li><p>creates a web Application with net Beans 8.02 with hibernate 4.3 and JSF</p></li>
  <li><p>Do the Step of this for the Hibernate</p>
  
  <p><a href="https://netbeans.org/kb/docs/web/hibernate-webapp.html" rel="nofollow">https://netbeans.org/kb/docs/web/hibernate-webapp.html</a></p></li>
  <li><p>Download jar files of Geo-tools from this link and add to my Project</p>
  
  <p><a href="http://sourceforge.net/projects/geotools/files/" rel="nofollow">http://sourceforge.net/projects/geotools/files/</a></p></li>
  <li><p>Download the Jar file of the hibernate-spatial 4.3 from this link and ojdbc7</p>
  
  <p><a href="http://www.hibernatespatial.org/documentation/01-download/01-releases/" rel="nofollow">http://www.hibernatespatial.org/documentation/01-download/01-releases/</a></p></li>
  <li><p>Add two Spatial Table to My project(LINE  POINT)</p></li>
  <li><p>a setting up this Steps in my project and my Line and point Class and .hbm.xml</p>
  
  <p><a href="http://www.hibernatespatial.org/documentation/03-dialects/05-oracle/" rel="nofollow">http://www.hibernatespatial.org/documentation/03-dialects/05-oracle/</a></p>
  
  <p><a href="http://www.hibernatespatial.org/documentation/documentation/" rel="nofollow">http://www.hibernatespatial.org/documentation/documentation/</a></p></li>
  <li><p>When I Build my project in net Beans and try get a Query this From Line this Error show</p>
  
  <blockquote>
    <p>java.lang.UnsupportedOperationException
    at org.hibernate.spatial.GeometrySqlTypeDescriptor.getExtractor(GeometrySqlTypeDescriptor.java:57)
    at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:263)
    at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:259)
    at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:249)
    at org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:334)
    at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2969)
    at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1695)
    at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1627)
    at org.hibernate.loader.Loader.getRow(Loader.java:1514)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:725)
    at org.hibernate.loader.Loader.processResultSet(Loader.java:952)
    at org.hibernate.loader.Loader.doQuery(Loader.java:920)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:354)
    at org.hibernate.loader.Loader.doList(Loader.java:2551)
    at org.hibernate.loader.Loader.doList(Loader.java:2537)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2367)
    at org.hibernate.loader.Loader.list(Loader.java:2362)
    at      org.hibernate.hql.internal.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:939)
    at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:229)
    at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1260)
    at org.hibernate.internal.QueryImpl.list(QueryImpl.java:103)</p>
  </blockquote></li>
  </ol>
  
  <p>Please help me how solve the problem Or
  is a best Solution than hibernate-spatial?</p>