All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.internal.CoreMessageLogger_$logger Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta1
Show newest version

package org.hibernate.internal;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.net.URL;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.util.Hashtable;
import java.util.Properties;
import java.util.Set;
import javax.annotation.Generated;
import javax.naming.NameNotFoundException;
import javax.naming.NamingException;
import javax.transaction.SystemException;
import org.hibernate.LockMode;
import org.hibernate.cache.CacheException;
import org.hibernate.dialect.Dialect;
import org.hibernate.engine.loading.internal.CollectionLoadContext;
import org.hibernate.engine.loading.internal.EntityLoadContext;
import org.hibernate.engine.spi.CollectionKey;
import org.hibernate.id.IntegralDataTypeHolder;
import org.hibernate.service.jdbc.dialect.internal.AbstractDialectResolver;
import org.hibernate.service.jndi.JndiNameException;
import org.hibernate.type.BasicType;
import org.hibernate.type.SerializationException;
import org.hibernate.type.Type;
import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;


/**
 * Warning this class consists of generated code.
 * 
 */
@Generated(value = "org.jboss.logging.processor.model.MessageLoggerImplementor", date = "2013-05-22T13:35:17-0400")
public class CoreMessageLogger_$logger
    implements Serializable, CoreMessageLogger, BasicLogger
{

    private final static long serialVersionUID = 1L;
    private final static String projectCode = "HHH";
    private final static String FQCN = CoreMessageLogger_$logger.class.getName();
    protected final Logger log;
    private final static String startingQueryCache = "Starting query cache at region: %s";
    private final static String configuredSessionFactory = "Configured SessionFactory: %s";
    private final static String logicalConnectionReleasingPhysicalConnection = "Logical connection releasing its physical connection";
    private final static String unableToMarkForRollbackOnTransientObjectException = "Unable to mark for rollback on TransientObjectException: ";
    private final static String addingOverrideFor = "Adding override for %s: %s";
    private final static String logicalConnectionClosed = "*** Logical connection closed ***";
    private final static String unableToCloseInitialContext = "Error closing InitialContext [%s]";
    private final static String settersOfLazyClassesCannotBeFinal = "Setters of lazy classes cannot be final: %s.%s";
    private final static String unregisteredStatement = "ResultSet's statement was not registered";
    private final static String unknownSqlServerVersion = "Unknown Microsoft SQL Server major version [%s] using SQL Server 2000 dialect";
    private final static String unableToReadClass = "Unable to read class: %s";
    private final static String unableToCompleteSchemaValidation = "Could not complete schema validation";
    private final static String unableToCloseOutputStream = "IOException occurred closing output stream";
    private final static String disablingContextualLOBCreationSinceOldJdbcVersion = "Disabling contextual LOB creation as JDBC driver reported JDBC version [%s] less than 4";
    private final static String failSafeEntitiesCleanup = "Fail-safe cleanup (entities) : %s";
    private final static String queryCacheHits = "Query cache hits: %s";
    private final static String collectionsLoaded = "Collections loaded: %s";
    private final static String unableToMarkForRollbackOnPersistenceException = "Unable to mark for rollback on PersistenceException: ";
    private final static String unableToExecuteResolver = "Error executing resolver [%s] : %s";
    private final static String entityMappedAsNonAbstract = "Entity [%s] is abstract-class/interface explicitly mapped as non-abstract; be sure to supply entity-names";
    private final static String deprecatedOracle9Dialect = "The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead";
    private final static String unableToCloseInputStream = "Could not close input stream";
    private final static String readingCachedMappings = "Reading mappings from cache file: %s";
    private final static String unableToLogSqlWarnings = "Unable to log SQLWarnings : %s";
    private final static String disablingContextualLOBCreationSinceConnectionNull = "Disabling contextual LOB creation as connection was null";
    private final static String schemaUpdateComplete = "Schema update complete";
    private final static String usingStreams = "Using java.io streams to persist binary types";
    private final static String alreadySessionBound = "Already session bound on call to bind(); make sure you clean up your sessions!";
    private final static String unsuccessful = "Unsuccessful: %s";
    private final static String disallowingInsertStatementComment = "Disallowing insert statement comment for select-identity due to Oracle driver bug";
    private final static String naturalIdCacheMisses = "NaturalId cache misses: %s";
    private final static String unsupportedInitialValue = "Hibernate does not support SequenceGenerator.initialValue() unless '%s' set";
    private final static String unableToConfigureSqlExceptionConverter = "Unable to configure SQLExceptionConverter : %s";
    private final static String loggingStatistics = "Logging statistics....";
    private final static String unableToDestroyQueryCache = "Unable to destroy query cache: %s: %s";
    private final static String exceptionHeaderNotFound = "%s No %s found";
    private final static String unableToClosePooledConnection = "Problem closing pooled connection";
    private final static String unableToObjectConnectionToQueryMetadata = "Could not obtain connection to query metadata: %s";
    private final static String unableToTransformClass = "Unable to transform class: %s";
    private final static String duplicateMetadata = "Found more than one , subsequent ignored";
    private final static String unableToAccessEjb3Configuration = "Naming exception occurred accessing Ejb3Configuration";
    private final static String orderByAnnotationIndexedCollection = "@OrderBy not allowed for an indexed collection, annotation ignored.";
    private final static String autoCommitMode = "Autocommit mode: %s";
    private final static String unableToObtainConnectionToQueryMetadata = "Could not obtain connection to query metadata : %s";
    private final static String schemaExportComplete = "Schema export complete";
    private final static String unableToCleanupTemporaryIdTable = "Unable to cleanup temporary id table after use [%s]";
    private final static String jdbcDriverNotSpecified = "No JDBC Driver class was specified by property %s";
    private final static String unableToBindValueToParameter = "Could not bind value '%s' to parameter: %s; %s";
    private final static String definingFlushBeforeCompletionIgnoredInHem = "Defining %s=true ignored in HEM";
    private final static String resolvedSqlTypeDescriptorForDifferentSqlCode = "Resolved SqlTypeDescriptor is for a different SQL code. %s has sqlCode=%s; type override %s has sqlCode=%s";
    private final static String flushes = "Flushes: %s";
    private final static String unableToCloseInputStreamForResource = "Could not close input stream for %s";
    private final static String unableToCloseSession = "Could not close session";
    private final static String c3p0ProviderClassNotFound = "c3p0 properties were encountered, but the %s provider class was not found on the classpath; these properties are going to be ignored.";
    private final static String timestampCacheHits = "update timestamps cache hits: %s";
    private final static String unableToExecuteBatch = "Exception executing batch [%s]";
    private final static String unableToPerformJdbcCommit = "JDBC commit failed";
    private final static String duplicateImport = "Duplicate import: %s -> %s";
    private final static String factoryUnboundFromName = "A factory was unbound from name: %s";
    private final static String sqlWarning = "SQL Error: %s, SQLState: %s";
    private final static String entitiesLoaded = "Entities loaded: %s";
    private final static String timestampCacheMisses = "update timestamps cache misses: %s";
    private final static String entityAnnotationOnNonRoot = "@org.hibernate.annotations.Entity used on a non root entity: ignored for %s";
    private final static String unableToLocateConfigFile = "Unable to locate config file: %s";
    private final static String entityIdentifierValueBindingExists = "Setting entity-identifier value binding where one already existed : %s.";
    private final static String expectedType = "Expected type: %s, actual value: %s";
    private final static String queriesExecuted = "Queries executed to database: %s";
    private final static String instantiatingExplicitConnectionProvider = "Instantiating explicit connection provider: %s";
    private final static String unableToDestroyUpdateTimestampsCache = "Unable to destroy update timestamps cache: %s: %s";
    private final static String unableToBuildEnhancementMetamodel = "Unable to build enhancement metamodel for %s";
    private final static String missingArguments = "Function template anticipated %s arguments, but %s arguments encountered";
    private final static String unregisteredResultSetWithoutStatement = "ResultSet had no statement associated with it, but was not yet registered";
    private final static String entityManagerClosedBySomeoneElse = "Entity Manager closed by someone else (%s must not be used)";
    private final static String usingDriver = "using driver [%s] at URL [%s]";
    private final static String forcingTableUse = "Forcing table use for sequence-style generator due to pooled optimizer selection where db does not support pooled sequences";
    private final static String noDefaultConstructor = "No default (no-argument) constructor for class: %s (class must be instantiated by Interceptor)";
    private final static String deprecatedUuidGenerator = "DEPRECATED : use [%s] instead with custom [%s] implementation";
    private final static String localLoadingCollectionKeysCount = "On CollectionLoadContext#cleanup, localLoadingCollectionKeys contained [%s] entries";
    private final static String unableToReadColumnValueFromResultSet = "Could not read column value from result set: %s; %s";
    private final static String unableToReleaseBatchStatement = "Unable to release batch statement...";
    private final static String missingEntityAnnotation = "Class annotated @org.hibernate.annotations.Entity but not javax.persistence.Entity (most likely a user error): %s";
    private final static String unexpectedRowCounts = "JDBC driver did not return the expected number of row counts";
    private final static String stoppingService = "Stopping service";
    private final static String scopingTypesToSessionFactoryAfterAlreadyScoped = "Scoping types to session factory %s after already scoped %s";
    private final static String unableToReadOrInitHiValue = "Could not read or init a hi value";
    private final static String unableToLocateUuidGenerationStrategy = "Unable to locate requested UUID generation strategy class : %s";
    private final static String deprecatedForceDescriminatorAnnotation = "@ForceDiscriminator is deprecated use @DiscriminatorOptions instead.";
    private final static String unableToCreateSchema = "Error creating schema ";
    private final static String noSessionFactoryWithJndiName = "No session factory with JNDI name %s";
    private final static String unableToCompleteSchemaUpdate = "Could not complete schema update";
    private final static String typeRegistrationOverridesPrevious = "Type registration [%s] overrides previous : %s";
    private final static String unableToLocateCustomOptimizerClass = "Unable to interpret specified optimizer [%s], falling back to noop";
    private final static String unableToSynchronizeDatabaseStateWithSession = "Could not synchronize database state with session: %s";
    private final static String invalidTableAnnotation = "Illegal use of @Table in a subclass of a SINGLE_TABLE hierarchy: %s";
    private final static String setManagerLookupClass = "You should set hibernate.transaction.manager_lookup_class if cache is enabled";
    private final static String unableToQueryDatabaseMetadata = "Unable to query java.sql.DatabaseMetaData";
    private final static String ignoringUnrecognizedQueryHint = "Ignoring unrecognized query hint [%s]";
    private final static String unableToParseMetadata = "Could not parse the package-level metadata [%s]";
    private final static String compositeIdClassDoesNotOverrideHashCode = "Composite-id class does not override hashCode(): %s";
    private final static String noAppropriateConnectionProvider = "No appropriate connection provider encountered, assuming application will be supplying connections";
    private final static String packageNotFound = "Package not found or wo package-info.java: %s";
    private final static String unableToAccessSessionFactory = "Error while accessing session factory with JNDI name %s";
    private final static String containsJoinFetchedCollection = "Ignoring bag join fetch [%s] due to prior collection join fetch";
    private final static String hsqldbSupportsOnlyReadCommittedIsolation = "HSQLDB supports only READ_UNCOMMITTED isolation";
    private final static String transactionStrategy = "Transaction strategy: %s";
    private final static String unableToObjectConnectionMetadata = "Could not obtain connection metadata: %s";
    private final static String jaccContextId = "JACC contextID: %s";
    private final static String lazyPropertyFetchingAvailable = "Lazy property fetching available for: %s";
    private final static String noColumnsSpecifiedForIndex = "There were not column names specified for index %s on table %s";
    private final static String unableToCreateProxyFactory = "Could not create proxy factory for:%s";
    private final static String unableToApplyConstraints = "Unable to apply constraints on DDL for %s";
    private final static String invalidDiscriminatorAnnotation = "Discriminator column has to be defined in the root entity, it will be ignored in subclass: %s";
    private final static String unableToRunSchemaUpdate = "Error running schema update";
    private final static String hibernateConnectionPoolSize = "Hibernate connection pool size: %s";
    private final static String unableToInstantiateConfiguredSchemaNameResolver = "Unable to instantiate configured schema name resolver [%s] %s";
    private final static String entitiesDeleted = "Entities deleted: %s";
    private final static String runningSchemaValidator = "Running schema validator";
    private final static String namingExceptionAccessingFactory = "Naming exception occurred accessing factory: %s";
    private final static String jdbcRollbackFailed = "JDBC rollback failed";
    private final static String runningHbm2ddlSchemaExport = "Running hbm2ddl schema export";
    private final static String unknownOracleVersion = "Unknown Oracle major version [%s]";
    private final static String unableToLocateMBeanServer = "Unable to locate MBeanServer on JMX service shutdown";
    private final static String batchContainedStatementsOnRelease = "On release of batch it still contained JDBC statements";
    private final static String parsingXmlWarningForFile = "Warning parsing XML: %s(%s) %s";
    private final static String entityManagerFactoryAlreadyRegistered = "Entity manager factory name (%s) is already registered.  If entity manager will be clustered or passivated, specify a unique value for property '%s'";
    private final static String unableToObtainConnectionMetadata = "Could not obtain connection metadata : %s";
    private final static String naturalIdQueriesExecuted = "NaturalId queries executed to database: %s";
    private final static String usingReflectionOptimizer = "Using bytecode reflection optimizer";
    private final static String disablingContextualLOBCreationSinceCreateClobFailed = "Disabling contextual LOB creation as createClob() method threw error : %s";
    private final static String usingUuidHexGenerator = "Using %s which does not generate IETF RFC 4122 compliant UUID values; consider using %s instead";
    private final static String unableToReleaseCacheLock = "Could not release a cache lock : %s";
    private final static String readingMappingsFromFile = "Reading mappings from file: %s";
    private final static String unableToConstructCurrentSessionContext = "Unable to construct current session context [%s]";
    private final static String callingJoinTransactionOnNonJtaEntityManager = "Calling joinTransaction() on a non JTA EntityManager";
    private final static String deprecatedTransactionManagerStrategy = "Using deprecated %s strategy [%s], use newer %s strategy instead [%s]";
    private final static String failed = "an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session): %s";
    private final static String unableToGetDatabaseMetadata = "Could not get database metadata";
    private final static String configuringFromFile = "Configuring from file: %s";
    private final static String narrowingProxy = "Narrowing proxy to %s - this operation breaks ==";
    private final static String serviceProperties = "Service properties: %s";
    private final static String unableToAccessTypeInfoResultSet = "Error accessing type info result set : %s";
    private final static String unableToPerformManagedFlush = "Error during managed flush [%s]";
    private final static String multipleValidationModes = "'javax.persistence.validation.mode' named multiple values : %s";
    private final static String firstOrMaxResultsSpecifiedWithCollectionFetch = "firstResult/maxResults specified with collection fetch; applying in memory!";
    private final static String naturalIdCacheHits = "NaturalId cache hits: %s";
    private final static String unableToResolveMappingFile = "Unable to resolve mapping file [%s]";
    private final static String unableToRetrieveCache = "Unable to retreive cache from JNDI [%s]: %s";
    private final static String jndiInitialContextProperties = "JNDI InitialContext properties:%s";
    private final static String parsingXmlError = "Error parsing XML (%s) : %s";
    private final static String preparedStatementAlreadyInBatch = "PreparedStatement was already in the batch, [%s].";
    private final static String usingFollowOnLocking = "Encountered request for locking however dialect reports that database prefers locking be done in a separate select (follow-on locking); results will be locked after initial query executes";
    private final static String exceptionInAfterTransactionCompletionInterceptor = "Exception in interceptor afterTransactionCompletion()";
    private final static String unableToRetrieveTypeInfoResultSet = "Unable to retrieve type info result set : %s";
    private final static String duplicateGeneratorName = "Duplicate generator name %s";
    private final static String unsupportedAfterStatement = "Overriding release mode as connection provider does not support 'after_statement'";
    private final static String parsingXmlWarning = "Warning parsing XML (%s) : %s";
    private final static String duplicateJoins = "Duplicate joins for class: %s";
    private final static String parsingXmlErrorForFile = "Error parsing XML: %s(%s) %s";
    private final static String embedXmlAttributesNoLongerSupported = "embed-xml attributes were intended to be used for DOM4J entity mode. Since that entity mode has been removed, embed-xml attributes are no longer supported and should be removed from mappings.";
    private final static String unableToCloseInputFiles = "Error closing input files: %s";
    private final static String ignoringTableGeneratorConstraints = "Ignoring unique constraints specified on table generator [%s]";
    private final static String parameterPositionOccurredAsBothJpaAndHibernatePositionalParameter = "Parameter position [%s] occurred as both JPA and Hibernate positional parameter";
    private final static String successfulTransactions = "Successful transactions: %s";
    private final static String tableFound = "Table found: %s";
    private final static String unableToUnbindFactoryFromJndi = "Could not unbind factory from JNDI";
    private final static String pooledOptimizerReportedInitialValue = "Pooled optimizer source reported [%s] as the initial value; use of 1 or greater highly recommended";
    private final static String sqlExceptionEscapedProxy = "SQLException escaped proxy";
    private final static String unableToLoadDerbyDriver = "Unable to load/access derby driver class sysinfo to check versions : %s";
    private final static String synchronizationFailed = "Exception calling user Synchronization [%s] : %s";
    private final static String containerProvidingNullPersistenceUnitRootUrl = "Container is providing a null PersistenceUnitRootUrl: discovery impossible";
    private final static String recognizedObsoleteHibernateNamespace = "Recognized obsolete hibernate namespace %s. Use namespace %s instead. Refer to Hibernate 3.6 Migration Guide!";
    private final static String runningHbm2ddlSchemaUpdate = "Running hbm2ddl schema update";
    private final static String legacyTransactionManagerStrategy = "Encountered legacy TransactionManagerLookup specified; convert to newer %s contract specified via %s setting";
    private final static String statementsPrepared = "Statements prepared: %s";
    private final static String connectionProperties = "Connection properties: %s";
    private final static String noPersistentClassesFound = "no persistent classes found for query class: %s";
    private final static String unableToStopService = "Error stopping service [%s] : %s";
    private final static String unableToObtainInitialContext = "Could not obtain initial context";
    private final static String invalidSubStrategy = "Mixing inheritance strategy in a entity hierarchy is not allowed, ignoring sub strategy in: %s";
    private final static String version = "Hibernate Core {%s}";
    private final static String autoFlushWillNotWork = "JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()";
    private final static String usingTimestampWorkaround = "Using workaround for JVM bug in java.sql.Timestamp";
    private final static String honoringOptimizerSetting = "Config specified explicit optimizer of [%s], but [%s=%s; honoring optimizer setting";
    private final static String exceptionInSubResolver = "Sub-resolver threw unexpected exception, continuing to next : %s";
    private final static String unableToLocateConfiguredSchemaNameResolver = "Unable to locate configured schema name resolver class [%s] %s";
    private final static String processEqualityExpression = "processEqualityExpression() : No expression to process!";
    private final static String unableToReleaseTypeInfoResultSet = "Unable to release type info result set";
    private final static String unableToBindFactoryToJndi = "Could not bind factory to JNDI";
    private final static String rdmsOs2200Dialect = "RDMSOS2200Dialect version: 1.0";
    private final static String searchingForMappingDocuments = "Searching for mapping documents in jar: %s";
    private final static String entitiesInserted = "Entities inserted: %s";
    private final static String unableToLogWarnings = "Could not log warnings";
    private final static String unableToDetermineTransactionStatus = "Could not determine transaction status";
    private final static String loadingCollectionKeyNotFound = "In CollectionLoadContext#endLoadingCollections, localLoadingCollectionKeys contained [%s], but no LoadingCollectionEntry was found in loadContexts";
    private final static String sortAnnotationIndexedCollection = "@Sort not allowed for an indexed collection, annotation ignored.";
    private final static String usingDefaultIdGeneratorSegmentValue = "Explicit segment value for id generator [%s.%s] suggested; using default [%s]";
    private final static String immutableAnnotationOnNonRoot = "@Immutable used on a non root entity: ignored for %s";
    private final static String schemaExportUnsuccessful = "Schema export unsuccessful";
    private final static String expired = "An item was expired by the cache while it was locked (increase your cache timeout): %s";
    private final static String requiredDifferentProvider = "Required a different provider: %s";
    private final static String unsuccessfulCreate = "Unsuccessful: %s";
    private final static String writingGeneratedSchemaToFile = "Writing generated schema to file: %s";
    private final static String foundMappingDocument = "Found mapping document in jar: %s";
    private final static String collectionsRecreated = "Collections recreated: %s";
    private final static String unableToCleanUpPreparedStatement = "Unable to clean up prepared statement";
    private final static String persistenceProviderCallerDoesNotImplementEjb3SpecCorrectly = "Persistence provider caller does not implement the EJB3 spec correctly.PersistenceUnitInfo.getNewTempClassLoader() is null.";
    private final static String secondLevelCacheHits = "Second level cache hits: %s";
    private final static String unableToLoadScannedClassOrResource = "Exception while loading a class or resource found during scanning";
    private final static String secondLevelCachePuts = "Second level cache puts: %s";
    private final static String incompleteMappingMetadataCacheProcessing = "Mapping metadata cache was not completely processed";
    private final static String indexes = "Indexes: %s";
    private final static String hydratingEntitiesCount = "On EntityLoadContext#clear, hydratingEntities contained [%s] entries";
    private final static String unsupportedMultiTableBulkHqlJpaql = "The %s.%s.%s version of H2 implements temporary table creation such that it commits current transaction; multi-table, bulk hql/jpaql will not work properly";
    private final static String writeLocksNotSupported = "Write locks via update not supported for non-versioned entities [%s]";
    private final static String unableToSwitchToMethodUsingColumnIndex = "Exception switching from method: [%s] to a method using the column index. Reverting to using: [%




© 2015 - 2024 Weber Informatics LLC | Privacy Policy