I am trying to use FeatureWriter to create tables in various different PostGIS databases.
I am specifying the Database Connection (host, port, database) using attributes from the schema feature but I'm getting the following error:
FeatureWriter (WriterFactory): MULTI_WRITER: No dataset was specified for MULTI_WRITER_DATASET or FeatureWriter_0_DATASET or POSTGIS_DATASET
MULTI_WRITER: No dataset was specified for MULTI_WRITER_DATASET or FeatureWriter_0_DATASET or POSTGIS_DATASET
If I hardcode the database connection parameter the FeatureWriter works as expected, even with host and port still using attribute values. I have used the database attribute successfully on a FeatureReader in the same workspace so can't understand why it's not working here.
Any suggestions on why this might not be working or how I could get around the problem would be much appreciated.
Thanks
Tom