[postgis-users] Re: Spring/Hibernate/JDBC with PostgreSQL/PostGIS types?

Stefan Keller sfkeller at gmail.com
Thu Oct 9 06:37:27 PDT 2008


We had a 'breakthrough'... Here's the blog:
http://mollusca.ch/blog/index.php/2008/10/06/grails-spatial-data-postgis

Stefan

2008/10/2 Stefan Keller <sfkeller at gmail.com>:
> It's hard to believe that we are the first and the only ones (as of now)
> to combine Grails/Groovy/Spring/Hibernate and PostGIS - but so it seems to be!
> We've now found a solution and will blog about this soon.
>
> Yours, Stefan
>
> 2008/9/24 Stefan Keller <sfkeller at gmail.com>:
>> I'm stuck in using Grails/Groovy/Spring/Hibernate to access PostgreSQL/PostGIS.
>>
>> I'd like to simply sketch a class like this:
>>
>> class POI {
>>    String name
>>    Geometry java_geom  // from com.vividsolutions.jts.geom.Geometry? (POINT)
>>    // ...
>> }
>>
>> ... and then map java_geom to 'the_geom' of type geometry/POINT (in PostgreSQL).
>>
>> I found mainly this: In the FOSS4G '07 symposium
>> http://www.foss4g2007.org/presentations/view.php?abstract_id=118 (did
>> reverse mapping instead of forward). In
>> http://www.pascalalma.net/2007/03/04/entering-the-world-of-gis/ (old?)
>> and of course HibernateSpatial (doesn't fit to Grails/Groovy/Spring?).
>>
>> Does anyone have experience with Spring/Hibernate+PostGIS or
>> Grails/Groovy/Spring/Hibernate+PostGIS ?
>>
>> -- Stefan
>>
>



More information about the postgis-users mailing list