Hi,
I am using postGIS DriverWrapper in ofbiz entityengine datasource to connect to postgres DB. But, when adding postGIS datatypes (e.g., geometry) in
fieldtypepostnew.xml, I observe the following errors:
...
...
2016-12-21 10:18:13,077 |main |GenericDelegator |I| Doing entity definition check...
2016-12-21 10:18:13,081 |main |ModelEntityChecker |I| [initReservedWords] array length=1025
2016-12-21 10:18:13,153 |main |UtilXml |E| XmlFileLoader: File entityengine.xml process error. Line: 94. Error message: cvc-enumeration-valid: Value 'org.postgis.Geometry' is not facet-valid with respect to enumeration '[byte[], Boolean, Double, Float, Integer, Long, Object, Short, String, java.math.BigDecimal, java.sql.Blob, java.sql.Clob, java.sql.Date, java.sql.Time, java.sql.Timestamp]'. It must be a value from the enumeration.
2016-12-21 10:18:13,163 |main |UtilXml |E| XmlFileLoader: File entityengine.xml process error. Line: 94. Error message: cvc-attribute.3: The value 'org.postgis.Geometry' of attribute 'java-type' on element 'field-type-def' is not valid with respect to its type, '#AnonType_java-typeattlist.field-type-def'.
...
...
I would really appreciate if anybody can suggest the pointers around it?
Regards,
Deepak