myfear/Bundle-Provider-Tricks — pull request #1 by giates (2013-08-04 16:45:36+00:00)
Title: Database based validation messages

Hi Markus,

I've made some updates of your test project:

1) Changed database locale field from Locale to String (the database structures created with Locale field in eclipselink has some gotchas (BLOB cannot be searched in Derby and MySQL) so I've converted the field from Locale to String), added validation messages into Preloader and added ITALIAN locale when choosing locale, added input on main form to test validation messages from db.

2) Modified DatabaseResourceBundle (adding new condstructor accepting locale)

3) Created giates.validation.DatabaseResourceBundle and META-INF/validation.xml to handle validation messages from database

If you find it useful you can merge all or some of the updates...

Keep up the good work !