i know this has been asked before, and i guess it his a classloading issue, but i understand that isolated classloading is a default behaviour in jboss 6.1
my problem is that i'm trying to use a resource_local mode WITHOUT the use of spring and without the use of jndi data source.
i just want to create an emf.createEntityManagerFactory with hibernate's properties configured in the properties section of persistence.xml. however, doesn't matter what i do , jboss always picks up PUnit and screams foul.
i also wanted to use my own hibernate, as we are using jboss for development and websphere for production. thus there's no built-in hibernate in websphere.