Eric,
we checked this ourself. The hibernate works well with @Table(name = "F", catalog= "sample2") and one of the folowwing:
1) jdbc:mysql://localhost:3306/?nullCatalogMeansCurrent=false
2) jdbc:mysql://localhost:3306/sample2
3) jdbc:mysql://localhost:3306/ hibernate.default_catalog=sample2
sample2
@Table(name = "F", schema= "sample2") works in the cases:
1) jdbc:mysql://localhost:3306/?nullCatalogMeansCurrent=false
2) jdbc:mysql://localhost:3306/sample2
3) jdbc:mysql://localhost:3306/ hibernate.default_schema=sample2
The jpa validator is not consistent in some cases