Here you can find the source of getDefaultDerbyConnection()
public static Connection getDefaultDerbyConnection() throws SQLException
//package com.java2s; /*//from www . ja v a 2s . c om * (C) Copyright IBM Corp. 2011 * * LICENSE: Eclipse Public License v1.0 * http://www.eclipse.org/legal/epl-v10.html */ import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class Main { public static Connection getDefaultDerbyConnection() throws SQLException { return DriverManager.getConnection("jdbc:default:connection"); //, getGaianNodeUser(), getGaianNodePassword()); // return DriverManager.getConnection("jdbc:derby://localhost:6414/gaiandb", getGaianNodeUser(), getGaianNodePassword()); } }