【发布时间】:2016-01-13 13:07:40
【问题描述】:
我正在尝试在this tutorial 之后创建一个基于地图的应用程序
我有一个 PostgreSQL/PostGIS 数据库,其中包含一个名为 outlet 的表,我通过 SQL 添加了一个名为 location_gps 的 POINT 列:
SELECT AddGeometryColumn('outlet','location_gps','4210','POINT',2); 。这会生成一个outlet 表,如下所示:
对数据库进行逆向工程以获得 Spring Roo 应用程序给了我一个 Outlet_Roo_DbManaged.aj 字段:
此字段为字符串类型。所以当我运行 gvNIX 命令finder geo all 时,我会收到消息
The entity specified, Outlet doesn't have geo fields. Use "field geo" command to add new geo fields on current entity.
我该如何解决这个问题?
亲切的问候, T
【问题讨论】:
标签: spring-roo gvnix