Package com.zfabrik.hibernate.util
Class DummyInitialContextFactory
java.lang.Object
com.zfabrik.hibernate.util.DummyInitialContextFactory
- All Implemented Interfaces:
InitialContextFactory
A simple, hardly meaningful naming context to make Hibernate JNDI lookup happy
(Hibernate 4.3.x does a name parser retrieval before looking up URLs and so
requires some Initial Context Factory).
See
EntityManagerUtil.createEntityManagerFactory(String)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DummyInitialContextFactory
public DummyInitialContextFactory()
-
-
Method Details
-
getInitialContext
- Specified by:
getInitialContext
in interfaceInitialContextFactory
- Throws:
NamingException
-