in my project,i want to tailor my custom sql exception translator ,but I find spring not support to assign the order that I want, I'm not sure it is my error?
Comment From: snicoll
I don't know how you're using it so I can't really say. ChainedPersistenceExceptionTranslator
is specifically designed for calling things in order. You need to call add
with your delegates in the order you wish them to be called (so calling add with the delegate that has higher priority).
If you were trying to suggest an improvement, I am afraid I didn't understood it. If you provide more details, we can reconsider.