Module org.eclipse.persistence.jpa
Class MetadataLogger
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.MetadataLogger
INTERNAL:
Logger class for the metadata processors. It defines the specific and
common log messages used by the metadata processor for the XML and
annotation contexts.
- Since:
- TopLink EJB 3.0 Reference Implementation
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected AbstractSession
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addContextString
(String context) INTERNAL: Add a context string to the map of contexts.protected String
getLoggingContextString
(String context) INTERNAL: Return the logging context string for the given context.INTERNAL: Set the session to log to.void
INTERNAL: Logging utility method.void
logConfigMessage
(String ctx, Object object) INTERNAL: Logging utility method.void
logConfigMessage
(String ctx, Object param1, Object param2) INTERNAL: Logging utility method.void
logConfigMessage
(String ctx, Object param1, Object param2, Object param3) INTERNAL: Logging utility method.void
INTERNAL: Logging utility method.void
logConfigMessage
(String ctx, MetadataAccessor accessor, Object param) INTERNAL: Logging utility method.void
logConfigMessage
(String ctx, MetadataAccessor accessor, Object param1, Object param2) INTERNAL: Logging utility method.void
logConfigMessage
(String ctx, MetadataDescriptor descriptor, Object param) INTERNAL: Logging utility method.void
logWarningMessage
(String ctx, Object param) INTERNAL: Logging utility method.void
logWarningMessage
(String ctx, Object param1, Object param2) INTERNAL: Logging utility method.void
logWarningMessage
(String ctx, Object param1, Object param2, Object param3) INTERNAL: Logging utility method.void
logWarningMessage
(String ctx, Object param1, Object param2, Object param3, Object param4, Object param5) INTERNAL: Logging utility method.void
logWarningMessage
(String ctx, MetadataAccessor accessor) INTERNAL: Logging utility method.void
setSession
(AbstractSession session) INTERNAL: Set the session to log to.boolean
shouldLog
(LogLevel level, LogCategory category) INTERNAL: Check if a message of the givenLogLevel
andLogCategory
would actually be logged.
-
Field Details
-
OVERRIDE_ANNOTATION_WITH_XML
- See Also:
-
OVERRIDE_NAMED_ANNOTATION_WITH_XML
- See Also:
-
OVERRIDE_XML_WITH_ECLIPSELINK_XML
- See Also:
-
OVERRIDE_NAMED_XML_WITH_ECLIPSELINK_XML
- See Also:
-
IGNORE_ANNOTATION
- See Also:
-
IGNORE_PRIVATE_OWNED_ANNOTATION
- See Also:
-
IGNORE_RETURN_INSERT_ANNOTATION
- See Also:
-
IGNORE_RETURN_UPDATE_ANNOTATION
- See Also:
-
IGNORE_LOB
- See Also:
-
IGNORE_ENUMERATED
- See Also:
-
IGNORE_SERIALIZED
- See Also:
-
IGNORE_TEMPORAL
- See Also:
-
IGNORE_CONVERTS
- See Also:
-
IGNORE_AUTO_APPLY_CONVERTER
- See Also:
-
IGNORE_CACHEABLE_FALSE
- See Also:
-
IGNORE_CACHEABLE_TRUE
- See Also:
-
IGNORE_ATTRIBUTE_OVERRIDE
- See Also:
-
IGNORE_ASSOCIATION_OVERRIDE
- See Also:
-
IGNORE_VERSION_LOCKING
- See Also:
-
IGNORE_INHERITANCE_SUBCLASS_CACHE
- See Also:
-
IGNORE_INHERITANCE_SUBCLASS_CACHE_INTERCEPTOR
- See Also:
-
IGNORE_INHERITANCE_SUBCLASS_DEFAULT_REDIRECTORS
- See Also:
-
IGNORE_INHERITANCE_SUBCLASS_READ_ONLY
- See Also:
-
IGNORE_INHERITANCE_TENANT_DISCRIMINATOR_COLUMN
- See Also:
-
IGNORE_INHERITANCE_TENANT_TABLE_DISCRIMINATOR
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_COPY_POLICY
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_ADDITIONAL_CRITERIA
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_ASSOCIATION_OVERRIDE
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_ATTRIBUTE_OVERRIDE
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_CACHE
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_CACHEABLE
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_CACHE_INTERCEPTOR
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_DEFAULT_REDIRECTORS
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_CHANGE_TRACKING
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_CUSTOMIZER
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_ID_CLASS
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_EXISTENCE_CHECKING
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_OPTIMISTIC_LOCKING
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_READ_ONLY
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_FETCH_GROUP
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_ANNOTATION
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_PRIMARY_KEY
- See Also:
-
IGNORE_MAPPED_SUPERCLASS_MULTITENANT
- See Also:
-
IGNORE_FETCH_GROUP
- See Also:
-
IGNORE_MAPPING_METADATA
- See Also:
-
ACCESS_TYPE
- See Also:
-
ALIAS
- See Also:
-
MAP_KEY_ATTRIBUTE_NAME
- See Also:
-
TABLE_NAME
- See Also:
-
TABLE_SCHEMA
- See Also:
-
TABLE_CATALOG
- See Also:
-
TABLE_GENERATOR_NAME
- See Also:
-
TABLE_GENERATOR_SCHEMA
- See Also:
-
TABLE_GENERATOR_CATALOG
- See Also:
-
TABLE_GENERATOR_PK_COLUMN_VALUE
- See Also:
-
SEQUENCE_GENERATOR_SCHEMA
- See Also:
-
SEQUENCE_GENERATOR_CATALOG
- See Also:
-
SEQUENCE_GENERATOR_SEQUENCE_NAME
- See Also:
-
JOIN_TABLE_NAME
- See Also:
-
JOIN_TABLE_SCHEMA
- See Also:
-
JOIN_TABLE_CATALOG
- See Also:
-
SECONDARY_TABLE_NAME
- See Also:
-
SECONDARY_TABLE_SCHEMA
- See Also:
-
SECONDARY_TABLE_CATALOG
- See Also:
-
COLLECTION_TABLE_NAME
- See Also:
-
COLLECTION_TABLE_SCHEMA
- See Also:
-
COLLECTION_TABLE_CATALOG
- See Also:
-
CONVERTER_DATA_TYPE
- See Also:
-
CONVERTER_OBJECT_TYPE
- See Also:
-
NAMED_ENTITY_GRAPH_NAME
- See Also:
-
COLUMN
- See Also:
-
PK_COLUMN
- See Also:
-
FK_COLUMN
- See Also:
-
QK_COLUMN
- See Also:
-
ORDER_COLUMN
- See Also:
-
MAP_KEY_COLUMN
- See Also:
-
VALUE_COLUMN
- See Also:
-
SOURCE_PK_COLUMN
- See Also:
-
SOURCE_FK_COLUMN
- See Also:
-
TARGET_PK_COLUMN
- See Also:
-
TARGET_FK_COLUMN
- See Also:
-
VARIABLE_ONE_TO_ONE_DISCRIMINATOR_COLUMN
- See Also:
-
INHERITANCE_DISCRIMINATOR_COLUMN
- See Also:
-
INHERITANCE_PK_COLUMN
- See Also:
-
INHERITANCE_FK_COLUMN
- See Also:
-
SECONDARY_TABLE_PK_COLUMN
- See Also:
-
SECONDARY_TABLE_FK_COLUMN
- See Also:
-
TENANT_DISCRIMINATOR_COLUMN
- See Also:
-
TENANT_DISCRIMINATOR_CONTEXT_PROPERTY
- See Also:
-
TENANT_TABLE_DISCRIMINATOR_TYPE
- See Also:
-
TENANT_TABLE_DISCRIMINATOR_CONTEXT_PROPERTY
- See Also:
-
ONE_TO_ONE_MAPPING
- See Also:
-
ONE_TO_MANY_MAPPING
- See Also:
-
VARIABLE_ONE_TO_ONE_MAPPING
- See Also:
-
ONE_TO_ONE_MAPPING_REFERENCE_CLASS
- See Also:
-
ONE_TO_MANY_MAPPING_REFERENCE_CLASS
- See Also:
-
MANY_TO_ONE_MAPPING_REFERENCE_CLASS
- See Also:
-
MANY_TO_MANY_MAPPING_REFERENCE_CLASS
- See Also:
-
VARIABLE_ONE_TO_ONE_MAPPING_REFERENCE_CLASS
- See Also:
-
ELEMENT_COLLECTION_MAPPING_REFERENCE_CLASS
- See Also:
-
WARNING_INVALID_COLLECTION_USED_ON_LAZY_RELATION
- See Also:
-
WARNING_INCORRECT_DISCRIMINATOR_FORMAT
- See Also:
-
WARNING_PARTIONED_NOT_SET
- See Also:
-
REFERENCED_COLUMN_NOT_FOUND
- See Also:
-
MULTIPLE_ID_FIELDS_WITHOUT_ID_CLASS
- See Also:
-
INVERSE_ACCESS_TYPE_MAPPING_OVERRIDE
- See Also:
-
m_session
-
m_ctxStrings
-
-
Constructor Details
-
MetadataLogger
INTERNAL:
-
-
Method Details
-
addContextString
INTERNAL: Add a context string to the map of contexts. -
getLoggingContextString
INTERNAL: Return the logging context string for the given context. -
log
INTERNAL: Logging utility method. -
logConfigMessage
INTERNAL: Logging utility method. We currently can not log any lower than CONFIG since all our metadata logging messages are located in LoggingLocalizationResource. Any lower than CONFIG and those message strings would have to move to TraceLocalizationResource. -
logConfigMessage
INTERNAL: Logging utility method. We currently can not log any lower than CONFIG since all our metadata logging messages are located in LoggingLocalizationResource. Any lower than CONFIG and those message strings would have to move to TraceLocalizationResource. -
logConfigMessage
INTERNAL: Logging utility method. We currently can not log any lower than CONFIG since all our metadata logging messages are located in LoggingLocalizationResource. Any lower than CONFIG and those message strings would have to move to TraceLocalizationResource. -
logConfigMessage
INTERNAL: Logging utility method. We currently can not log any lower than CONFIG since all our metadata logging messages are located in LoggingLocalizationResource. Any lower than CONFIG and those message strings would have to move to TraceLocalizationResource. -
logConfigMessage
INTERNAL: Logging utility method. We currently can not log any lower than CONFIG since all our metadata logging messages are located in LoggingLocalizationResource. Any lower than CONFIG and those message strings would have to move to TraceLocalizationResource. -
logConfigMessage
INTERNAL: Logging utility method. We currently can not log any lower than CONFIG since all our metadata logging messages are located in LoggingLocalizationResource. Any lower than CONFIG and those message strings would have to move to TraceLocalizationResource. -
logConfigMessage
public void logConfigMessage(String ctx, Object param1, Object param2, Object param3, Object param4) INTERNAL: Logging utility method. We currently can not log any lower than CONFIG since all our metadata logging messages are located in LoggingLocalizationResource. Any lower than CONFIG and those message strings would have to move to TraceLocalizationResource. -
logWarningMessage
INTERNAL: Logging utility method. -
logWarningMessage
INTERNAL: Logging utility method. -
logWarningMessage
INTERNAL: Logging utility method. -
logWarningMessage
INTERNAL: Logging utility method. -
logWarningMessage
public void logWarningMessage(String ctx, Object param1, Object param2, Object param3, Object param4, Object param5) INTERNAL: Logging utility method. -
getSession
INTERNAL: Set the session to log to. -
shouldLog
INTERNAL: Check if a message of the givenLogLevel
andLogCategory
would actually be logged.- Parameters:
level
- the log request level valuecategory
- an EclipseLink logging category- Returns:
- value of
true
if the given message level will be logged orfalse
otherwise
-
setSession
INTERNAL: Set the session to log to.
-