Package org.jboss.as.jpa.messages
Class JpaLogger_$logger
- java.lang.Object
-
- org.jboss.logging.DelegatingBasicLogger
-
- org.jboss.as.jpa.messages.JpaLogger_$logger
-
- All Implemented Interfaces:
Serializable,JpaLogger,org.jboss.logging.BasicLogger
@Generated(value="org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date="2023-07-05T18:59:10+0100") public class JpaLogger_$logger extends org.jboss.logging.DelegatingBasicLogger implements JpaLogger, org.jboss.logging.BasicLogger, Serializable
Warning this class consists of generated code.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.jboss.as.jpa.messages.JpaLogger
ROOT_LOGGER
-
-
Constructor Summary
Constructors Constructor Description JpaLogger_$logger(org.jboss.logging.Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IllegalStateExceptionbadSynchronizationTypeCombination(String puScopedName)Can't use a new unsynchronization persistence context when transaction already has a synchronized persistence context.protected StringbadSynchronizationTypeCombination$str()IllegalStateExceptioncannotCloseContainerManagedEntityManager()Creates an exception indicating the entity manager cannot be closed when it is managed by the container.protected StringcannotCloseContainerManagedEntityManager$str()IllegalStateExceptioncannotCloseTransactionContainerEntityManger()Creates an exception indicating the transactional entity manager cannot be closed when it is managed by the container.protected StringcannotCloseTransactionContainerEntityManger$str()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.protected StringcannotCreateAdapter$str()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.protected StringcannotDeployApp$str()RuntimeExceptioncannotGetSessionFactory(Throwable cause)Creates an exception indicating a failure to get the Hibernate session factory from the entity manager.protected StringcannotGetSessionFactory$str()StringcannotInjectResourceLocalEntityManager()A message indicating the inability to inject aPersistenceUnitTransactionType.RESOURCE_LOCALcontainer managed EntityManager using thePersistenceContextannotation.protected StringcannotInjectResourceLocalEntityManager$str()RuntimeExceptioncannotLoadFromJpa(Throwable cause, String injectionTypeName)Creates an exception indicating theinjectionTypeNamecould not be loaded from the Jakarta Persistence modules class loader.protected StringcannotLoadFromJpa$str()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.protected StringcannotLoadPersistenceProviderIntegratorModule$str()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.protected StringcannotLoadPersistenceProviderModule$str()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.protected StringcannotSpecifyBoth$str()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.protected StringcannotUseExtendedPersistenceTransaction$str()RuntimeExceptionchildNotFound(String child, org.jboss.vfs.VirtualFile parent)Creates an exception indicating the child could not be found on the parent.protected StringchildNotFound$str()StringclassLevelAnnotationParameterRequired(String annotation, String className, String parameter)Creates an exception indicating the class level annotation must provide the parameter specified.protected StringclassLevelAnnotationParameterRequired$str()RuntimeExceptionclassloaderHasMultipleAdapters(String classloader)Only one persistence provider adapter per (persistence provider or application) classloader is allowedprotected StringclassloaderHasMultipleAdapters$str()RuntimeExceptioncouldNotCreateInstanceProvider(Throwable cause, String providerClassName)Creates an exception indicating the persistence provider could not be instantiated ,protected StringcouldNotCreateInstanceProvider$str()org.jboss.as.server.deployment.DeploymentUnitProcessingExceptiondifferentSearchModuleDependencies(String deployment, String searchModuleName1, String searchModuleName2)protected StringdifferentSearchModuleDependencies$str()voidduplicatePersistenceUnitDefinition(String puName, String ogPuName, String dupPuName)Logs a warning message indicating duplicate persistence.xml files were found.protected StringduplicatePersistenceUnitDefinition$str()IllegalStateExceptionerrorGettingTransaction(Exception cause)Creates an exception indicating there was an error when trying to get the transaction associated with the current thread.protected StringerrorGettingTransaction$str()voiderrorPreloadingDefaultProvider(Throwable cause)Logs an error message indicating an exception occurred while preloading the default persistence provider module.protected StringerrorPreloadingDefaultProvider$str()org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToAddPersistenceUnit(Throwable cause, String puName)Creates an exception indicating a failure to add the persistence unit service.protected StringfailedToAddPersistenceUnit$str()org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToGetAdapter(String className)Creates an exception indicating a failure to get the adapter for the persistence provider.protected StringfailedToGetAdapter$str()StringfailedToParse(org.jboss.vfs.VirtualFile file)A message indicating a failure to parse the file.protected StringfailedToParse$str()voidfailedToStopPUService(Throwable cause, String name)Logs an error message indicating the persistence unit was not stoppedprotected StringfailedToStopPUService$str()protected LocalegetLoggingLocale()RuntimeExceptionhibernateOnlyEntityManagerFactory()Creates an exception indicating the entity manager factory implementation can only be a Hibernate version.protected StringhibernateOnlyEntityManagerFactory$str()IllegalStateExceptioninvalidClassFormat(Exception cause, String className)protected StringinvalidClassFormat$str()IllegalArgumentExceptioninvalidPersistenceUnitName(String persistenceUnitName, char c)Creates an exception indicating the persistence unit name contains an invalid character.protected StringinvalidPersistenceUnitName$str()IllegalArgumentExceptioninvalidScopedName(String persistenceUnitName, char c)Creates an exception indicating the (custom) scoped persistence unit name is invalid.protected StringinvalidScopedName$str()RuntimeExceptionmultipleAdapters(String adapterModule)Creates an exception indicating the persistence provider adapter module, represented by theadapterModuleparameter, has more than one adapter.protected StringmultipleAdapters$str()IllegalArgumentExceptionnoPUnitNameSpecifiedAndMultiplePersistenceUnits(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.protected StringnoPUnitNameSpecifiedAndMultiplePersistenceUnits$str()RuntimeExceptionnullParameter(String description, String parameterName)Creates an exception indicating thedescriptionisnull.protected StringnullParameter$str()org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionpersistenceProviderAdaptorModuleLoadError(Throwable cause, String adaptorModule)persistence provider adaptor module load errorprotected StringpersistenceProviderAdaptorModuleLoadError$str()jakarta.persistence.PersistenceExceptionpersistenceProviderNotFound(String providerName)Creates an exception indicating the persistence provider could not be found.protected StringpersistenceProviderNotFound$str()IllegalArgumentExceptionpersistenceUnitNotFound(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.StringpersistenceUnitNotFound(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.protected StringpersistenceUnitNotFound2$str()protected StringpersistenceUnitNotFound3$str()voidreadingPersistenceXml(String puUnitName)Logs an informational message indicating the persistence.xml file is being read.protected StringreadingPersistenceXml$str()RuntimeExceptionreferenceCountedEntityManagerNegativeCount(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.protected StringreferenceCountedEntityManagerNegativeCount$str()RuntimeExceptionrelativePathNotFound(Throwable cause, String path)Creates an exception indicating the relative path could not be found.protected StringrelativePathNotFound$str()UnsupportedOperationExceptionresourcesOfTypeCannotBeRegistered(String key)protected StringresourcesOfTypeCannotBeRegistered$str()UnsupportedOperationExceptionresourcesOfTypeCannotBeRemoved(String key)protected StringresourcesOfTypeCannotBeRemoved$str()StringsetterMethodOnlyAnnotation(String annotation, org.jboss.jandex.MethodInfo methodInfo)A message indicating the annotation is only valid on setter method targets.protected StringsetterMethodOnlyAnnotation$str()voidstartingPersistenceUnitService(int phase, String name)Logs an informational message indicating the persistence unit service is starting phase n of 2.protected StringstartingPersistenceUnitService$str()voidstartingService(String serviceName, String name)Logs an informational message indicating the service, represented by theserviceNameparameter, is starting.protected StringstartingService$str()voidstoppingPersistenceUnitService(int phase, String name)Logs an informational message indicating the service is stopping.protected StringstoppingPersistenceUnitService$str()voidstoppingService(String serviceName, String name)Logs an informational message indicating the service, represented by theserviceNameparameter, is stopping.protected StringstoppingService$str()jakarta.persistence.TransactionRequiredExceptiontransactionRequired()Creates an exception indicating a transaction is required for the operation.protected StringtransactionRequired$str()voidunexpectedStatisticsProblem(RuntimeException cause)Logs warning about unexpected problem gathering statistics.protected StringunexpectedStatisticsProblem$str()IllegalStateExceptionxpcOnlyFromSFSB(String scopedPuName)extended persistence context can only be used within a stateful session bean.protected StringxpcOnlyFromSFSB$str()-
Methods inherited from class org.jboss.logging.DelegatingBasicLogger
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Method Detail
-
getLoggingLocale
protected Locale getLoggingLocale()
-
duplicatePersistenceUnitDefinition
public final void duplicatePersistenceUnitDefinition(String puName, String ogPuName, String dupPuName)
Description copied from interface:JpaLoggerLogs a warning message indicating duplicate persistence.xml files were found.- Specified by:
duplicatePersistenceUnitDefinitionin interfaceJpaLogger- Parameters:
puName- the persistence XML file.ogPuName- the original persistence.xml file.dupPuName- the duplicate persistence.xml file.
-
duplicatePersistenceUnitDefinition$str
protected String duplicatePersistenceUnitDefinition$str()
-
readingPersistenceXml
public final void readingPersistenceXml(String puUnitName)
Description copied from interface:JpaLoggerLogs an informational message indicating the persistence.xml file is being read.- Specified by:
readingPersistenceXmlin interfaceJpaLogger- Parameters:
puUnitName- the persistence unit name.
-
readingPersistenceXml$str
protected String readingPersistenceXml$str()
-
startingService
public final void startingService(String serviceName, String name)
Description copied from interface:JpaLoggerLogs an informational message indicating the service, represented by theserviceNameparameter, is starting.- Specified by:
startingServicein interfaceJpaLogger- Parameters:
serviceName- the name of the service.name- an additional name for the service.
-
startingService$str
protected String startingService$str()
-
stoppingService
public final void stoppingService(String serviceName, String name)
Description copied from interface:JpaLoggerLogs an informational message indicating the service, represented by theserviceNameparameter, is stopping.- Specified by:
stoppingServicein interfaceJpaLogger- Parameters:
serviceName- the name of the service.name- an additional name for the service.
-
stoppingService$str
protected String stoppingService$str()
-
errorPreloadingDefaultProvider
public final void errorPreloadingDefaultProvider(Throwable cause)
Description copied from interface:JpaLoggerLogs an error message indicating an exception occurred while preloading the default persistence provider module. Initialization continues after logging the error.- Specified by:
errorPreloadingDefaultProviderin interfaceJpaLogger- Parameters:
cause- the cause of the error.
-
errorPreloadingDefaultProvider$str
protected String errorPreloadingDefaultProvider$str()
-
failedToStopPUService
public final void failedToStopPUService(Throwable cause, String name)
Description copied from interface:JpaLoggerLogs an error message indicating the persistence unit was not stopped- Specified by:
failedToStopPUServicein interfaceJpaLogger- Parameters:
cause- the cause of the error.name- name of the persistence unit
-
failedToStopPUService$str
protected String failedToStopPUService$str()
-
startingPersistenceUnitService
public final void startingPersistenceUnitService(int phase, String name)Description copied from interface:JpaLoggerLogs an informational message indicating the persistence unit service is starting phase n of 2.- Specified by:
startingPersistenceUnitServicein interfaceJpaLogger- Parameters:
phase- is the phase number (1 or 2)name- an additional name for the service.
-
startingPersistenceUnitService$str
protected String startingPersistenceUnitService$str()
-
stoppingPersistenceUnitService
public final void stoppingPersistenceUnitService(int phase, String name)Description copied from interface:JpaLoggerLogs an informational message indicating the service is stopping.- Specified by:
stoppingPersistenceUnitServicein interfaceJpaLogger- Parameters:
phase- is the phase number (1 or 2)name- an additional name for the service.
-
stoppingPersistenceUnitService$str
protected String stoppingPersistenceUnitService$str()
-
unexpectedStatisticsProblem
public final void unexpectedStatisticsProblem(RuntimeException cause)
Description copied from interface:JpaLoggerLogs warning about unexpected problem gathering statistics.- Specified by:
unexpectedStatisticsProblemin interfaceJpaLogger- Parameters:
cause- is the cause of the warning
-
unexpectedStatisticsProblem$str
protected String unexpectedStatisticsProblem$str()
-
cannotCloseContainerManagedEntityManager$str
protected String cannotCloseContainerManagedEntityManager$str()
-
cannotCloseContainerManagedEntityManager
public final IllegalStateException cannotCloseContainerManagedEntityManager()
Description copied from interface:JpaLoggerCreates an exception indicating the entity manager cannot be closed when it is managed by the container.- Specified by:
cannotCloseContainerManagedEntityManagerin interfaceJpaLogger- Returns:
- an
IllegalStateExceptionfor the error.
-
cannotCloseTransactionContainerEntityManger$str
protected String cannotCloseTransactionContainerEntityManger$str()
-
cannotCloseTransactionContainerEntityManger
public final IllegalStateException cannotCloseTransactionContainerEntityManger()
Description copied from interface:JpaLoggerCreates an exception indicating the transactional entity manager cannot be closed when it is managed by the container.- Specified by:
cannotCloseTransactionContainerEntityMangerin interfaceJpaLogger- Returns:
- an
IllegalStateExceptionfor the error.
-
cannotCreateAdapter$str
protected String cannotCreateAdapter$str()
-
cannotCreateAdapter
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotCreateAdapter(Throwable cause, String className)
Description copied from interface:JpaLoggerCreates an exception indicating the inability to create an instance of the adapter class represented by theclassNameparameter.- Specified by:
cannotCreateAdapterin interfaceJpaLogger- Parameters:
cause- the cause of the error.className- the adapter class name.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
cannotDeployApp$str
protected String cannotDeployApp$str()
-
cannotDeployApp
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotDeployApp(Throwable cause, String providerName)
Description copied from interface:JpaLoggerCreates an exception indicating the application could not be deployed with the persistence provider, represented by theproviderNameparameter, packaged.- Specified by:
cannotDeployAppin interfaceJpaLogger- Parameters:
cause- the cause of the error.providerName- the persistence provider.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
cannotGetSessionFactory$str
protected String cannotGetSessionFactory$str()
-
cannotGetSessionFactory
public final RuntimeException cannotGetSessionFactory(Throwable cause)
Description copied from interface:JpaLoggerCreates an exception indicating a failure to get the Hibernate session factory from the entity manager.- Specified by:
cannotGetSessionFactoryin interfaceJpaLogger- Parameters:
cause- the cause of the error.- Returns:
- a
RuntimeExceptionfor the error.
-
cannotInjectResourceLocalEntityManager$str
protected String cannotInjectResourceLocalEntityManager$str()
-
cannotInjectResourceLocalEntityManager
public final String cannotInjectResourceLocalEntityManager()
Description copied from interface:JpaLoggerA message indicating the inability to inject aPersistenceUnitTransactionType.RESOURCE_LOCALcontainer managed EntityManager using thePersistenceContextannotation.- Specified by:
cannotInjectResourceLocalEntityManagerin interfaceJpaLogger- Returns:
- the message.
-
cannotLoadFromJpa$str
protected String cannotLoadFromJpa$str()
-
cannotLoadFromJpa
public final RuntimeException cannotLoadFromJpa(Throwable cause, String injectionTypeName)
Description copied from interface:JpaLoggerCreates an exception indicating theinjectionTypeNamecould not be loaded from the Jakarta Persistence modules class loader.- Specified by:
cannotLoadFromJpain interfaceJpaLogger- Parameters:
cause- the cause of the error.injectionTypeName- the name of the type.- Returns:
- a
RuntimeExceptionfor the error.
-
cannotLoadPersistenceProviderModule$str
protected String cannotLoadPersistenceProviderModule$str()
-
cannotLoadPersistenceProviderModule
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadPersistenceProviderModule(Throwable cause, String persistenceProviderModule, String persistenceProviderClass)
Description copied from interface:JpaLoggerCreates an exception indicating the persistence provider module, represented by thepersistenceProviderModuleparameter, had an error loading.- Specified by:
cannotLoadPersistenceProviderModulein interfaceJpaLogger- 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$str
protected String cannotSpecifyBoth$str()
-
cannotSpecifyBoth
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotSpecifyBoth(String key1, Object value1, String key2, Object value2, String parentTag, Object object)
Description copied from interface:JpaLoggerCreates an exception indicating that bothkey1andkey2cannot be specified for the object.- Specified by:
cannotSpecifyBothin interfaceJpaLogger- 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$str
protected String cannotUseExtendedPersistenceTransaction$str()
-
cannotUseExtendedPersistenceTransaction
public final jakarta.ejb.EJBException cannotUseExtendedPersistenceTransaction(String puScopedName, jakarta.persistence.EntityManager existingEntityManager, jakarta.persistence.EntityManager self)
Description copied from interface:JpaLoggerCreates an exception indicating the extended persistence context for the SFSB already exists.- Specified by:
cannotUseExtendedPersistenceTransactionin interfaceJpaLogger- 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$str
protected String childNotFound$str()
-
childNotFound
public final RuntimeException childNotFound(String child, org.jboss.vfs.VirtualFile parent)
Description copied from interface:JpaLoggerCreates an exception indicating the child could not be found on the parent.- Specified by:
childNotFoundin interfaceJpaLogger- Parameters:
child- the child that could not be found.parent- the parent.- Returns:
- a
RuntimeExceptionfor the error.
-
classLevelAnnotationParameterRequired$str
protected String classLevelAnnotationParameterRequired$str()
-
classLevelAnnotationParameterRequired
public final String classLevelAnnotationParameterRequired(String annotation, String className, String parameter)
Description copied from interface:JpaLoggerCreates an exception indicating the class level annotation must provide the parameter specified.- Specified by:
classLevelAnnotationParameterRequiredin interfaceJpaLogger- Parameters:
annotation- the annotation.className- the class nameparameter- the parameter.- Returns:
- a string for the error.
-
persistenceUnitNotFound2$str
protected String persistenceUnitNotFound2$str()
-
persistenceUnitNotFound
public final String persistenceUnitNotFound(String puName, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Description copied from interface:JpaLoggerA message indicating that the persistence unit, represented by thepathparameter, could not be found at the current deployment unit, represented by thedeploymentUnitparameter.- Specified by:
persistenceUnitNotFoundin interfaceJpaLogger- Parameters:
puName- the persistence unit name.deploymentUnit- the deployment unit.- Returns:
- the message.
-
persistenceUnitNotFound3$str
protected String persistenceUnitNotFound3$str()
-
persistenceUnitNotFound
public final IllegalArgumentException persistenceUnitNotFound(String path, String puName, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Description copied from interface:JpaLoggerCreates an exception indicating that the persistence unit, represented by thepathandpuNameparameters, could not be found at the current deployment unit, represented by thedeploymentUnitparameter.- Specified by:
persistenceUnitNotFoundin interfaceJpaLogger- Parameters:
path- the path.puName- the persistence unit name.deploymentUnit- the deployment unit.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
errorGettingTransaction$str
protected String errorGettingTransaction$str()
-
errorGettingTransaction
public final IllegalStateException errorGettingTransaction(Exception cause)
Description copied from interface:JpaLoggerCreates an exception indicating there was an error when trying to get the transaction associated with the current thread.- Specified by:
errorGettingTransactionin interfaceJpaLogger- Parameters:
cause- the cause of the error.- Returns:
- an
IllegalStateExceptionfor the error.
-
failedToGetAdapter$str
protected String failedToGetAdapter$str()
-
failedToGetAdapter
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToGetAdapter(String className)
Description copied from interface:JpaLoggerCreates an exception indicating a failure to get the adapter for the persistence provider.- Specified by:
failedToGetAdapterin interfaceJpaLogger- Parameters:
className- the adapter class name.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
failedToAddPersistenceUnit$str
protected String failedToAddPersistenceUnit$str()
-
failedToAddPersistenceUnit
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToAddPersistenceUnit(Throwable cause, String puName)
Description copied from interface:JpaLoggerCreates an exception indicating a failure to add the persistence unit service.- Specified by:
failedToAddPersistenceUnitin interfaceJpaLogger- Parameters:
cause- the cause of the error.puName- the persistence unit name.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
failedToParse$str
protected String failedToParse$str()
-
failedToParse
public final String failedToParse(org.jboss.vfs.VirtualFile file)
Description copied from interface:JpaLoggerA message indicating a failure to parse the file.- Specified by:
failedToParsein interfaceJpaLogger- Parameters:
file- the file that could not be parsed.- Returns:
- the message.
-
hibernateOnlyEntityManagerFactory$str
protected String hibernateOnlyEntityManagerFactory$str()
-
hibernateOnlyEntityManagerFactory
public final RuntimeException hibernateOnlyEntityManagerFactory()
Description copied from interface:JpaLoggerCreates an exception indicating the entity manager factory implementation can only be a Hibernate version.- Specified by:
hibernateOnlyEntityManagerFactoryin interfaceJpaLogger- Returns:
- a
RuntimeExceptionfor the error.
-
invalidPersistenceUnitName$str
protected String invalidPersistenceUnitName$str()
-
invalidPersistenceUnitName
public final IllegalArgumentException invalidPersistenceUnitName(String persistenceUnitName, char c)
Description copied from interface:JpaLoggerCreates an exception indicating the persistence unit name contains an invalid character.- Specified by:
invalidPersistenceUnitNamein interfaceJpaLogger- Parameters:
persistenceUnitName- the persistence unit name.c- the invalid character.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidScopedName$str
protected String invalidScopedName$str()
-
invalidScopedName
public final IllegalArgumentException invalidScopedName(String persistenceUnitName, char c)
Description copied from interface:JpaLoggerCreates an exception indicating the (custom) scoped persistence unit name is invalid.- Specified by:
invalidScopedNamein interfaceJpaLogger- Returns:
- a
RuntimeExceptionfor the error.
-
multipleAdapters$str
protected String multipleAdapters$str()
-
multipleAdapters
public final RuntimeException multipleAdapters(String adapterModule)
Description copied from interface:JpaLoggerCreates an exception indicating the persistence provider adapter module, represented by theadapterModuleparameter, has more than one adapter.- Specified by:
multipleAdaptersin interfaceJpaLogger- Parameters:
adapterModule- the adapter module name.- Returns:
- a
RuntimeExceptionfor the error.
-
nullParameter$str
protected String nullParameter$str()
-
nullParameter
public final RuntimeException nullParameter(String description, String parameterName)
Description copied from interface:JpaLoggerCreates an exception indicating thedescriptionisnull.- Specified by:
nullParameterin interfaceJpaLogger- Parameters:
description- the description of the parameter.parameterName- the parameter name.- Returns:
- a
RuntimeExceptionfor the error.
-
persistenceProviderNotFound$str
protected String persistenceProviderNotFound$str()
-
persistenceProviderNotFound
public final jakarta.persistence.PersistenceException persistenceProviderNotFound(String providerName)
Description copied from interface:JpaLoggerCreates an exception indicating the persistence provider could not be found.- Specified by:
persistenceProviderNotFoundin interfaceJpaLogger- Parameters:
providerName- the provider name.- Returns:
- a
PersistenceExceptionfor the error.
-
relativePathNotFound$str
protected String relativePathNotFound$str()
-
relativePathNotFound
public final RuntimeException relativePathNotFound(Throwable cause, String path)
Description copied from interface:JpaLoggerCreates an exception indicating the relative path could not be found.- Specified by:
relativePathNotFoundin interfaceJpaLogger- Parameters:
cause- the cause of the error.path- the path that could not be found.- Returns:
- a
RuntimeExceptionfor the error.
-
setterMethodOnlyAnnotation$str
protected String setterMethodOnlyAnnotation$str()
-
setterMethodOnlyAnnotation
public final String setterMethodOnlyAnnotation(String annotation, org.jboss.jandex.MethodInfo methodInfo)
Description copied from interface:JpaLoggerA message indicating the annotation is only valid on setter method targets.- Specified by:
setterMethodOnlyAnnotationin interfaceJpaLogger- Parameters:
annotation- the annotation.methodInfo- the method information.- Returns:
- the message.
-
transactionRequired$str
protected String transactionRequired$str()
-
transactionRequired
public final jakarta.persistence.TransactionRequiredException transactionRequired()
Description copied from interface:JpaLoggerCreates an exception indicating a transaction is required for the operation.- Specified by:
transactionRequiredin interfaceJpaLogger- Returns:
- a
TransactionRequiredExceptionfor the error.
-
noPUnitNameSpecifiedAndMultiplePersistenceUnits$str
protected String noPUnitNameSpecifiedAndMultiplePersistenceUnits$str()
-
noPUnitNameSpecifiedAndMultiplePersistenceUnits
public final IllegalArgumentException noPUnitNameSpecifiedAndMultiplePersistenceUnits(int puCount, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Description copied from interface:JpaLoggerJBoss 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- Specified by:
noPUnitNameSpecifiedAndMultiplePersistenceUnitsin interfaceJpaLogger- Parameters:
puCount- is number of persistence units defined in applicationdeploymentUnit- the deployment unit.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
couldNotCreateInstanceProvider$str
protected String couldNotCreateInstanceProvider$str()
-
couldNotCreateInstanceProvider
public final RuntimeException couldNotCreateInstanceProvider(Throwable cause, String providerClassName)
Description copied from interface:JpaLoggerCreates an exception indicating the persistence provider could not be instantiated ,- Specified by:
couldNotCreateInstanceProviderin interfaceJpaLogger- Parameters:
cause- the cause of the error.providerClassName- name of the provider class- Returns:
- a
RuntimeExceptionfor the error.
-
referenceCountedEntityManagerNegativeCount$str
protected String referenceCountedEntityManagerNegativeCount$str()
-
referenceCountedEntityManagerNegativeCount
public final RuntimeException referenceCountedEntityManagerNegativeCount(int referenceCount, String scopedPuName)
Description copied from interface:JpaLoggerinternal error indicating that the number of stateful session beans associated with a extended persistence context has reached a negative count.- Specified by:
referenceCountedEntityManagerNegativeCountin interfaceJpaLogger- Returns:
- a
RuntimeExceptionfor the error
-
badSynchronizationTypeCombination$str
protected String badSynchronizationTypeCombination$str()
-
badSynchronizationTypeCombination
public final IllegalStateException badSynchronizationTypeCombination(String puScopedName)
Description copied from interface:JpaLoggerCan't use a new unsynchronization persistence context when transaction already has a synchronized persistence context.- Specified by:
badSynchronizationTypeCombinationin interfaceJpaLogger- Parameters:
puScopedName- the persistence unit name.- Returns:
- an
IllegalStateExceptionfor the error.
-
resourcesOfTypeCannotBeRegistered$str
protected String resourcesOfTypeCannotBeRegistered$str()
-
resourcesOfTypeCannotBeRegistered
public final UnsupportedOperationException resourcesOfTypeCannotBeRegistered(String key)
- Specified by:
resourcesOfTypeCannotBeRegisteredin interfaceJpaLogger
-
resourcesOfTypeCannotBeRemoved$str
protected String resourcesOfTypeCannotBeRemoved$str()
-
resourcesOfTypeCannotBeRemoved
public final UnsupportedOperationException resourcesOfTypeCannotBeRemoved(String key)
- Specified by:
resourcesOfTypeCannotBeRemovedin interfaceJpaLogger
-
classloaderHasMultipleAdapters$str
protected String classloaderHasMultipleAdapters$str()
-
classloaderHasMultipleAdapters
public final RuntimeException classloaderHasMultipleAdapters(String classloader)
Description copied from interface:JpaLoggerOnly one persistence provider adapter per (persistence provider or application) classloader is allowed- Specified by:
classloaderHasMultipleAdaptersin interfaceJpaLogger- Parameters:
classloader- offending classloader- Returns:
- a
RuntimeExceptionfor the error.
-
persistenceProviderAdaptorModuleLoadError$str
protected String persistenceProviderAdaptorModuleLoadError$str()
-
persistenceProviderAdaptorModuleLoadError
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException persistenceProviderAdaptorModuleLoadError(Throwable cause, String adaptorModule)
Description copied from interface:JpaLoggerpersistence provider adaptor module load error- Specified by:
persistenceProviderAdaptorModuleLoadErrorin interfaceJpaLogger- Parameters:
cause- the cause of the error.adaptorModule- name of persistence provider adaptor module that couldn't be loaded.- Returns:
- the exception
-
xpcOnlyFromSFSB$str
protected String xpcOnlyFromSFSB$str()
-
xpcOnlyFromSFSB
public final IllegalStateException xpcOnlyFromSFSB(String scopedPuName)
Description copied from interface:JpaLoggerextended persistence context can only be used within a stateful session bean. WFLY-69- Specified by:
xpcOnlyFromSFSBin interfaceJpaLogger- Parameters:
scopedPuName- name of the persistence unit- Returns:
- the exception
-
differentSearchModuleDependencies$str
protected String differentSearchModuleDependencies$str()
-
differentSearchModuleDependencies
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException differentSearchModuleDependencies(String deployment, String searchModuleName1, String searchModuleName2)
- Specified by:
differentSearchModuleDependenciesin interfaceJpaLogger
-
invalidClassFormat$str
protected String invalidClassFormat$str()
-
invalidClassFormat
public final IllegalStateException invalidClassFormat(Exception cause, String className)
- Specified by:
invalidClassFormatin interfaceJpaLogger
-
cannotLoadPersistenceProviderIntegratorModule$str
protected String cannotLoadPersistenceProviderIntegratorModule$str()
-
cannotLoadPersistenceProviderIntegratorModule
public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadPersistenceProviderIntegratorModule(Throwable cause, String persistenceProviderModule)
Description copied from interface:JpaLoggerCreates an exception indicating the persistence provider integrator module, represented by thepersistenceProviderModuleparameter, had an error loading.- Specified by:
cannotLoadPersistenceProviderIntegratorModulein interfaceJpaLogger- Parameters:
cause- the cause of the error.persistenceProviderModule- the name of the adapter module.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
-