Hibernate Spatial is a generic extension to Hibernate for handling geographic data. Hibernate Spatial is open source and licensed, like Hibernate, under the LGPL license.
Hibernate Spatial allows you to deal with geographic data in a standardized way. It abstracts away from the specific way your database supports geographic data, and provides a standardized, cross-database interface to geographic data storage and query functions.
Hibernate Spatial supports most of the functions of the OGC Simple Feature Specification. Supported databases are: Oracle 10g/11g, Postgresql/Postgis, and MySQL.
J. McGee, J. Caverlee, and Z. Cheng. Proceedings of the 20th ACM international conference on Information and knowledge management, page 2333--2336. New York, NY, USA, ACM, (2011)
H. Haddad, and B. Moulin. Proceedings of the 15th International Conference on Conceptual Structures (ICCS 2007), volume 4604 of Lecture Notes in Artificial Intelligence, page 69-82. Berlin, Heidelberg, Springer-Verlag, (July 2007)