新建POJO,声明视图如下:
@View("view_p")
public class PlaceView_Point {
//字段忽略
}
执行查询后报错,如下:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'nutzwkjz.place_view__point' doesn't exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)