<DIV>Hello, <BR>I implemented Norman's solution and got the same problem, with the column getting defined as 'oid' instead of 'geometry'. <BR>I finally found a fix that worked for me. It's actually very simple. All I do is set a 'columnDefinition' for the field in the EJB entity bean. Like this. <BR><BR>    @Type(type="mycode.ejb.par.GeometryType") <BR>    @Column(name="LOCATION",columnDefinition="geometry") <BR>    public org.postgis.Geometry getPoint() { <BR>        return _point; <BR>    } <BR><BR>I set the 'columnDefinition' to 'geometry', and it seems to work. The column gets created as type 'geometry'. <BR><BR>Hope this helps. <BR><BR>Norman, thanks for your solution! <BR><BR>Daniel <BR></DIV><p>
                <hr size=1>Do you Yahoo!?<br> 
Get on board. <a href="http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/mailbeta">You're invited</a> to try the new Yahoo! Mail.