Skip to main content
summaryrefslogblamecommitdiffstats
blob: b024ee91ad30a65fc73ad181e438821e10809afe (plain) (tree)
1
2
3
4
5
6
7
8
9
   
                                                                       






                                                                        
   



















                                                    
                                                                                                                    

   
/**
 * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *    Eike Stepper - initial API and implementation
 */
package org.eclipse.net4j.db.hsqldb;

import org.hsqldb.jdbc.jdbcDataSource;

import java.text.MessageFormat;

/**
 * @author Eike Stepper
 */
public class HSQLDBDataSource extends jdbcDataSource
{
  private static final long serialVersionUID = 1L;

  public HSQLDBDataSource()
  {
  }

  @Override
  public String toString()
  {
    return MessageFormat.format("HSQLDBDataSource[database={0}, user={1}]", getDatabase(), getUser()); //$NON-NLS-1$
  }
}

Back to the top