DOM4J « Entity « JPA Q&A





1. No tuplizer found for entity-mode [dom4j]    forum.hibernate.org

The title says it really. I have the following code: Code: Session s = EJBUtil.getEntityMgr().getHibernateSession(com.fcl.greenfield.entity.Player.class).getSession(EntityMode.DOM4J); Query sq = s.createQuery("from Player"); List l = sq.list(); And it's throwing the error on the list() line (76): Code: org.hibernate.HibernateException: No tuplizer found for entity-mode [dom4j] at org.hibernate.tuple.TuplizerLookup.getTuplizer(TuplizerLookup.java:221) ...