I used hibernate-spatial1.0 and hibernate-spatial-oracle 1.0. With that everything worked fine. But after upgrading to hibernate-spatial 4.0 i am getting the error "Can't find Oracle JDBC Driver on classpath."
After reading the blogs and forums, i came to know that we have to configure the Connection provider in case of JEE container.
So How to set this property? "hibernate.spatial.connection_finder" for "OracleSpatial10gDialect"