Joined: Mon Aug 27, 2007 11:11 pm Posts: 8 Location: Brisbane
|
Hibernate version: 3.2
The hibernate SessionFactory api doesn't provide the ability to specify the EntityMode for a StatelessSession (unless I'm missing something). Is there a way to specify the EntityMode for a StatelessSession or does it always default to EntityMode.POJO? I want to use a StatelessSession with EntityMode.MAP. Fortunately it seems this is possible if I don't have a POJO representation of an entity, but tracing through the code, it is always specifying EntityMode.POJO.
|
|