public final class Search extends Object
Modifier and Type | Method and Description |
---|---|
static FullTextEntityManager |
getFullTextEntityManager(EntityManager em)
Build a full text capable EntityManager
The underlying EM implementation has to be Hibernate EntityManager
The created instance depends on the passed Session: closing either of them will
close both instances.
|
public static FullTextEntityManager getFullTextEntityManager(EntityManager em)
em
- the entityManager instance to useIllegalArgumentException
- if passed nullCopyright © 2017 JBoss by Red Hat. All rights reserved.