I've gotten something working where I created a bean and used the spring configuration to inject the values into the bean.
I can also then indicate that the new bean must be loaded before my custom model is bootstrapped and the custom constraint can then retrieve the database parameters from there. Works, but does anyone know if these parameters (db.username, db.password. db.url, db.driver) are simply accessible here already? That would seem a bit cleaner to me…
Thanks
Ryan