Issue Type: Improvement Improvement
Affects Versions: 3.3.2
Assignee: Unassigned
Components: core
Created: 15/Apr/13 1:37 AM
Description:

At the moment, if you activate "hibernate.hbm2ddl.auto=validate", then hbm2ddl will fail since it won't look for synonyms.

The related code seems to be in DatabaseMetadata :

  private static final String[] TYPES = {"TABLE", "VIEW"};

might be replaced with something like

  private static final String[] TYPES = {"TABLE", "VIEW", "SYNONYM"};

I'm gonna have a look at the code to see if I can provide a patch.
I also found some seemingly related JIRAs, but I filed this one since I didn't find something specific to synonyms (I'll also have to get my hands dirty with Gradle, fingers crossed ).

Thanks

Environment: JBoss EAP 5.1.1
Project: Hibernate ORM
Labels: validation
Priority: Major Major
Reporter: Baptiste MATHUS
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira