I am working on a web project, using
I have a column of type
geography in the table, it just store a
Now I need to insert / select the type via JDBC with Java object.
I have read postgis manual, but it provides little information.
My questions is:
- In java pojo model class, what Java type I should use for the column?
- How do I write the insert sql?
- How do I write the select sql to retrieve the value and put into Java object?
- If I am using
mybatis, does it effect answers to above questions?