I suppose you can solve this problem by separating your persistent class into abstract definition and persistent "storage only" class.
It could look like this:
Class test.Abstract.Order [ Abstract ]
and persistent class:
Class test.Order Extends (test.Abstract.Order, %Persistent)
/*Generated Storage */
And only map test.Abstract package. This way you'll need to:
- Copy test.Order class manually (but only once, as it does not change).
- Recompile test.Order class in each namespace if Abstract realization changes.
But in this setup persistent class could be tuned, etc.. Also you can automate deployment steps with CI/CD tools.