<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>&nbsp; &nbsp; @Type(type="mycode.ejb.par.GeometryType") <BR>&nbsp; &nbsp; @Column(name="LOCATION",columnDefinition="geometry") <BR>&nbsp; &nbsp; public org.postgis.Geometry getPoint() { <BR>&nbsp; &nbsp; &nbsp; &nbsp; return _point; <BR>&nbsp; &nbsp; } <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>&#32;
                <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.