| It isn't just as simple as merging the Spatial Dialects with their ORM counterparts afaict. The Spatial dialects not only register special dialect-specific functions and column-type mappings with Hibernate ORM proper, but they also contribute Spatial-specific user types and a custom SpatialDialect API that allows the Hibernate Spatial module to perform spacial queries. What you're asking would effectively involve collapsing the entire Spatial module into ORM proper which I'm not sure we're in a position to consider. I haven't used Spatial myself, but it would seem the right course of action would instead be adding the necessary dialect implementations to the Spatial module, no? |