Fortunately dasharrays are possible to tweak from the database now. But investigating a little deeper the implementation goes only half way (IMHO):
At the moment each number of the dasharray may be read from the database separately:
This snippet is copied from a test of geotools. This may have some usecases. But I do not now how many numbers my dasharray has. Therefore this is not a replacement of my older patch using custom-properties to achieve this.
Nevertheless the way the implementation goes within geotools is more "GeoTools style", I like it more.
Are there plans to additionally achieve something like