Package net.sourceforge.squirrel_sql.plugins.hibernate.server

Examples of net.sourceforge.squirrel_sql.plugins.hibernate.server.HibernateSqlConnectionData


      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);
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.plugins.hibernate.server.HibernateSqlConnectionData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.