Use the eclipse hibernate tool with hibernate spatial library -
there 1 able configure hql tool of eclipse hibernate tool? have try configure using jpa. configuration generate entity (that observable in configuration) , connection database session factory return following not determine type for: org.hibernate.spatial.geometrytype, @ table:....
there way solve problem, maybe adding library or configuration?
i using postgis db , proprietis of configuration are:
<properties> <property name="hibernate.show_sql" value="true" /> <property name="hibernate.hbm2ddl.auto" value="off" /> <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.postgisdialect" /> </properties>
Comments
Post a Comment