[postgis-users] Experiment: Glassfish/EJB3 and PostGIS

Gustavo Ces g.ces at pettra.es
Fri May 11 00:02:06 PDT 2007


Hi Bastian,

    in geometry column ( region) you´re trying to insert a null value and 
program interprets that as a string one. In that type of columns you only 
can insert geometry types. Why it inserts null values as default is not a 
postgres sql problem, perhaps a interface one ( i´m not sure). Maybe if geom 
coumn is a not null one it doesn´t try to insert a null value, but i don´t 
know. But it´s a curious question. How do you insert a null into geometry 
type column?

Gus





More information about the postgis-users mailing list