The PersistenceUnitParsingDeployer has been moved into the jbossas/ejb3 module as
JBoss5PersistenceUnitParsingDeployer:
| package org.jboss.ejb3.deployers;
|
| import org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer;
| import org.jboss.metadata.jpa.spec.PersistenceMetaData;
|
| /**
| * Find and parse persistence.xml.
| *
| * In a jar:
| * META-INF/persistence.xml
| *
| * In a war (JPA 6.2):
| * WEB-INF/classes/META-INF/persistence.xml
| *
| * @author <a href="mailto:carlo.dewolf@jboss.com">Carlo de
Wolf</a>
| * @author <a href="mailto:ales.justin@jboss.com">Ales
Justin</a>
| * @version $Revision: 72433 $
| */
| public class JBoss5PersistenceUnitParsingDeployer extends
SchemaResolverDeployer<PersistenceMetaData>
| {
| public JBoss5PersistenceUnitParsingDeployer()
| {
| super(PersistenceMetaData.class);
| setName("persistence.xml");
| setRegisterWithJBossXB(true);
| }
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156150#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...