
net.osgiliath.module.derby.constants.ClientConnectionConstant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of net.osgiliath.module.derby Show documentation
Show all versions of net.osgiliath.module.derby Show documentation
A datasource factory that is necessary for Pax-JDBC
package net.osgiliath.module.derby.constants;
/*
* #%L
* Wrapper for apache derby database
* %%
* Copyright (C) 2013 - 2014 Osgiliath
* %%
* Licensed 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.
* #L%
*/
/**
* Database description constants.
*
* @author charliemordant
*
*/
public final class ClientConnectionConstant {
/**
* Private ctor.
*/
private ClientConnectionConstant() {
// Do nothing
}
/**
* autostarting derby server.
*/
public static final String AUTO_START_SERVER = "serverAutoStart";
/**
* creating default database.
*/
public static final String CREATE_DATABASE = "createDatabase";
/**
* Log file.
*/
public static final Object LOG_FILE_PROPERTY = "derbyServerLog";
/**
* pax-jdbc config header.
*/
public static final String PAX_JDBC_DS_ID = "osgiliathderbystandalone";
/**
* Derby server port.
*/
public static final int DEFAULT_PORT = 1527;
/**
* Derby server host.
*/
public static final String DEFAULT_HOST = "localhost";
/**
* Default log file.
*/
public static final String LOG_FILE = "derbyServer.log";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy