I want to access the org.hibernate.cfg.Configuration Object after all the configuration is done at some point in my application. This is just for read only purposes. Or even if i can retrieve the list of PersistentClass, then it will be very useful. Is there a way to do it? Please help
A bit of background on what I am doing: I have a typical application with some entities / session bean and client application. I am implementing entity versioning as a cross cutting behaviour. This means I need to know the current entity configuration to constuct the versioning entities configuration when I turn on versioning. Hope this helps!