@Typed public class PersistenceHelper extends Object
TransactionalInterceptorStrategy
and
LegacyTransactionalInterceptorStrategy
Modifier and Type | Method and Description |
---|---|
static javax.persistence.EntityManager |
tryToFindEntityManagerReference(Object target)
Analyzes the given instance and returns the found reference to an injected
EntityManager
or null otherwise |
public static javax.persistence.EntityManager tryToFindEntityManagerReference(Object target)
EntityManager
or null otherwisetarget
- instance to analyzeCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.