Start by creating a class 

@Name("org.jboss.seam.persistence.persistenceProvider")
  | @Scope(ScopeType.STATELESS)
  | @BypassInterceptors
  | @Install(classDependencies="something.TopLink.Specific", 
genericDependencies=ManagedPersistenceContext.class)
  | public class TopLinkPersistenceProvider extends PersistenceProvider {
  | 
  | }

This will then take precedence over HibernatePeristenceProvider (as discussed 
elsewhere it is still on your cp due to using an old Hibernate Annotations for 
validator support), and will just use the basic EJB3 PeristenceProvider.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059952#4059952

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059952
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to