/*
 * Copyright (c) 2009-2013 Topi Nieminen
 */
package fi.tnie.db.env.gae;

import fi.tnie.db.env.mysql.MySQLImplementation;

/**
 * @author Administrator
 *
 */
public class AppEngineImplementation
	extends MySQLImplementation {
    
    @Override
    public String defaultDriverClassName() {
        return "com.google.appengine.api.rdbms.AppEngineDriver";
    }
    
    @Override
	public String createJdbcUrl(String database) {
    	return createJdbcUrl(null, database);
    }

    /**
     * instanceName
     */
	@Override
	public String createJdbcUrl(String instanceName, String database) {
		if (instanceName == null) {
			throw new NullPointerException("instanceName");
		}
				
		return "jdbc:google:rdbms://" + instanceName + "/" + database;
	}

	/**
	 * Equivalent to <code>createJdbcUrl(host, database)</code>
	 * 
	 * <code>port</code> is ignored.
	 */
	@Override
	public String createJdbcUrl(String instanceName, int port, String database) {
		return createJdbcUrl(instanceName, database);
	}	
}

@@ -225,32 +225,117 @@
 tion %7B%0A    %0A    
+/**%0A%09 * %0A%09 */%0A%09private static final long serialVersionUID = -2714061809484656075L;%0A%0A%09
 @Override%0A    pu

add serialVersionUID