开发者

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().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜