cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp AbstractEsqlConnection.java
Date Mon, 09 Jun 2003 10:55:48 GMT
tcurdt      2003/06/09 03:55:48

  Modified:    src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp
                        AbstractEsqlConnection.java
  Log:
  added recognition of "access" and "sap db"
  
  Revision  Changes    Path
  1.5       +5 -2      cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/AbstractEsqlConnection.java
  
  Index: AbstractEsqlConnection.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/AbstractEsqlConnection.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractEsqlConnection.java	15 May 2003 16:18:32 -0000	1.4
  +++ AbstractEsqlConnection.java	9 Jun 2003 10:55:47 -0000	1.5
  @@ -171,7 +171,8 @@
               else if (database.indexOf("mysql") > -1) {
                   query = new MysqlEsqlQuery(connection,queryString);
               }
  -            else if (database.indexOf("adaptive server anywhere") > -1 || database.indexOf("microsoft
sql server") > -1) {
  +            else if (database.indexOf("adaptive server anywhere") > -1 ||
  +                     database.indexOf("microsoft sql server") > -1) {
                   query = new SybaseEsqlQuery(connection,queryString);
               }
               else if (database.indexOf("oracle") > -1) {
  @@ -182,6 +183,8 @@
               }
               else if (database.indexOf("hsql") > -1 ||
                        database.indexOf("interbase") > -1 ||
  +                     database.indexOf("access") > -1 ||
  +                     database.indexOf("sap db") > -1 ||
                        database.indexOf("sybase sql server") > -1) {
                   query = new JdbcEsqlQuery(getConnection(),queryString);
               }
  
  
  

Mime
View raw message