This content has been marked as final.
Show 3 replies
-
1. Re: convertEntity with GF+Toplink
gavin.king Jun 6, 2007 1:33 PM (in response to trouby)You need to write a org.jboss.seam.persistence.PersistenceProvider for TopLink. If you do, please contribute it back to the Seam project.
-
2. Re: convertEntity with GF+Toplink
trouby Jun 6, 2007 1:35 PM (in response to trouby)I'll work on it later on,
But of course I will :-)
Cheers. -
3. Re: convertEntity with GF+Toplink
pmuir Jul 3, 2007 9:14 AM (in response to trouby)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.