try
{
// //i18n[MappingRoot.driverClassName=JDBC Driver class name (Hibernate)]
// _properties.put(s_stringMgr.getString("MappingRoot.driverClassName"), con.getDriverClassName());
HibernateSqlConnectionData data = con.getHibernateSqlConnectionData();
//i18n[MappingRoot.url=JDBC Url (Hibernate)]
_properties.put(s_stringMgr.getString("MappingRoot.url"), data.getURL());
//i18n[MappingRoot.user=JDBC User (Hibernate)]
_properties.put(s_stringMgr.getString("MappingRoot.user"), data.getUserName());
//i18n[MappingRoot.driverName=JDBC driver name (Hibernate)]
_properties.put(s_stringMgr.getString("MappingRoot.driverName"), data.getDriverName());
//i18n[MappingRoot.driverVersion=JDBC driver version (Hibernate)]
_properties.put(s_stringMgr.getString("MappingRoot.driverVersion"), data.getDriverVersion());
}
catch (Exception e)
{
//i18n[MappingRoot.connectionErr=Error getting SQL connection data from Hibernate:]
s_log.error(s_stringMgr.getString("MappingRoot.connectionErr"), e);