|
Karel, I had a general question wrt integration. As I understand it, you basically rely on the user setting a Sptial-specific Dialect in the config. I wonder if instead it would be better to hook into the org.hibernate.engine.jdbc.dialect.spi.DialectResolver#resolveDialect stuff. WDYT?
Basically what I do for Envers and suggested for OGM comes into play here. I think the central piece ought to be a central SpatialService that allows enable/disable and that your other "real" services can use. We can discuss this on IRC if you want. It makes for nicer encapsulation, imo.
|