To be honest, I am not sure what you are asking. Persisters are not meant for application use.
On Tue, May 20, 2014 at 4:33 PM, Gail Badner <[email protected]> wrote: > Because AbstractEntityPersister implements Queryable (but EntityPersister > does not), core does something like this to get access to Queryable > interface methods: > > final Queryable queryable = (Queryable) > sessionFactory.getEntityPersister( entityName ); > > Is this an acceptable way for an application to get access to an entity > persister's Queryable interface or is there some explicit SPI that should > be used? > > Thanks, > Gail > _______________________________________________ > hibernate-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/hibernate-dev > _______________________________________________ hibernate-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/hibernate-dev
