Hibernate Spatial is an extension to the Hibernate Java ORM library for handling geographic data. 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. Currently, Oracle 10g/11g, Postgresql/Postgis, MySQL, and MS SQL Server 2008 are supported.
Athena Framework for Java is a full fledged enterprise object-relational mapping (ORM) framework that employs metadata as mapping configuration. It greatly simplifies Java Web application development by removing the requirement of manual mapping and manual database schema updating. In addition to features like Java object persistence, powerful EJBQL querying execution, and comprehensive code generation, Athena has built-in support for multi-tenancy, which enables developers to build cloud applications easily. Athena can be easily integrated with other libraries like Struts or Spring to provide full stacks of service.