I use hibernate on a Java project, where we generate our MySQL/MariaDb schema from an ORM XML mapping file. This works very well for us most of the time.
However, we