alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (LogStrings.properties)

This example Glassfish source code file (LogStrings.properties) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

cddl, exception, file, gpl, gpl, id, java2dbprocessorhelper, license, license, please, the, the, version, version

The Glassfish LogStrings.properties source code

#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common Development
# and Distribution License("CDDL") (collectively, the "License").  You
# may not use this file except in compliance with the License.  You can
# obtain a copy of the License at
# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
# or packager/legal/LICENSE.txt.  See the License for the specific
# language governing permissions and limitations under the License.
#
# When distributing the software, include this License Header Notice in each
# file and include the License file at packager/legal/LICENSE.txt.
#
# GPL Classpath Exception:
# Oracle designates this particular file as subject to the "Classpath"
# exception as provided by Oracle in the GPL Version 2 section of the License
# file that accompanied this code.
#
# Modifications:
# If applicable, add the following below the License Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# "Portions Copyright [year] [name of copyright owner]"
#
# Contributor(s):
# If you wish your version of this file to be governed by only the CDDL or
# only the GPL Version 2, indicate your decision by adding "[Contributor]
# elects to include this software in this distribution under the [CDDL or GPL
# Version 2] license."  If you don't indicate a single choice of license, a
# recipient has the option to distribute your version of this file under
# either the CDDL, the GPL Version 2 or to extend the choice of license to
# its licensees as provided above.  However, if you add GPL Version 2 code
# and therefore, elected the GPL Version 2 license, then the option applies
# only if the new code is made subject to such option by the copyright
# holder.
#

# Log messages used in persistence-common module
#
# The message ID for a message in persistence is derived as follows:
# PER<2_digit_bundle_prefix><1_digit_section_number><2_digit_serial_number>
#
# The 2 digit prefix for this bundle is 01.
#
# This file is divided into the following sections:
# Under each section, messages that need not be I18Ned are separated under NOI18N. All other messages
# need to be numbered.
# 1. Java2DBProcessorHelper:  The java2db processor helper
# 2. database: For files under package database
#
# When adding a new message:
# 1. Please make sure that you add the message to the end.
# 2. Please add message ID to any user visible message.
# 3. The message ID for the new message = message ID for the last numbered
#    message in a section + 1.
# 4. Please do not change the message ID for existing messages. These
#    numbers are potentially mapped to more explanation about the message for
#    the end user.
#

####################################################################################################
# <Java2DBProcessorHelper>
# Message ID Range: PER01000 - PER01099
####################################################################################################

# {0} SQL statement.
# {1} Exception text.
Java2DBProcessorHelper.sqlexception=PER01000: Got SQLException executing statement "{0}": {1}

# {0} JNDI name of database
# {1} Exception text.
Java2DBProcessorHelper.cannotConnect=PER01001: Cannot connect to database via JNDI name ''{0}'': {1}.

Java2DBProcessorHelper.ioexception=PER01002: Deployment of ''{0}'' encountered unexpected IOException: {1}
Java2DBProcessorHelper.tablewarning=PER01003: Deployment encountered SQL Exceptions:
Java2DBProcessorHelper.executestatement=PER01004: Executing SQL Statement "{0}".

# {0} Application name.
# {1} File name.
Java2DBProcessorHelper.cannotcreatetables=Cannot create tables for application {0}. The expected DDL file {1} is not available.

# {0} Application name.
# {1} File name.
Java2DBProcessorHelper.cannotdroptables=Cannot drop tables for application {0}. The expected DDL file {1} is not available.

JPAJava2DBProcessor.nondefaultprovider=The java2db feature is not supported for the the persistence provider ''{0}'' that you specified. Hence the tables associated to the entities of the PU named ''{1}'' would not be created and/or dropped from the database.

Java2DBProcessorHelper.generatedlocation=Exception caught in accessing generated location for {0}.

# <NOI18N: Java2DBProcessorHelper>
Java2DBProcessorHelper.createfilename=Processing event to create tables. File name: {0}.
Java2DBProcessorHelper.dropfilename=Processing event to drop tables. File name: {0}.

###############################################################################
# <database>
# Message ID Range: PER01100 - PER01199
###############################################################################
database.DBVendorTypeHelper.couldNotLoadResource=Error while initializing name to vendortype mapping. Could not load resource {0}. Exception: {1}.
database.DBVendorTypeHelper.patternSyntaxException=Exception while using regExpr : {0}.
database.DBVendorTypeHelper.errorParsingVendorNameToTypeProperty=Error parsing property {0} with value {1}. Please note that correct syntax is "-D{0}=DataBaseVendorType=RegularExpression".
database.PropertyHelper.failedToLoadResource=JDO81001: Failed to load resource. Exception {0}.

# <NOI18N: database>
database.DBVendorTypeHelper.inputVendorName=Input Vendor Name : {0}.
database.DBVendorTypeHelper.detectedVendorType=Detected vendor type {0}.
database.DBVendorTypeHelper.regExprDbType=VendorType: {1}, RegularExpression: {0}.
database.DBVendorTypeHelper.traceVendorNameToTypeProperty=System property {0} defined as VendorType: {2}, RegularExpression: {1}.
database.PropertyHelper.load=JDO81000: resourceName: {0} , loadFromFile: {1}.

Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish LogStrings.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.