In Wildfly 10, hibernate version is upgraded to 5.x. So, default persistence provider is hibernate 5.x.
However, wildfly 10 doesn't completely drop support for hibernate 4. There are two ways where you can make it work.
1) Per deployment packaging
- Pack all the hibernate 4.x jar files in your deployment archive and set "jboss.as.jpa.providerModule" property to "application" in your persistence.xml
Refer: https://docs.jboss.org/author/display/WFLY10/JPA+Reference+Guide#JPAReferenceGuide-PackagingtheHibernateJPApersistenceproviderwithyourapplication
2) Wildfly global module (works across all deployment)
- Adding hibernate 4.3 jar files to the wildfly hibernate module and "jboss.as.jpa.providerModule" property to "4.x" (specific version as per hibernate's module.xml) in your persistence.xml
Refer: https://docs.jboss.org/author/display/WFLY9/JPA+Reference+Guide#JPAReferenceGuide-SharingtheHibernate3.5orgreaterJPApersistenceproviderbetweenmultipleapplications
FYI, hibernate 3.x support is completely removed in wildfly 10.