is it possible to update the
classnames in the database for existing connections depending
on renamed classes?
It would be nice to spare the effort of recreating all the
I looked into the code of
the SynchronizeConnectors command and explored the API:
IRepositoryConnection connections =
I tried it and so far it seems to work.
Do you see any pitfalls with that solution?
The name of the connector class is a key for the
connection names that depended on that class. To rename
a connection class, therefore, you need to do the
(1) BEFORE renaming the class, delete all jobs and
connections that refer to that connector.
(2) UNREGISTER the connector class (there's a
command-line utility for that)
(3) BUILD your new class
(4) REBUILD everything you deleted