Details
Description
As part of UDIG-1558 we have transitioned to using jdbc-ng datastores across the board. One of the difficulties in doing the transition is the reliance of default values for DBTYPE and PORT.
The jdbc-ng implementation correctly returns a copy of DBTYPE from the getParameterInfo method; but client code (and documentation) has been written to access the static final parameter associated with the factory. So I would like to push these two down into the individual datastores; or provide a static final constant that can be referred to for the default value.
Issue Links
- is depended upon by
-
UDIG-1558
Upgrade to JDBC-NG DataStores
-
- PORT should be 3306
- MySQL does not have schemas in the same sense as PostGIS (this may be a uDig specific problem?)
This category of errors is mostly showing up in client code as a NPE - since the sample value for a parameter such as DBTYPE ends up being null.