[jboss-user] [JBoss Seam] - Re: convertEntity with GF+Toplink
pete.muir@jboss.org
do-not-reply at jboss.com
Tue Jul 3 09:15:00 EDT 2007
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
More information about the jboss-user
mailing list