I am struggling with the JPA validation and a customized Hibernate NamingStrategy. Everything with our NamingStrategy works fine (Hibernate Console, JPA View etc.), but we are getting a lot of JPA validation errors (unknown column, unknow table) everywhere the NamingStrategy differs from the Hibernate default naming strategy. It seems that Hibernate ignores the following line in the META-INF/persistence.xml during the JPA validation:
<property name="hibernate.ejb.naming_strategy" value="com.xxxx.core.entity.SpaceServerNamingStrategy"/>
Axel, Dali don't provide out-of-the-box support for changing the naming strategy - they simply just use the per-spec validation.
Please report in jira with example of what fails/works and we can see if we can add support for custom validaiton.