private static String createId(DataSource datasource) {
   if (datasource instanceof DataSourcePro) return ((DataSourceSupport) datasource).id();
   return datasource.getClazz().getName()
       + ":"
       + datasource.getDsnTranslated()
       + ":"
       + datasource.getClazz().getName();
 }
 private DatasourceConnectionImpl loadDatasourceConnection(DataSource ds, String user, String pass)
     throws DatabaseException {
   Connection conn = null;
   String connStr = ds.getDsnTranslated();
   try {
     conn = DBUtil.getConnection(connStr, user, pass);
     conn.setAutoCommit(true);
   } catch (SQLException e) {
     throw new DatabaseException(e, null);
   }
   // print.err("create connection");
   return new DatasourceConnectionImpl(conn, ds, user, pass);
 }