/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.tomcat.jdbc.test;

import java.util.Properties;

import org.apache.tomcat.jdbc.pool.DataSourceFactory;
import org.apache.tomcat.jdbc.pool.PoolProperties;

/**
 * @author Filip Hanik
 * @version 1.0
 */
public class DefaultProperties extends PoolProperties {
    public DefaultProperties() {
        dbProperties = new Properties();

        //mysql
        //url = System.getProperty("url","jdbc:mysql://localhost:3306/mysql?autoReconnect=true");
        //driverClassName = System.getProperty("driverClassName","com.mysql.jdbc.Driver");

        //derby
        //url = System.getProperty("url","jdbc:derby:derbyDB;create=true");
        //driverClassName = System.getProperty("driverClassName","org.apache.derby.jdbc.EmbeddedDriver");

        url = System.getProperty("url","jdbc:h2:~/.h2/test;QUERY_TIMEOUT=0;DB_CLOSE_ON_EXIT=FALSE");
        driverClassName = System.getProperty("driverClassName","org.h2.Driver");
        System.setProperty("h2.serverCachedObjects", "10000");

        password = System.getProperty("password","password");
        username = System.getProperty("username","root");

        validationQuery = System.getProperty("validationQuery","SELECT 1");
        defaultAutoCommit = Boolean.TRUE;
        defaultReadOnly = Boolean.FALSE;
        defaultTransactionIsolation = DataSourceFactory.UNKNOWN_TRANSACTIONISOLATION;
        connectionProperties = null;
        defaultCatalog = null;
        initialSize = 10;
        maxActive = 100;
        maxIdle = initialSize;
        minIdle = initialSize;
        maxWait = 10000;

        testOnBorrow = true;
        testOnReturn = false;
        testWhileIdle = true;
        timeBetweenEvictionRunsMillis = 5000;
        numTestsPerEvictionRun = 0;
        minEvictableIdleTimeMillis = 1000;
        removeAbandoned = true;
        removeAbandonedTimeout = 5000;
        logAbandoned = true;
        validationInterval = 0; //always validate
        initSQL = null;
        testOnConnect = false;
        dbProperties.setProperty("user",username);
        dbProperties.setProperty("password",password);
    }
}

@@ -1073,16 +1073,70 @@
 rties %7B%0A
+    private static final long serialVersionUID = 1L;%0A%0A
     publ

Fix warning