Thursday, February 07, 2013

Tip: Hibernate PersistenceException :

If you are seeing the following error "No Persistence provider for EntityManager named" and scratching your brains, ensure that the hibernate-entitymanager.jar is on the classpath.

Also you should have a META-INF/persistence.xml in your jars someplace.

Monday, February 04, 2013