Here is a unit test that embeds a copy of Hibernate 3.6.x with the application (you can try this with the EAP 6.x or WildFly 8 nightly build download). With Hibernate 3.3, I think that you need some Hibernate patches (available via an EAP support contract) that backport the VFS class scanning support (so that the entity classes can be discovered). A workaround for not having the Hibernate patches, would be to list each entity class name in the persistence.xml.