Visar inlägg med etikett JPA. Visa alla inlägg
Visar inlägg med etikett JPA. Visa alla inlägg

fredag 20 juli 2012

Postgis in Play Framework

Possible solution for geometry column in play framework JPA

https://groups.google.com/forum/?fromgroups#!topic/play-framework/f-vp8JgJda0

 [...]
import com.vividsolutions.jts.geom.
Point;
[...]
@Column(name = "the_geom", columnDefinition = "GEOMETRY")
@Type(type = "org.hibernatespatial.GeometryUserType")
public Point theGeom;
[...]