List Hibernate configuration parametrs
Is there a way to programatically get Hibernate configuration parameter values, if I have access to a SessionFactory object?
I would like to list the configuratio开发者_如何学Pythonn in a GUI view, for debuging purposes.
If you cast your SessionFactory into the concrete SessionFactoryImpl implementation, then you'll have access to the properties coming from the Configuration through getProperties().
加载中,请稍侯......
精彩评论