Checks 'javax.persistence.schema-generation.database.action' before returning default ddlAuto in HibernateProperties.

Fixes gh-25054

Comment From: onobc

Thanks for that info @snicoll . I will make the adjustments sometime w/in the next 24 hrs.

Comment From: snicoll

Thanks @bono007. I've polished the PR in c2f452a. One thing to note is that the Hibernate property should take precedence over the JPA one (as noted by @wilkinsona in the original issue) and the proposal did the opposite. I've also reworked the tests to focus on the vendor properties as it felt more focused and the event doesn't exist on master anymore.