Hi keliveli,
I'm not really sure but I think you can at most get some configuration details from the SessionFactory that created the Session instance but not on the Session itself. A Session is a lightweight thingy and is created by the SessionFactory according to the factory's configuration, i.e., all Sessions created by a given SessionFactory instance share the same configuration that is due to their creator.
You might get some useful information on the org.hibernate.SessionFactory.getStatistics() method but you need to activate the collection of statistical data in your configuration, i.e. when setting up the factory.
CU Froestel
_________________ Have you tried turning it off and on again? [Roy]
|