Package org.jboss.as.jpa.messages
Interface JpaLogger
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
JpaLogger_$logger
@MessageLogger(projectCode="WFLYJPA",
length=4)
public interface JpaLogger
extends org.jboss.logging.BasicLogger
Date: 07.06.2011
- Author:
- James R. Perkins, David M. Lloyd
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JpaLoggerDefault root level logger with the package name for he category. -
Method Summary
Modifier and TypeMethodDescriptionbadSynchronizationTypeCombination(String puScopedName) Can't use a new unsynchronization persistence context when transaction already has a synchronized persistence context.Creates an exception indicating the entity manager cannot be closed when it is managed by the container.Creates an exception indicating the transactional entity manager cannot be closed when it is managed by the container.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptioncannotCreateAdapter(Throwable cause, String className) Creates an exception indicating the inability to create an instance of the adapter class represented by theclassNameparameter.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptioncannotDeployApp(Throwable cause, String providerName) Creates an exception indicating the application could not be deployed with the persistence provider, represented by theproviderNameparameter, packaged.cannotGetSessionFactory(Throwable cause) Creates an exception indicating a failure to get the Hibernate session factory from the entity manager.A message indicating the inability to inject aPersistenceUnitTransactionType.RESOURCE_LOCALcontainer managed EntityManager using thePersistenceContextannotation.cannotLoadFromJpa(Throwable cause, String injectionTypeName) Creates an exception indicating theinjectionTypeNamecould not be loaded from the Jakarta Persistence modules class loader.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptioncannotLoadPersistenceProviderIntegratorModule(Throwable cause, String persistenceProviderModule) Creates an exception indicating the persistence provider integrator module, represented by thepersistenceProviderModuleparameter, had an error loading.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptioncannotLoadPersistenceProviderModule(Throwable cause, String persistenceProviderModule, String persistenceProviderClass) Creates an exception indicating the persistence provider module, represented by thepersistenceProviderModuleparameter, had an error loading.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptioncannotSpecifyBoth(String key1, Object value1, String key2, Object value2, String parentTag, Object object) Creates an exception indicating that bothkey1andkey2cannot be specified for the object.jakarta.ejb.EJBExceptioncannotUseExtendedPersistenceTransaction(String puScopedName, jakarta.persistence.EntityManager existingEntityManager, jakarta.persistence.EntityManager self) Creates an exception indicating the extended persistence context for the SFSB already exists.childNotFound(String child, org.jboss.vfs.VirtualFile parent) Creates an exception indicating the child could not be found on the parent.classLevelAnnotationParameterRequired(String annotation, String className, String parameter) Creates an exception indicating the class level annotation must provide the parameter specified.classloaderHasMultipleAdapters(String classloader) Only one persistence provider adapter per (persistence provider or application) classloader is allowedcouldNotCreateInstanceProvider(Throwable cause, String providerClassName) Creates an exception indicating the persistence provider could not be instantiated ,org.jboss.as.server.deployment.DeploymentUnitProcessingExceptiondifferentSearchModuleDependencies(String deployment, String searchModuleName1, String searchModuleName2) voidduplicatePersistenceUnitDefinition(String puName, String ogPuName, String dupPuName) Logs a warning message indicating duplicate persistence.xml files were found.errorGettingTransaction(Exception cause) Creates an exception indicating there was an error when trying to get the transaction associated with the current thread.voidLogs an error message indicating an exception occurred while preloading the default persistence provider module.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToAddPersistenceUnit(Throwable cause, String puName) Creates an exception indicating a failure to add the persistence unit service.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToGetAdapter(String className) Creates an exception indicating a failure to get the adapter for the persistence provider.failedToParse(org.jboss.vfs.VirtualFile file) A message indicating a failure to parse the file.voidfailedToStopPUService(Throwable cause, String name) Logs an error message indicating the persistence unit was not stoppedCreates an exception indicating the entity manager factory implementation can only be a Hibernate version.invalidClassFormat(String className) invalidPersistenceUnitName(String persistenceUnitName, char c) Creates an exception indicating the persistence unit name contains an invalid character.invalidScopedName(String persistenceUnitName, char c) Creates an exception indicating the (custom) scoped persistence unit name is invalid.multipleAdapters(String adapterModule) Creates an exception indicating the persistence provider adapter module, represented by theadapterModuleparameter, has more than one adapter.noPUnitNameSpecifiedAndMultiplePersistenceUnits(int puCount, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) JBoss 4 prevented applications from referencing the persistence unit without specifying the pu name, if there were multiple persistence unit definitions in the app.nullParameter(String description, String parameterName) Creates an exception indicating thedescriptionisnull.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionpersistenceProviderAdaptorModuleLoadError(Throwable cause, String adaptorModule) persistence provider adaptor module load errorjakarta.persistence.PersistenceExceptionpersistenceProviderNotFound(String providerName) Creates an exception indicating the persistence provider could not be found.persistenceUnitNotFound(String path, String puName, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) Creates an exception indicating that the persistence unit, represented by thepathandpuNameparameters, could not be found at the current deployment unit, represented by thedeploymentUnitparameter.persistenceUnitNotFound(String puName, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) A message indicating that the persistence unit, represented by thepathparameter, could not be found at the current deployment unit, represented by thedeploymentUnitparameter.voidreadingPersistenceXml(String puUnitName) Logs an informational message indicating the persistence.xml file is being read.referenceCountedEntityManagerNegativeCount(int referenceCount, String scopedPuName) internal error indicating that the number of stateful session beans associated with a extended persistence context has reached a negative count.relativePathNotFound(Throwable cause, String path) Creates an exception indicating the relative path could not be found.setterMethodOnlyAnnotation(String annotation, org.jboss.jandex.MethodInfo methodInfo) A message indicating the annotation is only valid on setter method targets.voidstartingPersistenceUnitService(int phase, String name) Logs an informational message indicating the persistence unit service is starting phase n of 2.voidstartingService(String serviceName, String name) Logs an informational message indicating the service, represented by theserviceNameparameter, is starting.voidstoppingPersistenceUnitService(int phase, String name) Logs an informational message indicating the service is stopping.voidstoppingService(String serviceName, String name) Logs an informational message indicating the service, represented by theserviceNameparameter, is stopping.jakarta.persistence.TransactionRequiredExceptionCreates an exception indicating a transaction is required for the operation.voidLogs warning about unexpected problem gathering statistics.xpcOnlyFromSFSB(String scopedPuName) extended persistence context can only be used within a stateful session bean.Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
-
Field Details
-
ROOT_LOGGER
Default root level logger with the package name for he category.
-
-
Method Details
-
duplicatePersistenceUnitDefinition
@LogMessage(level=WARN) @Message(id=1, value="Duplicate Persistence Unit definition for %s in application. One of the duplicate persistence.xml should be removed from the application. Application deployment will continue with the persistence.xml definitions from %s used. The persistence.xml definitions from %s will be ignored.") void duplicatePersistenceUnitDefinition(String puName, String ogPuName, String dupPuName) Logs a warning message indicating duplicate persistence.xml files were found.- Parameters:
puName- the persistence XML file.ogPuName- the original persistence.xml file.dupPuName- the duplicate persistence.xml file.
-
readingPersistenceXml
@LogMessage(level=INFO) @Message(id=2, value="Read persistence.xml for %s") void readingPersistenceXml(String puUnitName) Logs an informational message indicating the persistence.xml file is being read.- Parameters:
puUnitName- the persistence unit name.
-
startingService
@LogMessage(level=INFO) @Message(id=3, value="Starting %s Service \'%s\'") void startingService(String serviceName, String name) Logs an informational message indicating the service, represented by theserviceNameparameter, is starting.- Parameters:
serviceName- the name of the service.name- an additional name for the service.
-
stoppingService
@LogMessage(level=INFO) @Message(id=4, value="Stopping %s Service \'%s\'") void stoppingService(String serviceName, String name) Logs an informational message indicating the service, represented by theserviceNameparameter, is stopping.- Parameters:
serviceName- the name of the service.name- an additional name for the service.
-
errorPreloadingDefaultProvider
@LogMessage(level=ERROR) @Message(id=6, value="Could not load default persistence provider module. ") void errorPreloadingDefaultProvider(@Cause Throwable cause) Logs an error message indicating an exception occurred while preloading the default persistence provider module. Initialization continues after logging the error.- Parameters:
cause- the cause of the error.
-
failedToStopPUService
@LogMessage(level=ERROR) @Message(id=7, value="Failed to stop persistence unit service %s") void failedToStopPUService(@Cause Throwable cause, String name) Logs an error message indicating the persistence unit was not stopped- Parameters:
cause- the cause of the error.name- name of the persistence unit
-
startingPersistenceUnitService
@LogMessage(level=INFO) @Message(id=10, value="Starting Persistence Unit (phase %d of 2) Service \'%s\'") void startingPersistenceUnitService(int phase, String name) Logs an informational message indicating the persistence unit service is starting phase n of 2.- Parameters:
phase- is the phase number (1 or 2)name- an additional name for the service.
-
stoppingPersistenceUnitService
@LogMessage(level=INFO) @Message(id=11, value="Stopping Persistence Unit (phase %d of 2) Service \'%s\'") void stoppingPersistenceUnitService(int phase, String name) Logs an informational message indicating the service is stopping.- Parameters:
phase- is the phase number (1 or 2)name- an additional name for the service.
-
unexpectedStatisticsProblem
@LogMessage(level=WARN) @Message(id=12, value="Unexpected problem gathering statistics") void unexpectedStatisticsProblem(@Cause RuntimeException cause) Logs warning about unexpected problem gathering statistics.- Parameters:
cause- is the cause of the warning
-
cannotCloseContainerManagedEntityManager
@Message(id=15, value="Container managed entity manager can only be closed by the container (will happen when @remove method is invoked on containing SFSB)") IllegalStateException cannotCloseContainerManagedEntityManager()Creates an exception indicating the entity manager cannot be closed when it is managed by the container.- Returns:
- an
IllegalStateExceptionfor the error.
-
cannotCloseTransactionContainerEntityManger
@Message(id=17, value="Container managed entity manager can only be closed by the container (auto-cleared at tx/invocation end and closed when owning component is closed.)") IllegalStateException cannotCloseTransactionContainerEntityManger()Creates an exception indicating the transactional entity manager cannot be closed when it is managed by the container.- Returns:
- an
IllegalStateExceptionfor the error.
-
cannotCreateAdapter
@Message(id=18, value="Could not create instance of adapter class \'%s\'") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotCreateAdapter(@Cause Throwable cause, String className) Creates an exception indicating the inability to create an instance of the adapter class represented by theclassNameparameter.- Parameters:
cause- the cause of the error.className- the adapter class name.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
cannotDeployApp
@Message(id=19, value="Could not deploy application packaged persistence provider \'%s\'") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotDeployApp(@Cause Throwable cause, String providerName) Creates an exception indicating the application could not be deployed with the persistence provider, represented by theproviderNameparameter, packaged.- Parameters:
cause- the cause of the error.providerName- the persistence provider.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
cannotGetSessionFactory
@Message(id=20, value="Couldn\'t get Hibernate session factory from entity manager") RuntimeException cannotGetSessionFactory(@Cause Throwable cause) Creates an exception indicating a failure to get the Hibernate session factory from the entity manager.- Parameters:
cause- the cause of the error.- Returns:
- a
RuntimeExceptionfor the error.
-
cannotInjectResourceLocalEntityManager
@Message(id=21, value="Cannot inject RESOURCE_LOCAL container managed EntityManagers using @PersistenceContext") String cannotInjectResourceLocalEntityManager()A message indicating the inability to inject aPersistenceUnitTransactionType.RESOURCE_LOCALcontainer managed EntityManager using thePersistenceContextannotation.- Returns:
- the message.
-
cannotLoadFromJpa
@Message(id=25, value="Couldn\'t load %s from Jakarta Persistence modules classloader") RuntimeException cannotLoadFromJpa(@Cause Throwable cause, String injectionTypeName) Creates an exception indicating theinjectionTypeNamecould not be loaded from the Jakarta Persistence modules class loader.- Parameters:
cause- the cause of the error.injectionTypeName- the name of the type.- Returns:
- a
RuntimeExceptionfor the error.
-
cannotLoadPersistenceProviderModule
@Message(id=27, value="Persistence provider module load error %s (class %s)") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadPersistenceProviderModule(@Cause Throwable cause, String persistenceProviderModule, String persistenceProviderClass) Creates an exception indicating the persistence provider module, represented by thepersistenceProviderModuleparameter, had an error loading.- Parameters:
cause- the cause of the error.persistenceProviderModule- the name of the adapter module.persistenceProviderClass- the persistence provider class.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
cannotSpecifyBoth
@Message(id=29, value="Cannot specify both %s (%s) and %s (%s) in %s for %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotSpecifyBoth(String key1, Object value1, String key2, Object value2, String parentTag, Object object) Creates an exception indicating that bothkey1andkey2cannot be specified for the object.- Parameters:
key1- the first key/tag.value1- the first value.key2- the second key/tag.value2- the second value.parentTag- the parent tag.object- the object the values are being specified for.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
cannotUseExtendedPersistenceTransaction
@Message(id=30, value="Found extended persistence context in SFSB invocation call stack but that cannot be used because the transaction already has a transactional context associated with it. This can be avoided by changing application code, either eliminate the extended persistence context or the transactional context. See JPA spec 2.0 section 7.6.3.1. Scoped persistence unit name=%s, persistence context already in transaction =%s, extended persistence context =%s.") jakarta.ejb.EJBException cannotUseExtendedPersistenceTransaction(String puScopedName, jakarta.persistence.EntityManager existingEntityManager, jakarta.persistence.EntityManager self) Creates an exception indicating the extended persistence context for the SFSB already exists.- Parameters:
puScopedName- the persistence unit name.existingEntityManager- the existing transactional entity manager.self- the entity manager attempting to be created.- Returns:
- an
EJBExceptionfor the error.
-
childNotFound
@Message(id=31, value="Could not find child \'%s\' on \'%s\'") RuntimeException childNotFound(String child, org.jboss.vfs.VirtualFile parent) Creates an exception indicating the child could not be found on the parent.- Parameters:
child- the child that could not be found.parent- the parent.- Returns:
- a
RuntimeExceptionfor the error.
-
classLevelAnnotationParameterRequired
@Message(id=32, value="Class level %s annotation on class %s must provide a %s") String classLevelAnnotationParameterRequired(String annotation, String className, String parameter) Creates an exception indicating the class level annotation must provide the parameter specified.- Parameters:
annotation- the annotation.className- the class nameparameter- the parameter.- Returns:
- a string for the error.
-
persistenceUnitNotFound
@Message(id=33, value="Can\'t find a persistence unit named %s in %s") String persistenceUnitNotFound(String puName, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) A message indicating that the persistence unit, represented by thepathparameter, could not be found at the current deployment unit, represented by thedeploymentUnitparameter.- Parameters:
puName- the persistence unit name.deploymentUnit- the deployment unit.- Returns:
- the message.
-
persistenceUnitNotFound
@Message(id=34, value="Can\'t find a persistence unit named %s#%s at %s") IllegalArgumentException persistenceUnitNotFound(String path, String puName, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) Creates an exception indicating that the persistence unit, represented by thepathandpuNameparameters, could not be found at the current deployment unit, represented by thedeploymentUnitparameter.- Parameters:
path- the path.puName- the persistence unit name.deploymentUnit- the deployment unit.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
errorGettingTransaction
@Message(id=36, value="An error occurred while getting the transaction associated with the current thread: %s") IllegalStateException errorGettingTransaction(Exception cause) Creates an exception indicating there was an error when trying to get the transaction associated with the current thread.- Parameters:
cause- the cause of the error.- Returns:
- an
IllegalStateExceptionfor the error.
-
failedToGetAdapter
@Message(id=37, value="Failed to get adapter for persistence provider \'%s\'") org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToGetAdapter(String className) Creates an exception indicating a failure to get the adapter for the persistence provider.- Parameters:
className- the adapter class name.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
failedToAddPersistenceUnit
@Message(id=38, value="Failed to add persistence unit service for %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToAddPersistenceUnit(@Cause Throwable cause, String puName) Creates an exception indicating a failure to add the persistence unit service.- Parameters:
cause- the cause of the error.puName- the persistence unit name.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
failedToParse
A message indicating a failure to parse the file.- Parameters:
file- the file that could not be parsed.- Returns:
- the message.
-
hibernateOnlyEntityManagerFactory
@Message(id=41, value="Can only inject from a Hibernate EntityManagerFactoryImpl") RuntimeException hibernateOnlyEntityManagerFactory()Creates an exception indicating the entity manager factory implementation can only be a Hibernate version.- Returns:
- a
RuntimeExceptionfor the error.
-
invalidPersistenceUnitName
@Message(id=43, value="Persistence unit name (%s) contains illegal \'%s\' character") IllegalArgumentException invalidPersistenceUnitName(String persistenceUnitName, char c) Creates an exception indicating the persistence unit name contains an invalid character.- Parameters:
persistenceUnitName- the persistence unit name.c- the invalid character.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidScopedName
@Message(id=44, value="jboss.as.jpa.scopedname hint (%s) contains illegal \'%s\' character") IllegalArgumentException invalidScopedName(String persistenceUnitName, char c) Creates an exception indicating the (custom) scoped persistence unit name is invalid.- Returns:
- a
RuntimeExceptionfor the error.
-
multipleAdapters
@Message(id=48, value="Persistence provider adapter module (%s) has more than one adapter") RuntimeException multipleAdapters(String adapterModule) Creates an exception indicating the persistence provider adapter module, represented by theadapterModuleparameter, has more than one adapter.- Parameters:
adapterModule- the adapter module name.- Returns:
- a
RuntimeExceptionfor the error.
-
nullParameter
@Message(id=53, value="Internal %s error, null %s passed in") RuntimeException nullParameter(String description, String parameterName) Creates an exception indicating thedescriptionisnull.- Parameters:
description- the description of the parameter.parameterName- the parameter name.- Returns:
- a
RuntimeExceptionfor the error.
-
persistenceProviderNotFound
@Message(id=57, value="PersistenceProvider \'%s\' not found") jakarta.persistence.PersistenceException persistenceProviderNotFound(String providerName) Creates an exception indicating the persistence provider could not be found.- Parameters:
providerName- the provider name.- Returns:
- a
PersistenceExceptionfor the error.
-
relativePathNotFound
@Message(id=58, value="Could not find relative path: %s") RuntimeException relativePathNotFound(@Cause Throwable cause, String path) Creates an exception indicating the relative path could not be found.- Parameters:
cause- the cause of the error.path- the path that could not be found.- Returns:
- a
RuntimeExceptionfor the error.
-
setterMethodOnlyAnnotation
@Message(id=59, value="%s injection target is invalid. Only setter methods are allowed: %s") String setterMethodOnlyAnnotation(String annotation, org.jboss.jandex.MethodInfo methodInfo) A message indicating the annotation is only valid on setter method targets.- Parameters:
annotation- the annotation.methodInfo- the method information.- Returns:
- the message.
-
transactionRequired
@Message(id=60, value="Transaction is required to perform this operation (either use a transaction or extended persistence context)") jakarta.persistence.TransactionRequiredException transactionRequired()Creates an exception indicating a transaction is required for the operation.- Returns:
- a
TransactionRequiredExceptionfor the error.
-
noPUnitNameSpecifiedAndMultiplePersistenceUnits
@Message(id=61, value="Persistence unitName was not specified and there are %d persistence unit definitions in application deployment %s. Either change the application deployment to have only one persistence unit definition or specify the unitName for each reference to a persistence unit.") IllegalArgumentException noPUnitNameSpecifiedAndMultiplePersistenceUnits(int puCount, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) JBoss 4 prevented applications from referencing the persistence unit without specifying the pu name, if there were multiple persistence unit definitions in the app. JBoss 5 loosened the checking up, to let applications, just use any PU definition that they find. For AS7, we are strictly enforcing this again just like we did in JBoss 4. AS7-2275- Parameters:
deploymentUnit- the deployment unit.puCount- is number of persistence units defined in application- Returns:
- an
IllegalArgumentExceptionfor the error.
-
couldNotCreateInstanceProvider
@Message(id=62, value="Could not create instance of persistence provider class %s") RuntimeException couldNotCreateInstanceProvider(@Cause Throwable cause, String providerClassName) Creates an exception indicating the persistence provider could not be instantiated ,- Parameters:
cause- the cause of the error.providerClassName- name of the provider class- Returns:
- a
RuntimeExceptionfor the error.
-
referenceCountedEntityManagerNegativeCount
@Message(id=63, value="internal error, the number of stateful session beans (%d) associated with an extended persistence context (%s) cannot be a negative number.") RuntimeException referenceCountedEntityManagerNegativeCount(int referenceCount, String scopedPuName) internal error indicating that the number of stateful session beans associated with a extended persistence context has reached a negative count.- Returns:
- a
RuntimeExceptionfor the error
-
badSynchronizationTypeCombination
@Message(id=64, value="Jakarta Transactions transaction already has a \'SynchronizationType.UNSYNCHRONIZED\' persistence context (EntityManager) joined to it but a component with a \'SynchronizationType.SYNCHRONIZED\' is now being used. Change the calling component code to join the persistence context (EntityManager) to the transaction or change the called component code to also use \'SynchronizationType.UNSYNCHRONIZED\'. See JPA spec 2.1 section 7.6.4.1. Scoped persistence unit name=%s.") IllegalStateException badSynchronizationTypeCombination(String puScopedName) Can't use a new unsynchronization persistence context when transaction already has a synchronized persistence context.- Parameters:
puScopedName- the persistence unit name.- Returns:
- an
IllegalStateExceptionfor the error.
-
resourcesOfTypeCannotBeRegistered
@Message(id=65, value="Resources of type %s cannot be registered") UnsupportedOperationException resourcesOfTypeCannotBeRegistered(String key) -
resourcesOfTypeCannotBeRemoved
@Message(id=66, value="Resources of type %s cannot be removed") UnsupportedOperationException resourcesOfTypeCannotBeRemoved(String key) -
classloaderHasMultipleAdapters
@Message(id=67, value="Classloader \'%s\' has more than one Persistence provider adapter") RuntimeException classloaderHasMultipleAdapters(String classloader) Only one persistence provider adapter per (persistence provider or application) classloader is allowed- Parameters:
classloader- offending classloader- Returns:
- a
RuntimeExceptionfor the error.
-
persistenceProviderAdaptorModuleLoadError
@Message(id=69, value="Persistence provider adapter module load error %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException persistenceProviderAdaptorModuleLoadError(@Cause Throwable cause, String adaptorModule) persistence provider adaptor module load error- Parameters:
cause- the cause of the error.adaptorModule- name of persistence provider adaptor module that couldn't be loaded.- Returns:
- the exception
-
xpcOnlyFromSFSB
@Message(id=70, value="A container-managed extended persistence context can only be initiated within the scope of a stateful session bean (persistence unit \'%s\').") IllegalStateException xpcOnlyFromSFSB(String scopedPuName) extended persistence context can only be used within a stateful session bean. WFLY-69- Parameters:
scopedPuName- name of the persistence unit- Returns:
- the exception
-
differentSearchModuleDependencies
-
invalidClassFormat
-
cannotLoadPersistenceProviderIntegratorModule
@Message(id=74, value="Persistence provider integrator module load error for %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadPersistenceProviderIntegratorModule(@Cause Throwable cause, String persistenceProviderModule) Creates an exception indicating the persistence provider integrator module, represented by thepersistenceProviderModuleparameter, had an error loading.- Parameters:
cause- the cause of the error.persistenceProviderModule- the name of the adapter module.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
illegalCallOnCloseMethod
@Message(id=75, value="Illegal to call this method from injected, managed EntityManager") IllegalStateException illegalCallOnCloseMethod()
-