Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so.
This commit is contained in:
parent
a9b1425f3f
commit
9b7eb48b55
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public class LogUtil {
|
||||
|
||||
public static final org.jboss.logging.Logger TMP_LOG = org.jboss.logging.Logger.getLogger(LogUtil.class);
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.bytecode;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.DEBUG;
|
||||
import static org.jboss.logging.Logger.Level.ERROR;
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
public interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Per HHH-5451 support for cglib as a bytecode provider has been deprecated." )
|
||||
void deprecated();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Enhancing %s" )
|
||||
void enhancingClass( String className );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "reflection optimizer disabled for: %s [%s: %s" )
|
||||
void reflectionOptimizerDisabled( String className,
|
||||
String simpleClassName,
|
||||
String errorMessage );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "reflection optimizer disabled for: %s [%s: %s (property %s)" )
|
||||
void reflectionOptimizerDisabledForBulkException( String className,
|
||||
String simpleClassName,
|
||||
String errorMessage,
|
||||
String setterName );
|
||||
|
||||
@LogMessage( level = ERROR )
|
||||
@Message( value = "Unable to build enhancement metamodel for %s" )
|
||||
void unableToBuildEnhancementMetamodel( String className );
|
||||
|
||||
@LogMessage( level = ERROR )
|
||||
@Message( value = "Unable to read class: %s" )
|
||||
void unableToReadClass( String message );
|
||||
|
||||
@LogMessage( level = ERROR )
|
||||
@Message( value = "Unable to transform class: %s" )
|
||||
void unableToTransformClass( String message );
|
||||
}
|
|
@ -0,0 +1,218 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.cache;
|
||||
|
||||
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.TRACE;
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import java.io.Serializable;
|
||||
import java.util.Set;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Cached: %s" )
|
||||
void cached( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Caching: %s" )
|
||||
void caching( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Caching after insert: %s" )
|
||||
void cachingAfterInsert( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Caching query results in region: %s; timestamp=%s" )
|
||||
void cachingQueryResults( String region,
|
||||
Long ts );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Checking cached query results in region: %s" )
|
||||
void checkingQueryResults( String region );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Checking query spaces are up-to-date: %s" )
|
||||
void checkingQuerySpacesUpToDate( Set<Serializable> spaces );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Clearing" )
|
||||
void clearing();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Item already cached: %s" )
|
||||
void exists( Object key );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "An item was expired by the cache while it was locked (increase your cache timeout): %s" )
|
||||
void expired( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Cache hit: %s" )
|
||||
void hit( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Inserted: %s" )
|
||||
void inserted( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Inserting: %s" )
|
||||
void inserting( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Invalidating: %s" )
|
||||
void invalidating( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Invalidating space [%s], timestamp: %s" )
|
||||
void invalidatingSpace( Serializable space,
|
||||
Long ts );
|
||||
|
||||
@LogMessage( level = ERROR )
|
||||
@Message( value = "Application attempted to edit read only item: %s" )
|
||||
void invalidEditOfReadOnlyItem( Object key );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "key.hashCode=%s" )
|
||||
void key( int hashCode );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Cached item was locked: %s" )
|
||||
void locked( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Cache lookup: %s" )
|
||||
void lookup( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Cache miss: %s" )
|
||||
void miss( Object key );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = " tuple is null; returnTypes is %s" )
|
||||
void nullTuple( String returnTypesState );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Pre-invalidating space [%s]" )
|
||||
void preInvalidatingSpace( Serializable space );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Query results were not found in cache" )
|
||||
void queryResultsNotFound();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Cached query results were not up-to-date" )
|
||||
void queryResultsNotUpToDate();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "querySpaces=%s" )
|
||||
void querySpaces( Set<Serializable> spaces );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Releasing: %s" )
|
||||
void releasing( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Removing: %s" )
|
||||
void removing( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Returning cached query results" )
|
||||
void returningQueryResults();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "unexpected returnTypes is %s! result%s" )
|
||||
void returnTypeInfo( String returnTypeInfo );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "[%s] last update timestamp: %d, result set timestamp: %d" )
|
||||
void spaceLastUpdated( Serializable space,
|
||||
long lastUpdate,
|
||||
long timestamp );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Starting query cache at region: %s" )
|
||||
void startingQueryCache( String region );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Starting update timestamps cache at region: %s" )
|
||||
void startingUpdateTimestampsCache( String region );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = " tuple is Object[%d]; returnTypes is Type[%d]" )
|
||||
void tupleAndReturnTypes( int tupleCount,
|
||||
int returnTypeCount );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Unable to destroy cache: %s" )
|
||||
void unableToDestroyCache( String message );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Unable to destroy query cache: %s: %s" )
|
||||
void unableToDestroyQueryCache( String region,
|
||||
String message );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Unable to destroy update timestamps cache: %s: %s" )
|
||||
void unableToDestroyUpdateTimestampsCache( String region,
|
||||
String message );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Unable to reassemble cached result set" )
|
||||
void unableToReassembleResultSet();
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Unable to release initial context: %s" )
|
||||
void unableToReleaseContext( String message );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Unable to retreive cache from JNDI [%s]: %s" )
|
||||
void unableToRetrieveCache( String namespace,
|
||||
String message );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Unexpected result tuple! tuple is null; returnTypes is %s" )
|
||||
void unexpectedNonNullTupleResult( String returnTypesState );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Unexpected result tuple! tuple is null; should be Object[%d]!" )
|
||||
void unexpectedNullTupleResult( int returnTypeCount );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Unexpected returnTypes is %s! result%s" )
|
||||
void unexpectedReturnTypes( String returnTypesState,
|
||||
String resultState );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Unexpected tuple length! transformer= expected=%d got=%d" )
|
||||
void unexpectedTupleCount( int returntypesCount,
|
||||
int tupleCount );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Unexpected tuple value type! transformer= expected=%s got=%s" )
|
||||
void unexpectedTupleValueType( String returnTypeClassName,
|
||||
String tupleClassName );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Updated: %s" )
|
||||
void updated( Object key );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Updating: %s" )
|
||||
void updating( Object key );
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.cache.impl.bridge;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.INFO;
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger {
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Cache provider: %s" )
|
||||
void cacheProvider( String name );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "read-only cache configured for mutable collection [%s]" )
|
||||
void readOnlyCacheConfiguredForMutableCollection( String name );
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.dialect.lock;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Write locks via update not supported for non-versioned entities [%s]" )
|
||||
void writeLocksNotSupported( String entityName );
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.engine.jdbc.batch.internal;
|
||||
|
||||
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.TRACE;
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "On release of batch it still contained JDBC statements" )
|
||||
void batchContainedStatementsOnRelease();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "building batch [size=%d]" )
|
||||
void buildingBatch( int size );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Executing batch size: %d" )
|
||||
void executingBatchSize( int batchPosition );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "No batched statements to execute" )
|
||||
void noBatchesToExecute();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Reusing batch statement" )
|
||||
void reusingBatchStatement();
|
||||
|
||||
@LogMessage( level = ERROR )
|
||||
@Message( value = "SqlException escaped proxy : %s" )
|
||||
void sqlExceptionEscapedProxy( String message );
|
||||
|
||||
@LogMessage( level = ERROR )
|
||||
@Message( value = "Exception executing batch [%s]" )
|
||||
void unableToExecuteBatch( String message );
|
||||
|
||||
@LogMessage( level = ERROR )
|
||||
@Message( value = "Unable to release batch statement..." )
|
||||
void unableToReleaseBatchStatement();
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "JDBC driver did not return the expected number of row counts" )
|
||||
void unexpectedRowCounts();
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.hql.ast.exec;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.DEBUG;
|
||||
import static org.jboss.logging.Logger.Level.TRACE;
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import java.sql.SQLWarning;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Generated ID-INSERT-SELECT SQL (multi-table delete) : %s" )
|
||||
void generatedIdInsertSelectDelete( String idInsertSelect );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Generated ID-INSERT-SELECT SQL (multi-table update) : %s" )
|
||||
void generatedIdInsertSelectUpdate( String idInsertSelect );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Unable to cleanup temporary id table after use [%s]" )
|
||||
void unableToCleanupTemporaryIdTable( Throwable t );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Unable to create temporary id table [%s]" )
|
||||
void unableToCreateTemporaryIdTable( String message );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Unable to drop temporary id table after use [%s]" )
|
||||
void unableToDropTemporaryIdTable( String message );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Warnings creating temp table : %s" )
|
||||
void warningsCreatingTempTable( SQLWarning warning );
|
||||
}
|
|
@ -0,0 +1,169 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.hql.ast.tree;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.DEBUG;
|
||||
import static org.jboss.logging.Logger.Level.TRACE;
|
||||
import org.hibernate.persister.entity.Queryable.Declarer;
|
||||
import org.hibernate.type.Type;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
import antlr.collections.AST;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "addCollectionJoinFromElementByPath() : %s -> %s" )
|
||||
void addCollectionJoinFromElementByPath( String path,
|
||||
FromElement destination );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "addJoinByPathMap() : %s -> %s" )
|
||||
void addJoinByPathMap( String path,
|
||||
String displayText );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Attempt to disable subclass-inclusions : %s" )
|
||||
void attemptToDisableSubclassInclusions( Exception exception );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "collectionProperty() : name=%s type=%s" )
|
||||
void collectionProperty( AST name,
|
||||
Type type );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "%s() : correlated subquery" )
|
||||
void correlatedSubquery( String methodName );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "createEntityAssociation() : One to many - path = %s role = %s associatedEntityName = %s" )
|
||||
void createEntityAssociation( String path,
|
||||
String role,
|
||||
String associatedEntityName );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "createEntityJoin() : Implied multi-table entity join" )
|
||||
void createEntityJoin();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "createFromElementInSubselect() : creating a new FROM element..." )
|
||||
void createFromElementInSubselect();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "createFromElementInSubselect() : path = %s" )
|
||||
void createFromElementInSubselect( String path );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "createFromElementInSubselect() : %s -> %s" )
|
||||
void createFromElementInSubselect( String path,
|
||||
FromElement fromElement );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Creating elements for %s" )
|
||||
void creatingElements( String path );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Creating join for many-to-many elements for %s" )
|
||||
void creatingJoinForManyToManyElements( String path );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "createManyToMany() : path = %s role = %s associatedEntityName = %s" )
|
||||
void createManyToMany( String path,
|
||||
String role,
|
||||
String associatedEntityName );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "dereferenceCollection() : Created new FROM element for %s : %s" )
|
||||
void dereferenceCollection( String propName,
|
||||
FromElement elem );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "dereferenceEntityJoin() : generating join for %s in %s (%s) parent = %s" )
|
||||
void dereferenceEntityJoin( String propertyName,
|
||||
String className,
|
||||
String string,
|
||||
String debugString );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "dereferenceShortcut() : property %s in %s does not require a join." )
|
||||
void dereferenceShortcut( String propertyName,
|
||||
String className );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "%s : %s (%s) -> %s" )
|
||||
void fromClause( FromClause fromClause,
|
||||
String className,
|
||||
String string,
|
||||
String tableAlias );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "FROM element found for collection join path %s" )
|
||||
void fromElementFound( String path );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "getDataType() : %s -> %s" )
|
||||
void getDataType( String propertyPath,
|
||||
Type propertyType );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "getOrderByClause() : Creating a new ORDER BY clause" )
|
||||
void getOrderByClause();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Handling property dereference [%s (%s) -> %s (%s)]" )
|
||||
void handlingPropertyDereference( String entityName,
|
||||
String classAlias,
|
||||
String propertyName,
|
||||
Declarer propertyDeclarer );
|
||||
|
||||
@Message( value = "<no alias>" )
|
||||
String noAlias();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "No FROM element found for the elements of collection join path %s, created %s" )
|
||||
void noFromElementFound( String path,
|
||||
FromElement elem );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Promoting [%s] to [%s]" )
|
||||
void promoting( FromElement elem,
|
||||
FromClause fromClause );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Resolved : %s -> %s" )
|
||||
void resolved( String path,
|
||||
String text );
|
||||
|
||||
@Message( value = "Stack-trace source" )
|
||||
String stackTraceSource();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Terminal propertyPath = [%s]" )
|
||||
void terminalPropertyPath( String propertyPath );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "toColumns(%s,%s) : subquery = %s" )
|
||||
void toColumns( String tableAlias,
|
||||
String path,
|
||||
String subquery );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Unresolved property path is now '%s'" )
|
||||
void unresolvedPropertyPathIsNow( String propertyPath );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Using non-qualified column reference [%s -> (%s)]" )
|
||||
void usingNonQualifiedColumnReference( String path,
|
||||
String string );
|
||||
}
|
|
@ -0,0 +1,252 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.stat;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.INFO;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections fetched (minimize this): %ld" )
|
||||
void collectionsFetched( long collectionFetchCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections fetched (minimize this): %s" )
|
||||
void collectionsFetched( AtomicLong collectionFetchCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections loaded: %ld" )
|
||||
void collectionsLoaded( long collectionLoadCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections loaded: %s" )
|
||||
void collectionsLoaded( AtomicLong collectionLoadCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections recreated: %ld" )
|
||||
void collectionsRecreated( long collectionRecreateCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections recreated: %s" )
|
||||
void collectionsRecreated( AtomicLong collectionRecreateCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections removed: %ld" )
|
||||
void collectionsRemoved( long collectionRemoveCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections removed: %s" )
|
||||
void collectionsRemoved( AtomicLong collectionRemoveCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections updated: %ld" )
|
||||
void collectionsUpdated( long collectionUpdateCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Collections updated: %s" )
|
||||
void collectionsUpdated( AtomicLong collectionUpdateCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Connections obtained: %ld" )
|
||||
void connectionsObtained( long connectCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Connections obtained: %s" )
|
||||
void connectionsObtained( AtomicLong connectCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities deleted: %ld" )
|
||||
void entitiesDeleted( long entityDeleteCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities deleted: %s" )
|
||||
void entitiesDeleted( AtomicLong entityDeleteCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities fetched (minimize this): %ld" )
|
||||
void entitiesFetched( long entityFetchCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities fetched (minimize this): %s" )
|
||||
void entitiesFetched( AtomicLong entityFetchCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities inserted: %ld" )
|
||||
void entitiesInserted( long entityInsertCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities inserted: %s" )
|
||||
void entitiesInserted( AtomicLong entityInsertCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities loaded: %ld" )
|
||||
void entitiesLoaded( long entityLoadCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities loaded: %s" )
|
||||
void entitiesLoaded( AtomicLong entityLoadCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities updated: %ld" )
|
||||
void entitiesUpdated( long entityUpdateCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Entities updated: %s" )
|
||||
void entitiesUpdated( AtomicLong entityUpdateCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Flushes: %ld" )
|
||||
void flushes( long flushCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Flushes: %s" )
|
||||
void flushes( AtomicLong flushCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "HQL: %s, time: %sms, rows: %s" )
|
||||
void hql( String hql,
|
||||
Long valueOf,
|
||||
Long valueOf2 );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Logging statistics...." )
|
||||
void loggingStatistics();
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Max query time: %ldms" )
|
||||
void maxQueryTime( long queryExecutionMaxTime );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Max query time: %sms" )
|
||||
void maxQueryTime( AtomicLong queryExecutionMaxTime );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Optimistic lock failures: %ld" )
|
||||
void optimisticLockFailures( long optimisticFailureCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Optimistic lock failures: %s" )
|
||||
void optimisticLockFailures( AtomicLong optimisticFailureCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Queries executed to database: %ld" )
|
||||
void queriesExecuted( long queryExecutionCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Queries executed to database: %s" )
|
||||
void queriesExecuted( AtomicLong queryExecutionCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Query cache hits: %ld" )
|
||||
void queryCacheHits( long queryCacheHitCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Query cache hits: %s" )
|
||||
void queryCacheHits( AtomicLong queryCacheHitCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Query cache misses: %ld" )
|
||||
void queryCacheMisses( long queryCacheMissCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Query cache misses: %s" )
|
||||
void queryCacheMisses( AtomicLong queryCacheMissCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Query cache puts: %ld" )
|
||||
void queryCachePuts( long queryCachePutCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Query cache puts: %s" )
|
||||
void queryCachePuts( AtomicLong queryCachePutCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Second level cache hits: %ld" )
|
||||
void secondLevelCacheHits( long secondLevelCacheHitCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Second level cache hits: %s" )
|
||||
void secondLevelCacheHits( AtomicLong secondLevelCacheHitCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Second level cache misses: %ld" )
|
||||
void secondLevelCacheMisses( long secondLevelCacheMissCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Second level cache misses: %s" )
|
||||
void secondLevelCacheMisses( AtomicLong secondLevelCacheMissCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Second level cache puts: %ld" )
|
||||
void secondLevelCachePuts( long secondLevelCachePutCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Second level cache puts: %s" )
|
||||
void secondLevelCachePuts( AtomicLong secondLevelCachePutCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Sessions closed: %ld" )
|
||||
void sessionsClosed( long sessionCloseCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Sessions closed: %s" )
|
||||
void sessionsClosed( AtomicLong sessionCloseCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Sessions opened: %ld" )
|
||||
void sessionsOpened( long sessionOpenCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Sessions opened: %s" )
|
||||
void sessionsOpened( AtomicLong sessionOpenCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Start time: %s" )
|
||||
void startTime( long startTime );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Statements closed: %ld" )
|
||||
void statementsClosed( long closeStatementCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Statements closed: %s" )
|
||||
void statementsClosed( AtomicLong closeStatementCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Statements prepared: %ld" )
|
||||
void statementsPrepared( long prepareStatementCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Statements prepared: %s" )
|
||||
void statementsPrepared( AtomicLong prepareStatementCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Successful transactions: %ld" )
|
||||
void successfulTransactions( long committedTransactionCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Successful transactions: %s" )
|
||||
void successfulTransactions( AtomicLong committedTransactionCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Transactions: %ld" )
|
||||
void transactions( long transactionCount );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Transactions: %s" )
|
||||
void transactions( AtomicLong transactionCount );
|
||||
}
|
|
@ -0,0 +1,182 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.transaction;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.DEBUG;
|
||||
import static org.jboss.logging.Logger.Level.INFO;
|
||||
import static org.jboss.logging.Logger.Level.TRACE;
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Attempting to locate UserTransaction via JNDI [%s]" )
|
||||
void attemptingToLocateUserTransactionViaJndi( String utName );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Automatically closing session" )
|
||||
void automaticallyClosingSession();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Automatically flushing session" )
|
||||
void automaticallyFlushingSession();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Began a new JTA transaction" )
|
||||
void beganNewJtaTransaction();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Begin" )
|
||||
void begin();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Commit" )
|
||||
void commit();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Committed JDBC Connection" )
|
||||
void commitedJdbcConnection();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Committed JTA UserTransaction" )
|
||||
void commitedJtaUserTransaction();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Configured JTATransactionFactory to use [%s] for UserTransaction JDNI namespace" )
|
||||
void configuredJtaTransactionFactoryForUserTransactionJndiNamespace( String userTransactionName );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "current autocommit status: %s" )
|
||||
void currentAutoCommitStatus( boolean toggleAutoCommit );
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Disabling autocommit" )
|
||||
void disablingAutoCommit();
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Instantiated TransactionManagerLookup" )
|
||||
void instantiatedTransactionManagerLookup();
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Instantiating TransactionManagerLookup: %s" )
|
||||
void instantiatingTransactionManagerLookup( String tmLookupClass );
|
||||
|
||||
@Message( value = "JDBC begin failed" )
|
||||
String jdbcBeginFailed();
|
||||
|
||||
@Message( value = "JDBC rollback failed" )
|
||||
String jdbcRollbackFailed();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Set JTA UserTransaction to rollback only" )
|
||||
void jtaUserTransactionSetToRollbackOnly();
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "You should set hibernate.transaction.manager_lookup_class if cache is enabled" )
|
||||
void managerLookupClassShouldBeSet();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Obtained UserTransaction" )
|
||||
void obtainedUserTransaction();
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Obtaining TransactionManager" )
|
||||
void obtainingTransactionManager();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Re-enabling autocommit" )
|
||||
void reenablingAutoCommit();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Rollback" )
|
||||
void rollback();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Rolled back JDBC Connection" )
|
||||
void rolledBackJdbcConnection();
|
||||
|
||||
@LogMessage( level = DEBUG )
|
||||
@Message( value = "Rolled back JTA UserTransaction" )
|
||||
void rolledBackJtaUserTransaction();
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Transaction after completion callback, status: %d" )
|
||||
void transactionAfterCompletionCallback( int status );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Transaction before completion callback" )
|
||||
void transactionBeforeCompletionCallback();
|
||||
|
||||
@Message( value = "TransactionFactory class not found" )
|
||||
String transactionFactoryClassNotFound();
|
||||
|
||||
@Message( value = "TransactionFactory class not found: %s" )
|
||||
String transactionFactoryClassNotFound( String strategyClassName );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)" )
|
||||
void transactionManagerLookupNotConfigured();
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Transaction strategy: %s" )
|
||||
void transactionStrategy( String strategyClassName );
|
||||
|
||||
@Message( value = "JTA transaction begin failed" )
|
||||
String unableToBeginJtaTransaction();
|
||||
|
||||
@Message( value = "Could not close session" )
|
||||
String unableToCloseSession();
|
||||
|
||||
@Message( value = "Could not close session during rollback" )
|
||||
String unableToCloseSessionDuringRollback();
|
||||
|
||||
@Message( value = "JTA commit failed" )
|
||||
String unableToCommitJta();
|
||||
|
||||
@Message( value = "Could not determine transaction status" )
|
||||
String unableToDetermineTransactionStatus();
|
||||
|
||||
@Message( value = "Could not determine transaction status after commit" )
|
||||
String unableToDetermineTransactionStatusAfterCommit();
|
||||
|
||||
@Message( value = "Failed to instantiate TransactionFactory" )
|
||||
String unableToInstantiateTransactionFactory();
|
||||
|
||||
@Message( value = "Failed to instantiate TransactionFactory: %s" )
|
||||
String unableToInstantiateTransactionFactory( Exception error );
|
||||
|
||||
@Message( value = "Failed to instantiate TransactionManagerLookup" )
|
||||
String unableToInstantiateTransactionManagerLookup();
|
||||
|
||||
@Message( value = "Failed to instantiate TransactionManagerLookup '%s'" )
|
||||
String unableToInstantiateTransactionManagerLookup( String tmLookupClass );
|
||||
|
||||
@Message( value = "JDBC commit failed" )
|
||||
String unableToPerformJdbcCommit();
|
||||
|
||||
@Message( value = "JTA rollback failed" )
|
||||
String unableToRollbackJta();
|
||||
|
||||
@Message( value = "Could not set transaction to rollback only" )
|
||||
String unableToSetTransactionToRollbackOnly();
|
||||
|
||||
@Message( value = "Could not toggle autocommit" )
|
||||
Object unableToToggleAutoCommit();
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Using default transaction strategy (direct JDBC transactions)" )
|
||||
void usingDefaultTransactionStrategy();
|
||||
}
|
|
@ -0,0 +1,72 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate.type;
|
||||
|
||||
import static org.jboss.logging.Logger.Level.INFO;
|
||||
import static org.jboss.logging.Logger.Level.TRACE;
|
||||
import static org.jboss.logging.Logger.Level.WARN;
|
||||
import org.hibernate.engine.SessionFactoryImplementor;
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.LogMessage;
|
||||
import org.jboss.logging.Message;
|
||||
import org.jboss.logging.MessageLogger;
|
||||
|
||||
/**
|
||||
* Interface defining messages that may be logged by the outer class
|
||||
*/
|
||||
@MessageLogger
|
||||
interface Logger extends BasicLogger {
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Binding null to parameter: %d" )
|
||||
void bindingToParameter( int index );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Binding '%d' to parameter: %d" )
|
||||
void bindingToParameter( int ordinal,
|
||||
int index );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Binding '%s' to parameter: %d" )
|
||||
void bindingToParameter( String name,
|
||||
int index );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Returning null as column %s" )
|
||||
void returningAsColumn( String string );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Returning '%d' as column %s" )
|
||||
void returningAsColumn( int ordinal,
|
||||
String string );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Returning '%s' as column %s" )
|
||||
void returningAsColumn( String name,
|
||||
String string );
|
||||
|
||||
@LogMessage( level = TRACE )
|
||||
@Message( value = "Scoping types to session factory %s" )
|
||||
void scopingTypesToSessionFactory( SessionFactoryImplementor factory );
|
||||
|
||||
@LogMessage( level = WARN )
|
||||
@Message( value = "Scoping types to session factory %s after already scoped %s" )
|
||||
void scopingTypesToSessionFactoryAfterAlreadyScoped( SessionFactoryImplementor factory,
|
||||
SessionFactoryImplementor factory2 );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Could not bind value '%s' to parameter: %d; %s" )
|
||||
void unableToBindValueToParameter( String nullSafeToString,
|
||||
int index,
|
||||
String message );
|
||||
|
||||
@LogMessage( level = INFO )
|
||||
@Message( value = "Could not read column value from result set: %s; %s" )
|
||||
void unableToReadColumnValueFromResultSet( String name,
|
||||
String message );
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* JBoss, Home of Professional Open Source.
|
||||
*
|
||||
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
|
||||
*
|
||||
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
|
||||
*/
|
||||
package org.hibernate;
|
||||
|
||||
import org.jboss.logging.BasicLogger;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public interface Logger extends BasicLogger {
|
||||
|
||||
}
|
Loading…
Reference in New Issue