Hi,

I have written entity beans that map on to the columns of a spatial database 
(postgis) so I have a property

        @Column(name="extents")
        public String getExtents()
        {
                return extents; 
        }

where extents is actually of type Geometry but I want JBoss to call the 
database astext() function wrapper when retrieving this column, and when it 
updates the entity to call the database createfromwkt() function.

Is this possible with EJB3?  Ideally I would also likes these functions to be 
available when using EJB-QL?

Many thanks,

Norman

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963618#3963618

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963618
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to