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

Hibernate example source code file (CoreMessageLogger.java)

This example Hibernate source code file (CoreMessageLogger.java) 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 - Hibernate tags/keywords

could, error, exception, info, info, io, jdbc, jndi, logmessage, logmessage, message, message, naming, sql, string, transaction, unable, util, warn, warn

The Hibernate CoreMessageLogger.java source code

/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * Copyright (c) 2007-2011, Red Hat Inc. or third-party contributors as
 * indicated by the @author tags or express copyright attribution
 * statements applied by the authors.  All third-party contributions are
 * distributed under license by Red Hat Inc.
 *
 * This copyrighted material is made available to anyone wishing to use, modify,
 * copy, or redistribute it subject to the terms and conditions of the GNU
 * Lesser General Public License, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this distribution; if not, write to:
 * Free Software Foundation, Inc.
 * 51 Franklin Street, Fifth Floor
 * Boston, MA  02110-1301  USA
 */
package org.hibernate.internal;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
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.naming.NameNotFoundException;
import javax.naming.NamingException;
import javax.transaction.Synchronization;
import javax.transaction.SystemException;

import org.jboss.logging.BasicLogger;
import org.jboss.logging.Cause;
import org.jboss.logging.LogMessage;
import org.jboss.logging.Message;
import org.jboss.logging.MessageLogger;

import org.hibernate.HibernateException;
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.engine.spi.SessionFactoryImplementor;
import org.hibernate.id.IntegralDataTypeHolder;
import org.hibernate.service.jdbc.dialect.internal.AbstractDialectResolver;
import org.hibernate.service.jndi.JndiException;
import org.hibernate.service.jndi.JndiNameException;
import org.hibernate.type.BasicType;
import org.hibernate.type.SerializationException;
import org.hibernate.type.Type;

import static org.jboss.logging.Logger.Level.DEBUG;
import static org.jboss.logging.Logger.Level.ERROR;
import static org.jboss.logging.Logger.Level.INFO;
import static org.jboss.logging.Logger.Level.WARN;

/**
 * The jboss-logging {@link MessageLogger} for the hibernate-core module.  It reserves message ids ranging from
 * 00001 to 10000 inclusively.
 * <p/>
 * New messages must be added after the last message defined to ensure message codes are unique.
 */
@MessageLogger(projectCode = "HHH")
public interface CoreMessageLogger extends BasicLogger {

	@LogMessage(level = WARN)
	@Message(value = "Already session bound on call to bind(); make sure you clean up your sessions!", id = 2)
	void alreadySessionBound();

	@LogMessage(level = INFO)
	@Message(value = "Autocommit mode: %s", id = 6)
	void autoCommitMode(boolean autocommit);

	@LogMessage(level = WARN)
	@Message(value = "JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()",
			id = 8)
	void autoFlushWillNotWork();

	@LogMessage(level = INFO)
	@Message(value = "On release of batch it still contained JDBC statements", id = 10)
	void batchContainedStatementsOnRelease();

	@LogMessage(level = INFO)
	@Message(value = "Bytecode provider name : %s", id = 21)
	void bytecodeProvider(String provider);

	@LogMessage(level = WARN)
	@Message(value = "c3p0 properties were encountered, but the %s provider class was not found on the classpath; these properties are going to be ignored.",
			id = 22)
	void c3p0ProviderClassNotFound(String c3p0ProviderClassName);

	@LogMessage(level = WARN)
	@Message(value = "I/O reported cached file could not be found : %s : %s", id = 23)
	void cachedFileNotFound(String path,
							FileNotFoundException error);

	@LogMessage(level = INFO)
	@Message(value = "Cache provider: %s", id = 24)
	void cacheProvider(String name);

	@LogMessage(level = WARN)
	@Message(value = "Calling joinTransaction() on a non JTA EntityManager", id = 27)
	void callingJoinTransactionOnNonJtaEntityManager();

	@LogMessage(level = INFO)
	@Message(value = "Cleaning up connection pool [%s]", id = 30)
	void cleaningUpConnectionPool(String url);

	@LogMessage(level = DEBUG)
	@Message(value = "Closing", id = 31)
	void closing();

	@LogMessage(level = INFO)
	@Message(value = "Collections fetched (minimize this): %s", id = 32)
	void collectionsFetched(long collectionFetchCount);

	@LogMessage(level = INFO)
	@Message(value = "Collections loaded: %s", id = 33)
	void collectionsLoaded(long collectionLoadCount);

	@LogMessage(level = INFO)
	@Message(value = "Collections recreated: %s", id = 34)
	void collectionsRecreated(long collectionRecreateCount);

	@LogMessage(level = INFO)
	@Message(value = "Collections removed: %s", id = 35)
	void collectionsRemoved(long collectionRemoveCount);

	@LogMessage(level = INFO)
	@Message(value = "Collections updated: %s", id = 36)
	void collectionsUpdated(long collectionUpdateCount);

	@LogMessage(level = INFO)
	@Message(value = "Columns: %s", id = 37)
	void columns(Set keySet);

	@LogMessage(level = WARN)
	@Message(value = "Composite-id class does not override equals(): %s", id = 38)
	void compositeIdClassDoesNotOverrideEquals(String name);

	@LogMessage(level = WARN)
	@Message(value = "Composite-id class does not override hashCode(): %s", id = 39)
	void compositeIdClassDoesNotOverrideHashCode(String name);

	@LogMessage(level = INFO)
	@Message(value = "Configuration resource: %s", id = 40)
	void configurationResource(String resource);

	@LogMessage(level = INFO)
	@Message(value = "Configured SessionFactory: %s", id = 41)
	void configuredSessionFactory(String name);

	@LogMessage(level = INFO)
	@Message(value = "Configuring from file: %s", id = 42)
	void configuringFromFile(String file);

	@LogMessage(level = INFO)
	@Message(value = "Configuring from resource: %s", id = 43)
	void configuringFromResource(String resource);

	@LogMessage(level = INFO)
	@Message(value = "Configuring from URL: %s", id = 44)
	void configuringFromUrl(URL url);

	@LogMessage(level = INFO)
	@Message(value = "Configuring from XML document", id = 45)
	void configuringFromXmlDocument();

	@LogMessage(level = INFO)
	@Message(value = "Connection properties: %s", id = 46)
	void connectionProperties(Properties connectionProps);

	@LogMessage(level = INFO)
	@Message(value = "Connections obtained: %s", id = 48)
	void connectionsObtained(long connectCount);

	@LogMessage(level = ERROR)
	@Message(value = "Container is providing a null PersistenceUnitRootUrl: discovery impossible", id = 50)
	void containerProvidingNullPersistenceUnitRootUrl();

	@LogMessage(level = WARN)
	@Message(value = "Ignoring bag join fetch [%s] due to prior collection join fetch", id = 51)
	void containsJoinFetchedCollection(String role);

	@LogMessage(level = INFO)
	@Message(value = "Creating subcontext: %s", id = 53)
	void creatingSubcontextInfo(String intermediateContextName);

	@LogMessage(level = WARN)
	@Message(value = "Defining %s=true ignored in HEM", id = 59)
	void definingFlushBeforeCompletionIgnoredInHem(String flushBeforeCompletion);

	@LogMessage(level = WARN)
	@Message(value = "@ForceDiscriminator is deprecated use @DiscriminatorOptions instead.", id = 62)
	void deprecatedForceDescriminatorAnnotation();

	@LogMessage(level = WARN)
	@Message(value = "The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead",
			id = 63)
	void deprecatedOracle9Dialect();

	@LogMessage(level = WARN)
	@Message(value = "The OracleDialect dialect has been deprecated; use Oracle8iDialect instead", id = 64)
	void deprecatedOracleDialect();

	@LogMessage(level = WARN)
	@Message(value = "DEPRECATED : use {} instead with custom {} implementation", id = 65)
	void deprecatedUuidGenerator(String name,
								 String name2);

	@LogMessage(level = INFO)
	@Message(value = "Disallowing insert statement comment for select-identity due to Oracle driver bug", id = 67)
	void disallowingInsertStatementComment();

	@LogMessage(level = WARN)
	@Message(value = "Duplicate generator name %s", id = 69)
	void duplicateGeneratorName(String name);

	@LogMessage(level = WARN)
	@Message(value = "Duplicate generator table: %s", id = 70)
	void duplicateGeneratorTable(String name);

	@LogMessage(level = INFO)
	@Message(value = "Duplicate import: %s -> %s", id = 71)
	void duplicateImport(String entityName,
						 String rename);

	@LogMessage(level = WARN)
	@Message(value = "Duplicate joins for class: %s", id = 72)
	void duplicateJoins(String entityName);

	@LogMessage(level = INFO)
	@Message(value = "entity-listener duplication, first event definition will be used: %s", id = 73)
	void duplicateListener(String className);

	@LogMessage(level = WARN)
	@Message(value = "Found more than one <persistence-unit-metadata>, subsequent ignored", id = 74)
	void duplicateMetadata();

	@LogMessage(level = INFO)
	@Message(value = "Entities deleted: %s", id = 76)
	void entitiesDeleted(long entityDeleteCount);

	@LogMessage(level = INFO)
	@Message(value = "Entities fetched (minimize this): %s", id = 77)
	void entitiesFetched(long entityFetchCount);

	@LogMessage(level = INFO)
	@Message(value = "Entities inserted: %s", id = 78)
	void entitiesInserted(long entityInsertCount);

	@LogMessage(level = INFO)
	@Message(value = "Entities loaded: %s", id = 79)
	void entitiesLoaded(long entityLoadCount);

	@LogMessage(level = INFO)
	@Message(value = "Entities updated: %s", id = 80)
	void entitiesUpdated(long entityUpdateCount);

	@LogMessage(level = WARN)
	@Message(value = "@org.hibernate.annotations.Entity used on a non root entity: ignored for %s", id = 81)
	void entityAnnotationOnNonRoot(String className);

	@LogMessage(level = WARN)
	@Message(value = "Entity Manager closed by someone else (%s must not be used)", id = 82)
	void entityManagerClosedBySomeoneElse(String autoCloseSession);

	@LogMessage(level = WARN)
	@Message(value = "Entity [%s] is abstract-class/interface explicitly mapped as non-abstract; be sure to supply entity-names",
			id = 84)
	void entityMappedAsNonAbstract(String name);

	@LogMessage(level = INFO)
	@Message(value = "%s %s found", id = 85)
	void exceptionHeaderFound(String exceptionHeader,
							  String metaInfOrmXml);

	@LogMessage(level = INFO)
	@Message(value = "%s No %s found", id = 86)
	void exceptionHeaderNotFound(String exceptionHeader,
								 String metaInfOrmXml);

	@LogMessage(level = ERROR)
	@Message(value = "Exception in interceptor afterTransactionCompletion()", id = 87)
	void exceptionInAfterTransactionCompletionInterceptor(@Cause Throwable e);

	@LogMessage(level = ERROR)
	@Message(value = "Exception in interceptor beforeTransactionCompletion()", id = 88)
	void exceptionInBeforeTransactionCompletionInterceptor(@Cause Throwable e);

	@LogMessage(level = INFO)
	@Message(value = "Sub-resolver threw unexpected exception, continuing to next : %s", id = 89)
	void exceptionInSubResolver(String message);

	@LogMessage(level = ERROR)
	@Message(value = "Expected type: %s, actual value: %s", id = 91)
	void expectedType(String name,
					  String string);

	@LogMessage(level = WARN)
	@Message(value = "An item was expired by the cache while it was locked (increase your cache timeout): %s", id = 92)
	void expired(Object key);

	@LogMessage(level = INFO)
	@Message(value = "Bound factory to JNDI name: %s", id = 94)
	void factoryBoundToJndiName(String name);

	@LogMessage(level = INFO)
	@Message(value = "A factory was renamed from [%s] to [%s] in JNDI", id = 96)
	void factoryJndiRename(String oldName, String newName);

	@LogMessage(level = INFO)
	@Message(value = "Unbound factory from JNDI name: %s", id = 97)
	void factoryUnboundFromJndiName(String name);

	@LogMessage(level = INFO)
	@Message(value = "A factory was unbound from name: %s", id = 98)
	void factoryUnboundFromName(String name);

	@LogMessage(level = ERROR)
	@Message(value = "an assertion failure occured" + " (this may indicate a bug in Hibernate, but is more likely due"
			+ " to unsafe use of the session): %s", id = 99)
	void failed(Throwable throwable);

	@LogMessage(level = WARN)
	@Message(value = "Fail-safe cleanup (collections) : %s", id = 100)
	void failSafeCollectionsCleanup(CollectionLoadContext collectionLoadContext);

	@LogMessage(level = WARN)
	@Message(value = "Fail-safe cleanup (entities) : %s", id = 101)
	void failSafeEntitiesCleanup(EntityLoadContext entityLoadContext);

	@LogMessage(level = INFO)
	@Message(value = "Fetching database metadata", id = 102)
	void fetchingDatabaseMetadata();

	@LogMessage(level = WARN)
	@Message(value = "@Filter not allowed on subclasses (ignored): %s", id = 103)
	void filterAnnotationOnSubclass(String className);

	@LogMessage(level = WARN)
	@Message(value = "firstResult/maxResults specified with collection fetch; applying in memory!", id = 104)
	void firstOrMaxResultsSpecifiedWithCollectionFetch();

	@LogMessage(level = INFO)
	@Message(value = "Flushes: %s", id = 105)
	void flushes(long flushCount);

	@LogMessage(level = INFO)
	@Message(value = "Forcing container resource cleanup on transaction completion", id = 106)
	void forcingContainerResourceCleanup();

	@LogMessage(level = INFO)
	@Message(value = "Forcing table use for sequence-style generator due to pooled optimizer selection where db does not support pooled sequences",
			id = 107)
	void forcingTableUse();

	@LogMessage(level = INFO)
	@Message(value = "Foreign keys: %s", id = 108)
	void foreignKeys(Set keySet);

	@LogMessage(level = INFO)
	@Message(value = "Found mapping document in jar: %s", id = 109)
	void foundMappingDocument(String name);

	@LogMessage(level = ERROR)
	@Message(value = "Getters of lazy classes cannot be final: %s.%s", id = 112)
	void gettersOfLazyClassesCannotBeFinal(String entityName,
										   String name);

	@LogMessage(level = WARN)
	@Message(value = "GUID identifier generated: %s", id = 113)
	void guidGenerated(String result);

	@LogMessage(level = INFO)
	@Message(value = "Handling transient entity in delete processing", id = 114)
	void handlingTransientEntity();

	@LogMessage(level = INFO)
	@Message(value = "Hibernate connection pool size: %s", id = 115)
	void hibernateConnectionPoolSize(int poolSize);

	@LogMessage(level = WARN)
	@Message(value = "Config specified explicit optimizer of [%s], but [%s=%s; honoring optimizer setting", id = 116)
	void honoringOptimizerSetting(String none,
								  String incrementParam,
								  int incrementSize);

	@LogMessage(level = INFO)
	@Message(value = "HQL: %s, time: %sms, rows: %s", id = 117)
	void hql(String hql,
			 Long valueOf,
			 Long valueOf2);

	@LogMessage(level = WARN)
	@Message(value = "HSQLDB supports only READ_UNCOMMITTED isolation", id = 118)
	void hsqldbSupportsOnlyReadCommittedIsolation();

	@LogMessage(level = WARN)
	@Message(value = "On EntityLoadContext#clear, hydratingEntities contained [%s] entries", id = 119)
	void hydratingEntitiesCount(int size);

	@LogMessage(level = WARN)
	@Message(value = "Ignoring unique constraints specified on table generator [%s]", id = 120)
	void ignoringTableGeneratorConstraints(String name);

	@LogMessage(level = INFO)
	@Message(value = "Ignoring unrecognized query hint [%s]", id = 121)
	void ignoringUnrecognizedQueryHint(String hintName);

	@LogMessage(level = ERROR)
	@Message(value = "IllegalArgumentException in class: %s, getter method of property: %s", id = 122)
	void illegalPropertyGetterArgument(String name,
									   String propertyName);

	@LogMessage(level = ERROR)
	@Message(value = "IllegalArgumentException in class: %s, setter method of property: %s", id = 123)
	void illegalPropertySetterArgument(String name,
									   String propertyName);

	@LogMessage(level = WARN)
	@Message(value = "@Immutable used on a non root entity: ignored for %s", id = 124)
	void immutableAnnotationOnNonRoot(String className);

	@LogMessage(level = WARN)
	@Message(value = "Mapping metadata cache was not completely processed", id = 125)
	void incompleteMappingMetadataCacheProcessing();

	@LogMessage(level = INFO)
	@Message(value = "Indexes: %s", id = 126)
	void indexes(Set keySet);

	@LogMessage(level = DEBUG)
	@Message(value = "Could not bind JNDI listener", id = 127)
	void couldNotBindJndiListener();

	@LogMessage(level = INFO)
	@Message(value = "Instantiating explicit connection provider: %s", id = 130)
	void instantiatingExplicitConnectionProvider(String providerClassName);

	@LogMessage(level = ERROR)
	@Message(value = "Array element type error\n%s", id = 132)
	void invalidArrayElementType(String message);

	@LogMessage(level = WARN)
	@Message(value = "Discriminator column has to be defined in the root entity, it will be ignored in subclass: %s",
			id = 133)
	void invalidDiscriminatorAnnotation(String className);

	@LogMessage(level = ERROR)
	@Message(value = "Application attempted to edit read only item: %s", id = 134)
	void invalidEditOfReadOnlyItem(Object key);

	@LogMessage(level = ERROR)
	@Message(value = "Invalid JNDI name: %s", id = 135)
	void invalidJndiName(String name,
						 @Cause JndiNameException e);

	@LogMessage(level = WARN)
	@Message(value = "Inapropriate use of @OnDelete on entity, annotation ignored: %s", id = 136)
	void invalidOnDeleteAnnotation(String entityName);

	@LogMessage(level = WARN)
	@Message(value = "Root entity should not hold an PrimaryKeyJoinColum(s), will be ignored", id = 137)
	void invalidPrimaryKeyJoinColumnAnnotation();

	@LogMessage(level = WARN)
	@Message(value = "Mixing inheritance strategy in a entity hierarchy is not allowed, ignoring sub strategy in: %s",
			id = 138)
	void invalidSubStrategy(String className);

	@LogMessage(level = WARN)
	@Message(value = "Illegal use of @Table in a subclass of a SINGLE_TABLE hierarchy: %s", id = 139)
	void invalidTableAnnotation(String className);

	@LogMessage(level = INFO)
	@Message(value = "JACC contextID: %s", id = 140)
	void jaccContextId(String contextId);

	@LogMessage(level = INFO)
	@Message(value = "java.sql.Types mapped the same code [%s] multiple times; was [%s]; now [%s]", id = 141)
	void JavaSqlTypesMappedSameCodeMultipleTimes(int code,
												 String old,
												 String name);

	@Message(value = "Javassist Enhancement failed: %s", id = 142)
	String javassistEnhancementFailed(String entityName);

	@LogMessage(level = WARN)
	@Message(value = "%s = false breaks the EJB3 specification", id = 144)
	void jdbcAutoCommitFalseBreaksEjb3Spec(String autocommit);

	@LogMessage(level = WARN)
	@Message(value = "No JDBC Driver class was specified by property %s", id = 148)
	void jdbcDriverNotSpecified(String driver);

	@LogMessage(level = INFO)
	@Message(value = "JDBC isolation level: %s", id = 149)
	void jdbcIsolationLevel(String isolationLevelToString);

	@Message(value = "JDBC rollback failed", id = 151)
	String jdbcRollbackFailed();

	@Message(value = "JDBC URL was not specified by property %s", id = 152)
	String jdbcUrlNotSpecified(String url);

	@LogMessage(level = INFO)
	@Message(value = "JNDI InitialContext properties:%s", id = 154)
	void jndiInitialContextProperties(Hashtable hash);

	@LogMessage(level = ERROR)
	@Message(value = "JNDI name %s does not handle a session factory reference", id = 155)
	void jndiNameDoesNotHandleSessionFactoryReference(String sfJNDIName,
													  @Cause ClassCastException e);

	@LogMessage(level = INFO)
	@Message(value = "Lazy property fetching available for: %s", id = 157)
	void lazyPropertyFetchingAvailable(String name);

	@LogMessage(level = WARN)
	@Message(value = "In CollectionLoadContext#endLoadingCollections, localLoadingCollectionKeys contained [%s], but no LoadingCollectionEntry was found in loadContexts",
			id = 159)
	void loadingCollectionKeyNotFound(CollectionKey collectionKey);

	@LogMessage(level = WARN)
	@Message(value = "On CollectionLoadContext#cleanup, localLoadingCollectionKeys contained [%s] entries", id = 160)
	void localLoadingCollectionKeysCount(int size);

	@LogMessage(level = INFO)
	@Message(value = "Logging statistics....", id = 161)
	void loggingStatistics();

	@LogMessage(level = DEBUG)
	@Message(value = "*** Logical connection closed ***", id = 162)
	void logicalConnectionClosed();

	@LogMessage(level = DEBUG)
	@Message(value = "Logical connection releasing its physical connection", id = 163)
	void logicalConnectionReleasingPhysicalConnection();

	@LogMessage(level = INFO)
	@Message(value = "Max query time: %sms", id = 173)
	void maxQueryTime(long queryExecutionMaxTime);

	@LogMessage(level = WARN)
	@Message(value = "Function template anticipated %s arguments, but %s arguments encountered", id = 174)
	void missingArguments(int anticipatedNumberOfArguments,
						  int numberOfArguments);

	@LogMessage(level = WARN)
	@Message(value = "Class annotated @org.hibernate.annotations.Entity but not javax.persistence.Entity (most likely a user error): %s",
			id = 175)
	void missingEntityAnnotation(String className);


	@LogMessage(level = ERROR)
	@Message(value = "Error in named query: %s", id = 177)
	void namedQueryError(String queryName,
						 @Cause HibernateException e);

	@LogMessage(level = WARN)
	@Message(value = "Naming exception occurred accessing factory: %s", id = 178)
	void namingExceptionAccessingFactory(NamingException exception);

	@LogMessage(level = WARN)
	@Message(value = "Narrowing proxy to %s - this operation breaks ==", id = 179)
	void narrowingProxy(Class concreteProxyClass);

	@LogMessage(level = WARN)
	@Message(value = "FirstResult/maxResults specified on polymorphic query; applying in memory!", id = 180)
	void needsLimit();

	@LogMessage(level = WARN)
	@Message(value = "No appropriate connection provider encountered, assuming application will be supplying connections",
			id = 181)
	void noAppropriateConnectionProvider();

	@LogMessage(level = INFO)
	@Message(value = "No default (no-argument) constructor for class: %s (class must be instantiated by Interceptor)",
			id = 182)
	void noDefaultConstructor(String name);

	@LogMessage(level = WARN)
	@Message(value = "no persistent classes found for query class: %s", id = 183)
	void noPersistentClassesFound(String query);

	@LogMessage(level = ERROR)
	@Message(value = "No session factory with JNDI name %s", id = 184)
	void noSessionFactoryWithJndiName(String sfJNDIName,
									  @Cause NameNotFoundException e);

	@LogMessage(level = INFO)
	@Message(value = "Optimistic lock failures: %s", id = 187)
	void optimisticLockFailures(long optimisticFailureCount);

	@LogMessage(level = WARN)
	@Message(value = "@OrderBy not allowed for an indexed collection, annotation ignored.", id = 189)
	void orderByAnnotationIndexedCollection();

	@LogMessage(level = WARN)
	@Message(value = "Overriding %s is dangerous, this might break the EJB3 specification implementation", id = 193)
	void overridingTransactionStrategyDangerous(String transactionStrategy);

	@LogMessage(level = DEBUG)
	@Message(value = "Package not found or wo package-info.java: %s", id = 194)
	void packageNotFound(String packageName);

	@LogMessage(level = WARN)
	@Message(value = "Parameter position [%s] occurred as both JPA and Hibernate positional parameter", id = 195)
	void parameterPositionOccurredAsBothJpaAndHibernatePositionalParameter(Integer position);

	@LogMessage(level = ERROR)
	@Message(value = "Error parsing XML (%s) : %s", id = 196)
	void parsingXmlError(int lineNumber,
						 String message);

	@LogMessage(level = ERROR)
	@Message(value = "Error parsing XML: %s(%s) %s", id = 197)
	void parsingXmlErrorForFile(String file,
								int lineNumber,
								String message);

	@LogMessage(level = ERROR)
	@Message(value = "Warning parsing XML (%s) : %s", id = 198)
	void parsingXmlWarning(int lineNumber,
						   String message);

	@LogMessage(level = WARN)
	@Message(value = "Warning parsing XML: %s(%s) %s", id = 199)
	void parsingXmlWarningForFile(String file,
								  int lineNumber,
								  String message);

	@LogMessage(level = WARN)
	@Message(value = "Persistence provider caller does not implement the EJB3 spec correctly."
			+ "PersistenceUnitInfo.getNewTempClassLoader() is null.", id = 200)
	void persistenceProviderCallerDoesNotImplementEjb3SpecCorrectly();

	@LogMessage(level = INFO)
	@Message(value = "Pooled optimizer source reported [%s] as the initial value; use of 1 or greater highly recommended",
			id = 201)
	void pooledOptimizerReportedInitialValue(IntegralDataTypeHolder value);

	@LogMessage(level = ERROR)
	@Message(value = "PreparedStatement was already in the batch, [%s].", id = 202)
	void preparedStatementAlreadyInBatch(String sql);

	@LogMessage(level = WARN)
	@Message(value = "processEqualityExpression() : No expression to process!", id = 203)
	void processEqualityExpression();

	@LogMessage(level = INFO)
	@Message(value = "Processing PersistenceUnitInfo [\n\tname: %s\n\t...]", id = 204)
	void processingPersistenceUnitInfoName(String persistenceUnitName);

	@LogMessage(level = INFO)
	@Message(value = "Loaded properties from resource hibernate.properties: %s", id = 205)
	void propertiesLoaded(Properties maskOut);

	@LogMessage(level = INFO)
	@Message(value = "hibernate.properties not found", id = 206)
	void propertiesNotFound();

	@LogMessage(level = WARN)
	@Message(value = "Property %s not found in class but described in <mapping-file/> (possible typo error)", id = 207)
	void propertyNotFound(String property);

	@LogMessage(level = WARN)
	@Message(value = "%s has been deprecated in favor of %s; that provider will be used instead.", id = 208)
	void providerClassDeprecated(String providerClassName,
								 String actualProviderClassName);

	@LogMessage(level = WARN)
	@Message(value = "proxool properties were encountered, but the %s provider class was not found on the classpath; these properties are going to be ignored.",
			id = 209)
	void proxoolProviderClassNotFound(String proxoolProviderClassName);

	@LogMessage(level = INFO)
	@Message(value = "Queries executed to database: %s", id = 210)
	void queriesExecuted(long queryExecutionCount);

	@LogMessage(level = INFO)
	@Message(value = "Query cache hits: %s", id = 213)
	void queryCacheHits(long queryCacheHitCount);

	@LogMessage(level = INFO)
	@Message(value = "Query cache misses: %s", id = 214)
	void queryCacheMisses(long queryCacheMissCount);

	@LogMessage(level = INFO)
	@Message(value = "Query cache puts: %s", id = 215)
	void queryCachePuts(long queryCachePutCount);

	@LogMessage(level = INFO)
	@Message(value = "RDMSOS2200Dialect version: 1.0", id = 218)
	void rdmsOs2200Dialect();

	@LogMessage(level = INFO)
	@Message(value = "Reading mappings from cache file: %s", id = 219)
	void readingCachedMappings(File cachedFile);

	@LogMessage(level = INFO)
	@Message(value = "Reading mappings from file: %s", id = 220)
	void readingMappingsFromFile(String path);

	@LogMessage(level = INFO)
	@Message(value = "Reading mappings from resource: %s", id = 221)
	void readingMappingsFromResource(String resourceName);

	@LogMessage(level = WARN)
	@Message(value = "read-only cache configured for mutable collection [%s]", id = 222)
	void readOnlyCacheConfiguredForMutableCollection(String name);

	@LogMessage(level = WARN)
	@Message(value = "Recognized obsolete hibernate namespace %s. Use namespace %s instead. Refer to Hibernate 3.6 Migration Guide!",
			id = 223)
	void recognizedObsoleteHibernateNamespace(String oldHibernateNamespace,
											  String hibernateNamespace);

	@LogMessage(level = WARN)
	@Message(value = "Property [%s] has been renamed to [%s]; update your properties appropriately", id = 225)
	void renamedProperty(Object propertyName,
						 Object newPropertyName);

	@LogMessage(level = INFO)
	@Message(value = "Required a different provider: %s", id = 226)
	void requiredDifferentProvider(String provider);

	@LogMessage(level = INFO)
	@Message(value = "Running hbm2ddl schema export", id = 227)
	void runningHbm2ddlSchemaExport();

	@LogMessage(level = INFO)
	@Message(value = "Running hbm2ddl schema update", id = 228)
	void runningHbm2ddlSchemaUpdate();

	@LogMessage(level = INFO)
	@Message(value = "Running schema validator", id = 229)
	void runningSchemaValidator();

	@LogMessage(level = INFO)
	@Message(value = "Schema export complete", id = 230)
	void schemaExportComplete();

	@LogMessage(level = ERROR)
	@Message(value = "Schema export unsuccessful", id = 231)
	void schemaExportUnsuccessful(@Cause Exception e);

	@LogMessage(level = INFO)
	@Message(value = "Schema update complete", id = 232)
	void schemaUpdateComplete();

	@LogMessage(level = WARN)
	@Message(value = "Scoping types to session factory %s after already scoped %s", id = 233)
	void scopingTypesToSessionFactoryAfterAlreadyScoped(SessionFactoryImplementor factory,
														SessionFactoryImplementor factory2);

	@LogMessage(level = INFO)
	@Message(value = "Searching for mapping documents in jar: %s", id = 235)
	void searchingForMappingDocuments(String name);

	@LogMessage(level = INFO)
	@Message(value = "Second level cache hits: %s", id = 237)
	void secondLevelCacheHits(long secondLevelCacheHitCount);

	@LogMessage(level = INFO)
	@Message(value = "Second level cache misses: %s", id = 238)
	void secondLevelCacheMisses(long secondLevelCacheMissCount);

	@LogMessage(level = INFO)
	@Message(value = "Second level cache puts: %s", id = 239)
	void secondLevelCachePuts(long secondLevelCachePutCount);

	@LogMessage(level = INFO)
	@Message(value = "Service properties: %s", id = 240)
	void serviceProperties(Properties properties);

	@LogMessage(level = INFO)
	@Message(value = "Sessions closed: %s", id = 241)
	void sessionsClosed(long sessionCloseCount);

	@LogMessage(level = INFO)
	@Message(value = "Sessions opened: %s", id = 242)
	void sessionsOpened(long sessionOpenCount);

	@LogMessage(level = ERROR)
	@Message(value = "Setters of lazy classes cannot be final: %s.%s", id = 243)
	void settersOfLazyClassesCannotBeFinal(String entityName,
										   String name);

	@LogMessage(level = WARN)
	@Message(value = "@Sort not allowed for an indexed collection, annotation ignored.", id = 244)
	void sortAnnotationIndexedCollection();

	@LogMessage(level = WARN)
	@Message(value = "Manipulation query [%s] resulted in [%s] split queries", id = 245)
	void splitQueries(String sourceQuery,
					  int length);

	@LogMessage(level = ERROR)
	@Message(value = "SQLException escaped proxy", id = 246)
	void sqlExceptionEscapedProxy(@Cause SQLException e);

	@LogMessage(level = WARN)
	@Message(value = "SQL Error: %s, SQLState: %s", id = 247)
	void sqlWarning(int errorCode,
					String sqlState);

	@LogMessage(level = INFO)
	@Message(value = "Starting query cache at region: %s", id = 248)
	void startingQueryCache(String region);

	@LogMessage(level = INFO)
	@Message(value = "Starting service at JNDI name: %s", id = 249)
	void startingServiceAtJndiName(String boundName);

	@LogMessage(level = INFO)
	@Message(value = "Starting update timestamps cache at region: %s", id = 250)
	void startingUpdateTimestampsCache(String region);

	@LogMessage(level = INFO)
	@Message(value = "Start time: %s", id = 251)
	void startTime(long startTime);

	@LogMessage(level = INFO)
	@Message(value = "Statements closed: %s", id = 252)
	void statementsClosed(long closeStatementCount);

	@LogMessage(level = INFO)
	@Message(value = "Statements prepared: %s", id = 253)
	void statementsPrepared(long prepareStatementCount);

	@LogMessage(level = INFO)
	@Message(value = "Stopping service", id = 255)
	void stoppingService();

	@LogMessage(level = INFO)
	@Message(value = "sub-resolver threw unexpected exception, continuing to next : %s", id = 257)
	void subResolverException(String message);

	@LogMessage(level = INFO)
	@Message(value = "Successful transactions: %s", id = 258)
	void successfulTransactions(long committedTransactionCount);

	@LogMessage(level = INFO)
	@Message(value = "Synchronization [%s] was already registered", id = 259)
	void synchronizationAlreadyRegistered(Synchronization synchronization);

	@LogMessage(level = ERROR)
	@Message(value = "Exception calling user Synchronization [%s] : %s", id = 260)
	void synchronizationFailed(Synchronization synchronization,
							   Throwable t);

	@LogMessage(level = INFO)
	@Message(value = "Table found: %s", id = 261)
	void tableFound(String string);

	@LogMessage(level = INFO)
	@Message(value = "Table not found: %s", id = 262)
	void tableNotFound(String name);

	@LogMessage(level = INFO)
	@Message(value = "Transactions: %s", id = 266)
	void transactions(long transactionCount);

	@LogMessage(level = WARN)
	@Message(value = "Transaction started on non-root session", id = 267)
	void transactionStartedOnNonRootSession();

	@LogMessage(level = INFO)
	@Message(value = "Transaction strategy: %s", id = 268)
	void transactionStrategy(String strategyClassName);

	@LogMessage(level = WARN)
	@Message(value = "Type [%s] defined no registration keys; ignoring", id = 269)
	void typeDefinedNoRegistrationKeys(BasicType type);

	@LogMessage(level = INFO)
	@Message(value = "Type registration [%s] overrides previous : %s", id = 270)
	void typeRegistrationOverridesPrevious(String key,
										   Type old);

	@LogMessage(level = WARN)
	@Message(value = "Naming exception occurred accessing Ejb3Configuration", id = 271)
	void unableToAccessEjb3Configuration(@Cause NamingException e);

	@LogMessage(level = ERROR)
	@Message(value = "Error while accessing session factory with JNDI name %s", id = 272)
	void unableToAccessSessionFactory(String sfJNDIName,
									  @Cause NamingException e);

	@LogMessage(level = WARN)
	@Message(value = "Error accessing type info result set : %s", id = 273)
	void unableToAccessTypeInfoResultSet(String string);

	@LogMessage(level = WARN)
	@Message(value = "Unable to apply constraints on DDL for %s", id = 274)
	void unableToApplyConstraints(String className,
								  @Cause Exception e);

	@LogMessage(level = WARN)
	@Message(value = "Could not bind Ejb3Configuration to JNDI", id = 276)
	void unableToBindEjb3ConfigurationToJndi(@Cause JndiException e);

	@LogMessage(level = WARN)
	@Message(value = "Could not bind factory to JNDI", id = 277)
	void unableToBindFactoryToJndi(@Cause JndiException e);

	@LogMessage(level = INFO)
	@Message(value = "Could not bind value '%s' to parameter: %s; %s", id = 278)
	void unableToBindValueToParameter(String nullSafeToString,
									  int index,
									  String message);

	@LogMessage(level = ERROR)
	@Message(value = "Unable to build enhancement metamodel for %s", id = 279)
	void unableToBuildEnhancementMetamodel(String className);

	@LogMessage(level = INFO)
	@Message(value = "Could not build SessionFactory using the MBean classpath - will try again using client classpath: %s",
			id = 280)
	void unableToBuildSessionFactoryUsingMBeanClasspath(String message);

	@LogMessage(level = WARN)
	@Message(value = "Unable to clean up callable statement", id = 281)
	void unableToCleanUpCallableStatement(@Cause SQLException e);

	@LogMessage(level = WARN)
	@Message(value = "Unable to clean up prepared statement", id = 282)
	void unableToCleanUpPreparedStatement(@Cause SQLException e);

	@LogMessage(level = WARN)
	@Message(value = "Unable to cleanup temporary id table after use [%s]", id = 283)
	void unableToCleanupTemporaryIdTable(Throwable t);

	@LogMessage(level = ERROR)
	@Message(value = "Error closing connection", id = 284)
	void unableToCloseConnection(@Cause Exception e);

	@LogMessage(level = INFO)
	@Message(value = "Error closing InitialContext [%s]", id = 285)
	void unableToCloseInitialContext(String string);

	@LogMessage(level = ERROR)
	@Message(value = "Error closing input files: %s", id = 286)
	void unableToCloseInputFiles(String name,
								 @Cause IOException e);

	@LogMessage(level = WARN)
	@Message(value = "Could not close input stream", id = 287)
	void unableToCloseInputStream(@Cause IOException e);

	@LogMessage(level = WARN)
	@Message(value = "Could not close input stream for %s", id = 288)
	void unableToCloseInputStreamForResource(String resourceName,
											 @Cause IOException e);

	@LogMessage(level = INFO)
	@Message(value = "Unable to close iterator", id = 289)
	void unableToCloseIterator(@Cause SQLException e);

	@LogMessage(level = ERROR)
	@Message(value = "Could not close jar: %s", id = 290)
	void unableToCloseJar(String message);

	@LogMessage(level = ERROR)
	@Message(value = "Error closing output file: %s", id = 291)
	void unableToCloseOutputFile(String outputFile,
								 @Cause IOException e);

	@LogMessage(level = WARN)
	@Message(value = "IOException occurred closing output stream", id = 292)
	void unableToCloseOutputStream(@Cause IOException e);

	@LogMessage(level = WARN)
	@Message(value = "Problem closing pooled connection", id = 293)
	void unableToClosePooledConnection(@Cause SQLException e);

	@LogMessage(level = ERROR)
	@Message(value = "Could not close session", id = 294)
	void unableToCloseSession(@Cause HibernateException e);

	@LogMessage(level = ERROR)
	@Message(value = "Could not close session during rollback", id = 295)
	void unableToCloseSessionDuringRollback(@Cause Exception e);

	@LogMessage(level = WARN)
	@Message(value = "IOException occurred closing stream", id = 296)
	void unableToCloseStream(@Cause IOException e);

	@LogMessage(level = ERROR)
	@Message(value = "Could not close stream on hibernate.properties: %s", id = 297)
	void unableToCloseStreamError(IOException error);

	@Message(value = "JTA commit failed", id = 298)
	String unableToCommitJta();

	@LogMessage(level = ERROR)
	@Message(value = "Could not complete schema update", id = 299)
	void unableToCompleteSchemaUpdate(@Cause Exception e);

	@LogMessage(level = ERROR)
	@Message(value = "Could not complete schema validation", id = 300)
	void unableToCompleteSchemaValidation(@Cause SQLException e);

	@LogMessage(level = WARN)
	@Message(value = "Unable to configure SQLExceptionConverter : %s", id = 301)
	void unableToConfigureSqlExceptionConverter(HibernateException e);

	@LogMessage(level = ERROR)
	@Message(value = "Unable to construct current session context [%s]", id = 302)
	void unableToConstructCurrentSessionContext(String impl,
												@Cause Throwable e);

	@LogMessage(level = WARN)
	@Message(value = "Unable to construct instance of specified SQLExceptionConverter : %s", id = 303)
	void unableToConstructSqlExceptionConverter(Throwable t);

	@LogMessage(level = WARN)
	@Message(value = "Could not copy system properties, system properties will be ignored", id = 304)
	void unableToCopySystemProperties();

	@LogMessage(level = WARN)
	@Message(value = "Could not create proxy factory for:%s", id = 305)
	void unableToCreateProxyFactory(String entityName,
									@Cause HibernateException e);

	@LogMessage(level = ERROR)
	@Message(value = "Error creating schema ", id = 306)
	void unableToCreateSchema(@Cause Exception e);

	@LogMessage(level = WARN)
	@Message(value = "Could not deserialize cache file: %s : %s", id = 307)
	void unableToDeserializeCache(String path,
								  SerializationException error);

	@LogMessage(level = WARN)
	@Message(value = "Unable to destroy cache: %s", id = 308)
	void unableToDestroyCache(String message);

	@LogMessage(level = WARN)
	@Message(value = "Unable to destroy query cache: %s: %s", id = 309)
	void unableToDestroyQueryCache(String region,
								   String message);

	@LogMessage(level = WARN)
	@Message(value = "Unable to destroy update timestamps cache: %s: %s", id = 310)
	void unableToDestroyUpdateTimestampsCache(String region,
											  String message);

	@LogMessage(level = INFO)
	@Message(value = "Unable to determine lock mode value : %s -> %s", id = 311)
	void unableToDetermineLockModeValue(String hintName,
										Object value);

	@Message(value = "Could not determine transaction status", id = 312)
	String unableToDetermineTransactionStatus();

	@Message(value = "Could not determine transaction status after commit", id = 313)
	String unableToDetermineTransactionStatusAfterCommit();

	@LogMessage(level = WARN)
	@Message(value = "Unable to drop temporary id table after use [%s]", id = 314)
	void unableToDropTemporaryIdTable(String message);

	@LogMessage(level = ERROR)
	@Message(value = "Exception executing batch [%s]", id = 315)
	void unableToExecuteBatch(String message);

	@LogMessage(level = WARN)
	@Message(value = "Error executing resolver [%s] : %s", id = 316)
	void unableToExecuteResolver(AbstractDialectResolver abstractDialectResolver,
								 String message);

	@LogMessage(level = INFO)
	@Message(value = "Could not find any META-INF/persistence.xml file in the classpath", id = 318)
	void unableToFindPersistenceXmlInClasspath();

	@LogMessage(level = ERROR)
	@Message(value = "Could not get database metadata", id = 319)
	void unableToGetDatabaseMetadata(@Cause SQLException e);

	@LogMessage(level = WARN)
	@Message(value = "Unable to instantiate configured schema name resolver [%s] %s", id = 320)
	void unableToInstantiateConfiguredSchemaNameResolver(String resolverClassName,
														 String message);

	@LogMessage(level = WARN)
	@Message(value = "Unable to instantiate specified optimizer [%s], falling back to noop", id = 322)
	void unableToInstantiateOptimizer(String type);

	@LogMessage(level = WARN)
	@Message(value = "Unable to instantiate UUID generation strategy class : %s", id = 325)
	void unableToInstantiateUuidGenerationStrategy(Exception ignore);

	@LogMessage(level = WARN)
	@Message(value = "Cannot join transaction: do not override %s", id = 326)
	void unableToJoinTransaction(String transactionStrategy);

	@LogMessage(level = INFO)
	@Message(value = "Error performing load command : %s", id = 327)
	void unableToLoadCommand(HibernateException e);

	@LogMessage(level = WARN)
	@Message(value = "Unable to load/access derby driver class sysinfo to check versions : %s", id = 328)
	void unableToLoadDerbyDriver(String message);

	@LogMessage(level = ERROR)
	@Message(value = "Problem loading properties from hibernate.properties", id = 329)
	void unableToLoadProperties();

	@Message(value = "Unable to locate config file: %s", id = 330)
	String unableToLocateConfigFile(String path);

	@LogMessage(level = WARN)
	@Message(value = "Unable to locate configured schema name resolver class [%s] %s", id = 331)
	void unableToLocateConfiguredSchemaNameResolver(String resolverClassName,
													String message);

	@LogMessage(level = WARN)
	@Message(value = "Unable to locate MBeanServer on JMX service shutdown", id = 332)
	void unableToLocateMBeanServer();

	@LogMessage(level = INFO)
	@Message(value = "Could not locate 'java.sql.NClob' class; assuming JDBC 3", id = 333)
	void unableToLocateNClobClass();

	@LogMessage(level = WARN)
	@Message(value = "Unable to locate requested UUID generation strategy class : %s", id = 334)
	void unableToLocateUuidGenerationStrategy(String strategyClassName);

	@LogMessage(level = WARN)
	@Message(value = "Unable to log SQLWarnings : %s", id = 335)
	void unableToLogSqlWarnings(SQLException sqle);

	@LogMessage(level = WARN)
	@Message(value = "Could not log warnings", id = 336)
	void unableToLogWarnings(@Cause SQLException e);

	@LogMessage(level = ERROR)
	@Message(value = "Unable to mark for rollback on PersistenceException: ", id = 337)
	void unableToMarkForRollbackOnPersistenceException(@Cause Exception e);

	@LogMessage(level = ERROR)
	@Message(value = "Unable to mark for rollback on TransientObjectException: ", id = 338)
	void unableToMarkForRollbackOnTransientObjectException(@Cause Exception e);

	@LogMessage(level = WARN)
	@Message(value = "Could not obtain connection metadata: %s", id = 339)
	void unableToObjectConnectionMetadata(SQLException error);

	@LogMessage(level = WARN)
	@Message(value = "Could not obtain connection to query metadata: %s", id = 340)
	void unableToObjectConnectionToQueryMetadata(SQLException error);

	@LogMessage(level = WARN)
	@Message(value = "Could not obtain connection metadata : %s", id = 341)
	void unableToObtainConnectionMetadata(String message);

	@LogMessage(level = WARN)
	@Message(value = "Could not obtain connection to query metadata : %s", id = 342)
	void unableToObtainConnectionToQueryMetadata(String message);

	@LogMessage(level = ERROR)
	@Message(value = "Could not obtain initial context", id = 343)
	void unableToObtainInitialContext(@Cause NamingException e);

	@LogMessage(level = ERROR)
	@Message(value = "Could not parse the package-level metadata [%s]", id = 344)
	void unableToParseMetadata(String packageName);

	@Message(value = "JDBC commit failed", id = 345)
	String unableToPerformJdbcCommit();

	@LogMessage(level = ERROR)
	@Message(value = "Error during managed flush [%s]", id = 346)
	void unableToPerformManagedFlush(String message);

	@Message(value = "Unable to query java.sql.DatabaseMetaData", id = 347)
	String unableToQueryDatabaseMetadata();

	@LogMessage(level = ERROR)
	@Message(value = "Unable to read class: %s", id = 348)
	void unableToReadClass(String message);

	@LogMessage(level = INFO)
	@Message(value = "Could not read column value from result set: %s; %s", id = 349)
	void unableToReadColumnValueFromResultSet(String name,
											  String message);

	@Message(value = "Could not read a hi value - you need to populate the table: %s", id = 350)
	String unableToReadHiValue(String tableName);

	@LogMessage(level = ERROR)
	@Message(value = "Could not read or init a hi value", id = 351)
	void unableToReadOrInitHiValue(@Cause SQLException e);

	@LogMessage(level = ERROR)
	@Message(value = "Unable to release batch statement...", id = 352)
	void unableToReleaseBatchStatement();

	@LogMessage(level = ERROR)
	@Message(value = "Could not release a cache lock : %s", id = 353)
	void unableToReleaseCacheLock(CacheException ce);

	@LogMessage(level = INFO)
	@Message(value = "Unable to release initial context: %s", id = 354)
	void unableToReleaseContext(String message);

	@LogMessage(level = WARN)
	@Message(value = "Unable to release created MBeanServer : %s", id = 355)
	void unableToReleaseCreatedMBeanServer(String string);

	@LogMessage(level = INFO)
	@Message(value = "Unable to release isolated connection [%s]", id = 356)
	void unableToReleaseIsolatedConnection(Throwable ignore);

	@LogMessage(level = WARN)
	@Message(value = "Unable to release type info result set", id = 357)
	void unableToReleaseTypeInfoResultSet();

	@LogMessage(level = WARN)
	@Message(value = "Unable to erase previously added bag join fetch", id = 358)
	void unableToRemoveBagJoinFetch();

	@LogMessage(level = INFO)
	@Message(value = "Could not resolve aggregate function {}; using standard definition", id = 359)
	void unableToResolveAggregateFunction(String name);

	@LogMessage(level = INFO)
	@Message(value = "Unable to resolve mapping file [%s]", id = 360)
	void unableToResolveMappingFile(String xmlFile);

	@LogMessage(level = INFO)
	@Message(value = "Unable to retreive cache from JNDI [%s]: %s", id = 361)
	void unableToRetrieveCache(String namespace,
							   String message);

	@LogMessage(level = WARN)
	@Message(value = "Unable to retrieve type info result set : %s", id = 362)
	void unableToRetrieveTypeInfoResultSet(String string);

	@LogMessage(level = INFO)
	@Message(value = "Unable to rollback connection on exception [%s]", id = 363)
	void unableToRollbackConnection(Exception ignore);

	@LogMessage(level = INFO)
	@Message(value = "Unable to rollback isolated transaction on error [%s] : [%s]", id = 364)
	void unableToRollbackIsolatedTransaction(Exception e,
											 Exception ignore);

	@Message(value = "JTA rollback failed", id = 365)
	String unableToRollbackJta();

	@LogMessage(level = ERROR)
	@Message(value = "Error running schema update", id = 366)
	void unableToRunSchemaUpdate(@Cause Exception e);

	@LogMessage(level = ERROR)
	@Message(value = "Could not set transaction to rollback only", id = 367)
	void unableToSetTransactionToRollbackOnly(@Cause SystemException e);

	@LogMessage(level = WARN)
	@Message(value = "Exception while stopping service", id = 368)
	void unableToStopHibernateService(@Cause Exception e);

	@LogMessage(level = INFO)
	@Message(value = "Error stopping service [%s] : %s", id = 369)
	void unableToStopService(Class class1,
							 String string);

	@LogMessage(level = WARN)
	@Message(value = "Exception switching from method: [%s] to a method using the column index. Reverting to using: [%<s]",
			id = 370)
	void unableToSwitchToMethodUsingColumnIndex(Method method);

	@LogMessage(level = ERROR)
	@Message(value = "Could not synchronize database state with session: %s", id = 371)
	void unableToSynchronizeDatabaseStateWithSession(HibernateException he);

	@LogMessage(level = ERROR)
	@Message(value = "Could not toggle autocommit", id = 372)
	void unableToToggleAutoCommit(@Cause Exception e);

	@LogMessage(level = ERROR)
	@Message(value = "Unable to transform class: %s", id = 373)
	void unableToTransformClass(String message);

	@LogMessage(level = WARN)
	@Message(value = "Could not unbind factory from JNDI", id = 374)
	void unableToUnbindFactoryFromJndi(@Cause JndiException e);

	@Message(value = "Could not update hi value in: %s", id = 375)
	Object unableToUpdateHiValue(String tableName);

	@LogMessage(level = ERROR)
	@Message(value = "Could not updateQuery hi value in: %s", id = 376)
	void unableToUpdateQueryHiValue(String tableName,
									@Cause SQLException e);

	@LogMessage(level = INFO)
	@Message(value = "Error wrapping result set", id = 377)
	void unableToWrapResultSet(@Cause SQLException e);

	@LogMessage(level = WARN)
	@Message(value = "I/O reported error writing cached file : %s: %s", id = 378)
	void unableToWriteCachedFile(String path,
								 String message);

	@LogMessage(level = WARN)
	@Message(value = "Unexpected literal token type [%s] passed for numeric processing", id = 380)
	void unexpectedLiteralTokenType(int type);

	@LogMessage(level = WARN)
	@Message(value = "JDBC driver did not return the expected number of row counts", id = 381)
	void unexpectedRowCounts();

	@LogMessage(level = WARN)
	@Message(value = "unrecognized bytecode provider [%s], using javassist by default", id = 382)
	void unknownBytecodeProvider(String providerName);

	@LogMessage(level = WARN)
	@Message(value = "Unknown Ingres major version [%s]; using Ingres 9.2 dialect", id = 383)
	void unknownIngresVersion(int databaseMajorVersion);

	@LogMessage(level = WARN)
	@Message(value = "Unknown Oracle major version [%s]", id = 384)
	void unknownOracleVersion(int databaseMajorVersion);

	@LogMessage(level = WARN)
	@Message(value = "Unknown Microsoft SQL Server major version [%s] using SQL Server 2000 dialect", id = 385)
	void unknownSqlServerVersion(int databaseMajorVersion);

	@LogMessage(level = WARN)
	@Message(value = "ResultSet had no statement associated with it, but was not yet registered", id = 386)
	void unregisteredResultSetWithoutStatement();

	@LogMessage(level = WARN)
	@Message(value = "ResultSet's statement was not registered", id = 387)
	void unregisteredStatement();

	@LogMessage(level = ERROR)
	@Message(value = "Unsuccessful: %s", id = 388)
	void unsuccessful(String sql);

	@LogMessage(level = ERROR)
	@Message(value = "Unsuccessful: %s", id = 389)
	void unsuccessfulCreate(String string);

	@LogMessage(level = WARN)
	@Message(value = "Overriding release mode as connection provider does not support 'after_statement'", id = 390)
	void unsupportedAfterStatement();

	@LogMessage(level = WARN)
	@Message(value = "Ingres 10 is not yet fully supported; using Ingres 9.3 dialect", id = 391)
	void unsupportedIngresVersion();

	@LogMessage(level = WARN)
	@Message(value = "Hibernate does not support SequenceGenerator.initialValue() unless '%s' set", id = 392)
	void unsupportedInitialValue(String propertyName);

	@LogMessage(level = WARN)
	@Message(value = "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",
			id = 393)
	void unsupportedMultiTableBulkHqlJpaql(int majorVersion,
										   int minorVersion,
										   int buildId);

	@LogMessage(level = WARN)
	@Message(value = "Oracle 11g is not yet fully supported; using Oracle 10g dialect", id = 394)
	void unsupportedOracleVersion();

	@LogMessage(level = WARN)
	@Message(value = "Usage of obsolete property: %s no longer supported, use: %s", id = 395)
	void unsupportedProperty(Object propertyName,
							 Object newPropertyName);

	@LogMessage(level = INFO)
	@Message(value = "Updating schema", id = 396)
	void updatingSchema();

	@LogMessage(level = INFO)
	@Message(value = "Using ASTQueryTranslatorFactory", id = 397)
	void usingAstQueryTranslatorFactory();

	@LogMessage(level = INFO)
	@Message(value = "Explicit segment value for id generator [%s.%s] suggested; using default [%s]", id = 398)
	void usingDefaultIdGeneratorSegmentValue(String tableName,
											 String segmentColumnName,
											 String defaultToUse);

	@LogMessage(level = INFO)
	@Message(value = "Using default transaction strategy (direct JDBC transactions)", id = 399)
	void usingDefaultTransactionStrategy();

	@LogMessage(level = INFO)
	@Message(value = "Using dialect: %s", id = 400)
	void usingDialect(Dialect dialect);

	@LogMessage(level = INFO)
	@Message(value = "using driver [%s] at URL [%s]", id = 401)
	void usingDriver(String driverClassName,
					 String url);

	@LogMessage(level = INFO)
	@Message(value = "Using Hibernate built-in connection pool (not for production use!)", id = 402)
	void usingHibernateBuiltInConnectionPool();

	@LogMessage(level = ERROR)
	@Message(value = "Don't use old DTDs, read the Hibernate 3.x Migration Guide!", id = 404)
	void usingOldDtd();

	@LogMessage(level = INFO)
	@Message(value = "Using bytecode reflection optimizer", id = 406)
	void usingReflectionOptimizer();

	@LogMessage(level = INFO)
	@Message(value = "Using java.io streams to persist binary types", id = 407)
	void usingStreams();

	@LogMessage(level = INFO)
	@Message(value = "Using workaround for JVM bug in java.sql.Timestamp", id = 408)
	void usingTimestampWorkaround();

	@LogMessage(level = WARN)
	@Message(value = "Using %s which does not generate IETF RFC 4122 compliant UUID values; consider using %s instead",
			id = 409)
	void usingUuidHexGenerator(String name,
							   String name2);

	@LogMessage(level = INFO)
	@Message(value = "Hibernate Validator not found: ignoring", id = 410)
	void validatorNotFound();

	@LogMessage(level = INFO)
	@Message(value = "Hibernate Core {%s}", id = 412)
	void version(String versionString);

	@LogMessage(level = WARN)
	@Message(value = "Warnings creating temp table : %s", id = 413)
	void warningsCreatingTempTable(SQLWarning warning);

	@LogMessage(level = INFO)
	@Message(value = "Property hibernate.search.autoregister_listeners is set to false. No attempt will be made to register Hibernate Search event listeners.",
			id = 414)
	void willNotRegisterListeners();

	@LogMessage(level = WARN)
	@Message(value = "Write locks via update not supported for non-versioned entities [%s]", id = 416)
	void writeLocksNotSupported(String entityName);

	@LogMessage(level = INFO)
	@Message(value = "Writing generated schema to file: %s", id = 417)
	void writingGeneratedSchemaToFile(String outputFile);

	@LogMessage(level = INFO)
	@Message(value = "Adding override for %s: %s", id = 418)
	void addingOverrideFor(String name,
						   String name2);

	@LogMessage(level = WARN)
	@Message(value = "Resolved SqlTypeDescriptor is for a different SQL code. %s has sqlCode=%s; type override %s has sqlCode=%s",
			id = 419)
	void resolvedSqlTypeDescriptorForDifferentSqlCode(String name,
													  String valueOf,
													  String name2,
													  String valueOf2);

	@LogMessage(level = DEBUG)
	@Message(value = "Closing un-released batch", id = 420)
	void closingUnreleasedBatch();

	@LogMessage(level = INFO)
	@Message(value = "Disabling contextual LOB creation as %s is true", id = 421)
	void disablingContextualLOBCreation(String nonContextualLobCreation);

	@LogMessage(level = INFO)
	@Message(value = "Disabling contextual LOB creation as connection was null", id = 422)
	void disablingContextualLOBCreationSinceConnectionNull();

	@LogMessage(level = INFO)
	@Message(value = "Disabling contextual LOB creation as JDBC driver reported JDBC version [%s] less than 4",
			id = 423)
	void disablingContextualLOBCreationSinceOldJdbcVersion(int jdbcMajorVersion);

	@LogMessage(level = INFO)
	@Message(value = "Disabling contextual LOB creation as createClob() method threw error : %s", id = 424)
	void disablingContextualLOBCreationSinceCreateClobFailed(Throwable t);

	@LogMessage(level = INFO)
	@Message(value = "Could not close session; swallowing exception as transaction completed", id = 425)
	void unableToCloseSessionButSwallowingError(HibernateException e);

	@LogMessage(level = WARN)
	@Message(value = "You should set hibernate.transaction.manager_lookup_class if cache is enabled", id = 426)
	void setManagerLookupClass();

	@LogMessage(level = WARN)
	@Message(value = "Using deprecated %s strategy [%s], use newer %s strategy instead [%s]", id = 427)
	void deprecatedTransactionManagerStrategy(String name,
											  String transactionManagerStrategy,
											  String name2,
											  String jtaPlatform);

	@LogMessage(level = INFO)
	@Message(value = "Encountered legacy TransactionManagerLookup specified; convert to newer %s contract specified via %s setting",
			id = 428)
	void legacyTransactionManagerStrategy(String name,
										  String jtaPlatform);

	@LogMessage(level = WARN)
	@Message(value = "Setting entity-identifier value binding where one already existed : %s.", id = 429)
	void entityIdentifierValueBindingExists(String name);

	@LogMessage(level = WARN)
	@Message(value = "The DerbyDialect dialect has been deprecated; use one of the version-specific dialects instead",
			id = 430)
	void deprecatedDerbyDialect();

	@LogMessage(level = WARN)
	@Message(value = "Unable to determine H2 database version, certain features may not work", id = 431)
	void undeterminedH2Version();

	@LogMessage(level = WARN)
	@Message(value = "There were not column names specified for index %s on table %s", id = 432)
	void noColumnsSpecifiedForIndex(String indexName, String tableName);
}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate CoreMessageLogger.java 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.