If you are seeing the following error "No Persistence provider for EntityManager named" and scratching your brains, ensure that the hibernate-entitymanager.jar is on the classpath.
Also you should have a META-INF/persistence.xml in your jars someplace.
Also you should have a META-INF/persistence.xml in your jars someplace.