PersistentSession & Hibernate session

Hi,
is there a trivial way to translate a Persistent session to an Hibernate one?
The question is: can I use hibernate search?
thx
Maurizio

Hello maurizio316,

We are sorry that currently there is no way to translate Persistent session to Hibernate session. But I think you can get the hibernate session in the following way for using hibernate search. Hope this can help.

Session hibernateSession = PersistentSession.getSession(EntityMode.POJO);

Best regards,
Rain