This trait provides specific functionality for the Lift web framework
by using a Lift RequestVar to hold the underlying EM. This
allows you to use a singleton for EM access. You must mix in some
other class to provide the actual ScalaEMFactory functionality.
Example usage would be:
object Model extends LocalEMF("test") with RequestVarEM
Provides the request var that holds the underlying EntityManager
for each request.
Returns the current underlying EntityManager.
Returns the current underlying EntityManager. Generally
you shouldn't need to do this unless you're using some very
advanced or propietary functionality on the EM.
The underlying EM