META-INF.services.batch-config.properties Maven / Gradle / Ivy
The newest version!
#
# Copyright 2013,20124 International Business Machines Corp.
#
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership. 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.
#
##
# This file is intended for finer-grained configuration of the batch runtime,
# e.g. JDBC driver and JDBC URL, not something more fundamental like is this
# configured for an SE or EE environment.
##
## In EE mode, location of batch DataSource could be configured with:
#
# JNDI_NAME=jdbc/batch
#
# This "out-of-the box" config, is useful in SE, (but not EE, where a datasource is used).
# This is exactly the opposite of the case with batch-services.properties. The reason
# is that in Glassfish we have a separate database config for batch, so we don't need this
# to hold any defaults.
# Derby Embedded
JDBC_DRIVER=org.apache.derby.jdbc.EmbeddedDriver
JDBC_URL=jdbc:derby:RUNTIMEDB;create=true
# Derby Network Server
#
# JDBC_URL=jdbc:derby://localhost:1621/tckdb;create=true
# JDBC_DRIVER=org.apache.derby.jdbc.ClientDriver