org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1,actual 0 1
最新推荐文章于 2023-07-14 19:38:39 发布
5yong
最新推荐文章于 2023-07-14 19:38:39 发布
15550
spring
中使用JdbcTemplate的queryForObject方法,当查不到数据时会抛出如下异常:
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
org.springframework.dao.support.DataAccessUtils.(DataAccessUtils.java:71)
org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:729)
查看DataAccessUtils的源码,找到requiredSingleResult方法:
-
public
static
<T> T requiredSingleResult(Collection<T> results)
throws
IncorrectResultSizeDataAccessException {
-
int
size = (results !=
null
? results.size() :
0
);
-
if
(size ==
0
) {
-
throw
new
EmptyResultDataAccessException(
1
);
-
}
-
if
(results.size() >
1
) {
-
throw
new
IncorrectResultSizeDataAccessException(
1
, size);
-
}
-
return
results.iterator().next();
-
}
发现当查询的result为空时,size赋值为0,并抛出EmptyResultDataAccessException异常,此为原因所在。猜测Spring这样设计可能是为了防止用户不对空值做出判断,保证了程序的健壮性。同时,当results的size大于1时同样会抛出异常,以保证返回单一的Object。
两种方案:
-
用queryForLis或者query(可以使用in关键字查询同时可以自定义查询数据映射bean)t方法替换queryForObject或者queryForMap,因为这两个方法必须要有值,不能为空。 List<ZwMultColumnAccountVo> vos = baseDao.getNamedParameterJdbcTemplate().query(sql, parameterSource, new BeanPropertyRowMapper(ZwMultColumnAccountVo.class));
-
把这个异常捕获,用try/catch,如下
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1,actual 0 1
spring中使用JdbcTemplate的queryForObject方法,当查不到数据时会抛出如下异常: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0 org.springframework.dao.support.DataAcce
java.lang.reflect.InvocationTarget
Exception
at java.base/jdk.internal.reflect.NativeMethod
Access
orImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethod
Access
orImpl.invoke(NativeMethod
Access
orImpl.java:62)
at ...
Spring中使用JdbcTemplate的queryForObject方法,当查不到数据时会抛出如下异常:
org
.
springframework
.
dao
.Empty
Result
Data
Access
Exception
:
Incor
rect
result
size
:
expected
1,
actual
0
org
.
springframework
.
dao
.support.
Data
Access
AbstractAdvisorAutoProxyCreator
AbstractApplicationContext
AbstractApplicationEventMulticaster
AbstractAspectJAdvice
AbstractAspectJAdvisorFactory
AbstractAspectJAdvisorFactory.AspectJAnnotation
AbstractAspectJAdvisorFactory.AspectJAnnotationType
AbstractAutoProxyCreator
AbstractAutowireCapableBeanFactory
AbstractBeanDefinition
AbstractBeanDefinitionParser
AbstractBeanDefinitionReader
AbstractBeanFactory
AbstractBeanFactoryBasedTargetSource
AbstractBeanFactoryBasedTargetSourceCreator
AbstractBinding
Result
AbstractCachingLabeledEnumResolver
AbstractCachingViewResolver
AbstractCommandController
AbstractCommandController
AbstractComponentDefinition
AbstractConfigurableMBeanInfoAssembler
AbstractController
AbstractController
Abstract
Data
BoundFormElementTag
Abstract
Data
FieldMaxValueIncrementer
Abstract
Data
Source
AbstractDependencyInjectionSpringContextTests
AbstractEnterpriseBean
AbstractEntityManagerFactoryBean
AbstractExcelView
AbstractExpressionPointcut
AbstractFactoryBean
AbstractFallbackTransactionAttributeSource
AbstractFormController
AbstractFormController
AbstractFormTag
AbstractGenericLabeledEnum
AbstractGenericPointcutAdvisor
AbstractHandlerMapping
AbstractHandlerMapping
AbstractHtmlElementBodyTag
AbstractHtmlElementTag
AbstractHtmlInputElementTag
AbstractHttpInvokerRequestExecutor
AbstractInterceptorDrivenBeanDefinitionDecorator
AbstractInterruptibleBatchPreparedStatementSetter
AbstractJasperReportsSingleFormatView
AbstractJasperReportsView
AbstractJExcelView
AbstractJmsMessageDrivenBean
AbstractJmxAttribute
AbstractJndiLocatedBeanDefinitionParser
AbstractJpaVendorAdapter
AbstractLabeledEnum
AbstractLazyCreationTargetSource
AbstractLobCreatingPreparedStatementCallback
AbstractLobHandler
AbstractLobStreaming
Result
SetExtractor
AbstractLobType
AbstractLobType
AbstractLobTypeHandler
AbstractLocaleResolver
AbstractMapBasedHandlerMapping
AbstractMBeanInfoAssembler
AbstractMessageDrivenBean
AbstractMessageListenerContainer
AbstractMessageListenerContainer.SharedConnectionNotInitialized
Exception
AbstractMessageSource
AbstractModelAndViewTests
AbstractMonitoringInterceptor
AbstractMultipartHttpServletRequest
AbstractOverridingClassLoader
AbstractPathMapHandlerMapping
AbstractPdfView
AbstractPlatformTransactionManager
AbstractPointcutAdvisor
AbstractPoolingServerSessionFactory
AbstractPoolingTargetSource
AbstractProperty
Access
or
AbstractPropertyBinding
Result
AbstractPrototypeBasedTargetSource
AbstractReflectiveMBeanInfoAssembler
AbstractRefreshableApplicationContext
AbstractRefreshablePortletApplicationContext
AbstractRefreshableTargetSource
AbstractRefreshableWebApplicationContext
AbstractRegexpMethodPointcut
AbstractRemoteSlsbInvokerInterceptor
AbstractRequestAttributes
AbstractRequestAttributesScope
AbstractRequestLoggingFilter
AbstractResource
AbstractSequenceMaxValueIncrementer
AbstractSessionBean
AbstractSessionFactory
AbstractSessionFactoryBean
AbstractSimpleBeanDefinitionParser
AbstractSingleBeanDefinitionParser
AbstractSingleSpringContextTests
AbstractSingletonProxyFactoryBean
AbstractSlsbInvokerInterceptor
AbstractSpringContextTests
AbstractSqlParameterSource
AbstractSqlTypeValue
AbstractStatefulSessionBean
AbstractStatelessSessionBean
AbstractTemplateView
AbstractTemplateViewResolver
AbstractThemeResolver
AbstractTraceInterceptor
AbstractTransactional
Data
SourceSpringContextTests
AbstractTransactionalSpringContextTests
AbstractTransactionStatus
AbstractUrlBasedView
AbstractUrlHandlerMapping
AbstractUrlMethodNameResolver
AbstractUrlViewController
AbstractView
AbstractWizardFormController
AbstractWizardFormController
AbstractXmlApplicationContext
AbstractXsltView
AcceptHeaderLocaleResolver
ActionRequestWrapper
ActionServletAwareProcessor
ActionSupport
AdaptableJobFactory
AdviceEntry
Advised
AdvisedSupport
AdvisedSupportListener
Advisor
AdvisorAdapter
AdvisorAdapterRegistrationManager
AdvisorAdapterRegistry
AdvisorChainFactory
AdvisorChainFactoryUtils
AdvisorComponentDefinition
AdvisorEntry
AfterReturningAdvice
AfterReturningAdviceAdapter
AfterReturningAdviceInterceptor
AliasDefinition
AnnotationAwareAspectJAutoProxyCreator
AnnotationBeanUtils
AnnotationBeanWiringInfoResolver
AnnotationClassFilter
AnnotationDrivenBeanDefinitionParser
AnnotationJmxAttributeSource
AnnotationMatchingPointcut
AnnotationMethodMatcher
AnnotationSessionFactoryBean
AnnotationTransactionAttributeSource
AnnotationUtils
AntPathMatcher
AopConfig
Exception
AopContext
AopInvocation
Exception
AopNamespaceHandler
AopNamespaceUtils
AopProxy
AopProxyFactory
AopProxyUtils
AopUtils
ApplicationContext
ApplicationContextAware
ApplicationContextAwareProcessor
ApplicationContext
Exception
ApplicationEvent
ApplicationEventMulticaster
ApplicationEventPublisher
ApplicationEventPublisherAware
ApplicationListener
ApplicationObjectSupport
ArgPreparedStatementSetter
ArgTypePreparedStatementSetter
ArgumentConvertingMethodInvoker
AspectComponentDefinition
AspectEntry
AspectInstanceFactory
AspectJAdviceParameterNameDiscoverer
AspectJAdviceParameterNameDiscoverer.AmbiguousBinding
Exception
AspectJAdvisorFactory
AspectJAfterAdvice
AspectJAfterReturningAdvice
AspectJAfterThrowingAdvice
AspectJAopUtils
AspectJAroundAdvice
AspectJAutoProxyBeanDefinitionParser
AspectJExpressionPointcut
AspectJExpressionPointcutAdvisor
AspectJInvocationContextExposingAdvisorAutoProxyCreator
AspectJMethodBeforeAdvice
AspectJPointcutAdvisor
AspectJPrecedenceAwareOrderComparator
AspectJPrecedenceInformation
AspectJProxyFactory
AspectJProxyUtils
AspectJWeaverMessageHandler
AspectMeta
data
Assert
AssertThrows
Attribute
Access
or
Attribute
Access
orSupport
Attributes
AttributesJmxAttributeSource
AttributesTransactionAttributeSource
AutodetectCapableMBeanInfoAssembler
AutoPopulatingList
AutoPopulatingList.ElementFactory
AutoPopulatingList.ElementInstantiation
Exception
Autowire
AutowireCapableBeanFactory
AutowireUtils
AutowiringRequestProcessor
AutowiringTilesRequestProcessor
AxisBeanMappingServicePostProcessor
BadSqlGrammar
Exception
BaseCommandController
BaseCommandController
BatchPreparedStatementSetter
BatchSqlUpdate
BeanClassLoaderAware
BeanComponentDefinition
BeanConfigurerSupport
BeanCreation
Exception
BeanCreationNotAllowed
Exception
BeanCurrentlyInCreation
Exception
BeanDefinition
BeanDefinitionBuilder
BeanDefinitionDecorator
BeanDefinitionDocumentReader
BeanDefinitionHolder
BeanDefinitionParser
BeanDefinitionParserDelegate
BeanDefinitionParsing
Exception
BeanDefinitionReader
BeanDefinitionReaderUtils
BeanDefinitionRegistry
BeanDefinitionStore
Exception
BeanDefinitionValidation
Exception
BeanDefinitionValueResolver
BeanDefinitionVisitor
BeanEntry
BeanFactory
BeanFactoryAspectInstanceFactory
BeanFactoryAspectInstanceFactory
BeanFactoryAware
BeanFactory
Data
SourceLookup
BeanFactoryLocator
BeanFactoryPostProcessor
BeanFactoryReference
BeanFactoryRefreshableTargetSource
BeanFactoryUtils
BeanInitialization
Exception
BeanInstantiation
Exception
BeanIsAbstract
Exception
BeanIsNotAFactory
Exception
BeanMeta
data
Element
BeanNameAutoProxyCreator
BeanNameAware
BeanNameUrlHandlerMapping
BeanNameViewResolver
BeanNotOfRequiredType
Exception
BeanPostProcessor
BeanPropertyBinding
Result
BeanPropertySqlParameterSource
BeanReference
BeansDtdResolver
Beans
Exception
BeanUtils
BeanWiringInfo
BeanWiringInfoResolver
BeanWrapper
BeanWrapperImpl
BeforeAdvice
BeforeAdviceAdapter
BindErrorsTag
Bind
Exception
BindingErrorProcessor
Binding
Result
Binding
Result
Utils
BindInitializer
BindStatus
BindTag
BindUtils
BlobByteArrayType
BlobByteArrayType
BlobByteArrayTypeHandler
BlobSerializableType
BlobSerializableType
BlobSerializableTypeHandler
BlobStringType
BlobStringType
BooleanComparator
Bootstrap
Exception
BridgeMethodResolver
BshScriptFactory
BshScriptUtils
BshScriptUtils.BshExecution
Exception
BurlapClientInterceptor
BurlapProxyFactoryBean
BurlapServiceExporter
ByteArrayMultipartFileEditor
ByteArrayPropertyEditor
ByteArrayResource
C3P0NativeJdbcExtractor
CachedIntrospection
Result
s
CachingDestinationResolver
CachingMapDecorator
CallableStatementCallback
CallableStatementCreator
CallableStatementCreatorFactory
CallbackPreferringPlatformTransactionManager
CancellableFormController
CannotAcquireLock
Exception
CannotCreateRecord
Exception
CannotCreateTransaction
Exception
CannotGetCciConnection
Exception
CannotGetJdbcConnection
Exception
CannotLoadBeanClass
Exception
CannotSerializeTransaction
Exception
Cci
Dao
Support
CciLocalTransactionManager
CciOperationNotSupported
Exception
CciOperations
CciTemplate
Cglib2AopProxy
Cglib2AopProxy.SerializableNoOp
CglibSubclassingInstantiationStrategy
Chained
Exception
Listener
ChainedPersistence
Exception
Translator
CharacterEditor
CharacterEncodingFilter
CharArrayPropertyEditor
CheckboxTag
ChildBeanDefinition
ClassArrayEditor
ClassEditor
ClassFileTransformerAdapter
ClassFilter
ClassFilters
ClassLoaderAnalyzerInterceptor
ClassLoaderUtils
ClassNameBeanWiringInfoResolver
ClassPathResource
ClassPathXmlApplicationContext
ClassUtils
CleanupFailure
Data
Access
Exception
ClobStringType
ClobStringType
ClobStringTypeHandler
CodebaseAwareObjectInputStream
CollectionFactory
CollectionUtils
ColumnMapRowMapper
CommAreaRecord
CommonsAttributes
CommonsDbcpNativeJdbcExtractor
CommonsFileUploadSupport
CommonsFileUploadSupport.MultipartParsing
Result
CommonsHttpInvokerRequestExecutor
CommonsLogFactoryBean
CommonsLoggingLogSystem
CommonsLoggingSessionLog
CommonsLoggingSessionLog904
CommonsMultipartFile
CommonsMultipartResolver
CommonsPathMapHandlerMapping
CommonsPoolServerSessionFactory
CommonsPoolTargetSource
CommonsPortletMultipartResolver
CommonsRequestLoggingFilter
ComparableComparator
ComponentControllerSupport
ComponentDefinition
ComposablePointcut
CompositeTransactionAttributeSource
CompoundComparator
ConcurrencyFailure
Exception
ConcurrencyThrottleInterceptor
ConcurrencyThrottleSupport
ConcurrentTaskExecutor
ConditionalTestCase
ConfigBeanDefinitionParser
Configurable
ConfigurableApplicationContext
ConfigurableBeanFactory
ConfigurableJasperReportsView
ConfigurableListableBeanFactory
ConfigurableMimeFileTypeMap
ConfigurablePortletApplicationContext
ConfigurableProperty
Access
or
ConfigurableWebApplicationContext
ConnectionCallback
ConnectionCallback
ConnectionFactoryUtils
ConnectionFactoryUtils
ConnectionFactoryUtils.ResourceFactory
ConnectionHandle
ConnectionHolder
ConnectionHolder
ConnectionProxy
ConnectionSpecConnectionFactoryAdapter
ConnectorServerFactoryBean
ConsoleListener
Constant
Exception
Constants
ConstructorArgumentEntry
ConstructorArgumentValues
ConstructorArgumentValues.ValueHolder
ConstructorResolver
ContextBeanFactoryReference
ContextClosedEvent
ContextJndiBeanFactoryLocator
ContextLoader
ContextLoaderListener
ContextLoaderPlugIn
ContextLoaderServlet
ContextRefreshedEvent
ContextSingletonBeanFactoryLocator
ControlFlow
ControlFlowFactory
ControlFlowFactory.Jdk13ControlFlow
ControlFlowFactory.Jdk14ControlFlow
ControlFlowPointcut
Controller
Controller
ControllerClassNameHandlerMapping
Conventions
CookieGenerator
CookieLocaleResolver
CookieThemeResolver
CosMailSenderImpl
CosMultipartHttpServletRequest
CosMultipartResolver
CronTriggerBean
CustomBooleanEditor
CustomCollectionEditor
CustomDateEditor
CustomEditorConfigurer
CustomizableTraceInterceptor
CustomNumberEditor
CustomScopeConfigurer
CustomSQLErrorCodesTranslation
Dao
Support
Data
Access
Exception
Data
Access
ResourceFailure
Exception
Data
Access
Utils
Data
base
Data
baseMeta
Data
Callback
Data
baseStartupValidator
Data
Binder
Data
FieldMaxValueIncrementer
Data
IntegrityViolation
Exception
Data
RetrievalFailure
Exception
Data
SourceLookup
Data
SourceLookupFailure
Exception
Data
SourceTransactionManager
Data
SourceUtils
DB2SequenceMaxValueIncrementer
DeadlockLoser
Data
Access
Exception
DebugInterceptor
DeclareParentsAdvisor
DecoratingNavigationHandler
DefaultAdvisorAdapterRegistry
DefaultAdvisorAutoProxyCreator
DefaultAopProxyFactory
DefaultBeanDefinitionDocumentReader
DefaultBindingErrorProcessor
DefaultDocumentLoader
DefaultIntroductionAdvisor
DefaultJdoDialect
DefaultJpaDialect
DefaultListableBeanFactory
DefaultLobHandler
DefaultLocatorFactory
DefaultMessageCodesResolver
DefaultMessageListenerContainer
DefaultMessageListenerContainer102
DefaultMessageSourceResolvable
DefaultMultipartActionRequest
DefaultMultipartHttpServletRequest
DefaultNamespaceHandlerResolver
DefaultPersistenceUnitManager
DefaultPointcutAdvisor
DefaultPropertiesPersister
DefaultRemoteInvocationExecutor
DefaultRemoteInvocationFactory
DefaultRequestToViewNameTranslator
DefaultResourceLoader
DefaultScopedObject
DefaultSingletonBeanRegistry
DefaultToStringStyler
DefaultTransactionAttribute
DefaultTransactionDefinition
DefaultTransactionStatus
DefaultValueStyler
DelegatePerTargetObjectDelegatingIntroductionInterceptor
DelegatingActionProxy
DelegatingActionUtils
DelegatingConnectionFactory
Delegating
Data
Source
DelegatingEntityResolver
DelegatingFilterProxy
DelegatingIntroductionInterceptor
DelegatingJob
DelegatingMessageSource
DelegatingNavigationHandlerProxy
DelegatingPhaseListenerMulticaster
DelegatingRequestProcessor
DelegatingServletInputStream
DelegatingServletOutputStream
DelegatingThemeSource
DelegatingTilesRequestProcessor
DelegatingTimerListener
DelegatingTimerTask
DelegatingTransactionAttribute
DelegatingVariableResolver
DelegatingWork
DescriptiveResource
DestinationResolution
Exception
DestinationResolver
DestructionAwareBeanPostProcessor
Di
rect
Field
Access
or
Di
rect
FieldBinding
Result
DispatchActionSupport
DispatcherPortlet
DispatcherServlet
DispatcherServletWebRequest
DisposableBean
DisposableBeanAdapter
DisposableSqlTypeValue
DocumentLoader
DomUtils
DriverManager
Data
Source
DynamicDestinationResolver
DynamicIntroductionAdvice
DynamicMethodMatcher
DynamicMethodMatcherPointcut
DynamicMethodMatcherPointcutAdvisor
EhCacheFactoryBean
EhCacheManagerFactoryBean
EisOperation
Ejb
Access
Exception
EmptyReaderEventListener
Empty
Result
Data
Access
Exception
EmptyTargetSource
EncodedResource
EntityManagerFactory
Access
or
EntityManagerFactoryInfo
EntityManagerFactoryPlus
EntityManagerFactoryPlusOperations
EntityManagerFactoryUtils
EntityManagerHolder
EntityManagerPlus
EntityManagerPlusOperations
ErrorCoded
Errors
ErrorsTag
EscapeBodyTag
EscapedErrors
EventPublicationInterceptor
Expected
LookupTemplate
ExposeBeanNameAdvisors
ExposeInvocationInterceptor
ExpressionEvaluationUtils
ExpressionPointcut
ExtendedEntityManagerCreator
FacesContextUtils
FactoryBean
FactoryBeanNotInitialized
Exception
FailFastProblemReporter
FatalBean
Exception
FieldError
FieldRetrievingFactoryBean
FileCopyUtils
FileEditor
FileSystemResource
FileSystemResourceLoader
FileSystemXmlApplicationContext
FilterDefinitionFactoryBean
FixedLocaleResolver
FixedThemeResolver
FormTag
FrameworkPortlet
FrameworkServlet
FreeMarkerConfig
FreeMarkerConfigurationFactory
FreeMarkerConfigurationFactoryBean
FreeMarkerConfigurer
FreeMarkerTemplateUtils
FreeMarkerView
FreeMarkerViewResolver
GeneratedKeyHolder
GenericApplicationContext
GenericBeanFactory
Access
or
GenericCollectionTypeResolver
GenericFilterBean
GenericPortletBean
GenericWebApplicationContext
GlobalAdvisorAdapterRegistry
GroovyScriptFactory
HandlerAdapter
HandlerAdapter
Handler
Exception
Resolver
Handler
Exception
Resolver
HandlerExecutionChain
HandlerExecutionChain
HandlerInterceptor
HandlerInterceptor
HandlerInterceptorAdapter
HandlerInterceptorAdapter
HandlerMapping
HandlerMapping
HashMapCachingAdvisorChainFactory
Hessian1SkeletonInvoker
Hessian2SkeletonInvoker
HessianClientInterceptor
HessianProxyFactoryBean
HessianServiceExporter
HessianSkeletonInvoker
HeuristicCompletion
Exception
Hibernate
Access
or
Hibernate
Access
or
HibernateCallback
HibernateCallback
Hibernate
Dao
Support
Hibernate
Dao
Support
HibernateInterceptor
HibernateInterceptor
HibernateJdbc
Exception
HibernateJdbc
Exception
HibernateJpaDialect
HibernateJpaVendorAdapter
HibernateObjectRetrievalFailure
Exception
HibernateObjectRetrievalFailure
Exception
HibernateOperations
HibernateOperations
HibernateOptimisticLockingFailure
Exception
HibernateOptimisticLockingFailure
Exception
HibernateQuery
Exception
HibernateQuery
Exception
HibernateSystem
Exception
HibernateSystem
Exception
HibernateTemplate
HibernateTemplate
HibernateTransactionManager
HibernateTransactionManager
HiddenInputTag
HierarchicalBeanFactory
HierarchicalMessageSource
HierarchicalThemeSource
HotSwappableTargetSource
HsqlMaxValueIncrementer
HtmlCharacterEntityDecoder
HtmlCharacterEntityReferences
HtmlEscapeTag
HtmlEscapingAwareTag
HtmlUtils
HttpInvokerClientConfiguration
HttpInvokerClientInterceptor
HttpInvokerProxyFactoryBean
HttpInvokerRequestExecutor
HttpInvokerServiceExporter
HttpRequestHandler
HttpRequestHandlerAdapter
HttpRequestHandlerServlet
HttpRequestMethodNotSupported
Exception
HttpServletBean
HttpSessionMutexListener
HttpSessionRequired
Exception
IdentityNamingStrategy
IdTransferringMergeEventListener
IllegalState
Exception
IllegalTransactionState
Exception
ImportDefinition
Incor
rect
Result
SetColumnCount
Exception
Incor
rect
Result
Size
Data
Access
Exception
Incor
rect
UpdateSemantics
Data
Access
Exception
InitializingBean
InputStreamEditor
InputStreamResource
InputStreamSource
InputTag
InstantiationAwareBeanPostProcessor
InstantiationAwareBeanPostProcessorAdapter
InstantiationModelAwarePointcutAdvisor
InstantiationModelAwarePointcutAdvisorImpl
InstantiationStrategy
InstrumentationLoadTimeWeaver
InstrumentationSavingAgent
InteractionCallback
InterceptorAndDynamicMethodMatcher
InterfaceBasedMBeanInfoAssembler
InternalPathMethodNameResolver
InternalResourceView
InternalResourceViewResolver
InternetAddressEditor
InterruptibleBatchPreparedStatementSetter
IntroductionAdvisor
IntroductionAwareMethodMatcher
IntroductionInfo
IntroductionInfoSupport
IntroductionInterceptor
IntrospectorCleanupListener
InvalidClientID
Exception
Invalid
Data
Access
ApiUsage
Exception
Invalid
Data
Access
ResourceUsage
Exception
InvalidDestination
Exception
InvalidInvocation
Exception
InvalidIsolationLevel
Exception
InvalidMeta
data
Exception
InvalidProperty
Exception
Invalid
Result
Set
Access
Exception
Invalid
Result
Set
Access
Exception
InvalidSelector
Exception
InvalidTimeout
Exception
InvertibleComparator
InvocationFailure
Exception
Isolation
JamonPerformanceMonitorInterceptor
JasperReportsCsvView
JasperReportsHtmlView
JasperReportsMultiFormatView
JasperReportsPdfView
JasperReportsUtils
JasperReportsViewResolver
JasperReportsXlsView
JavaMailSender
JavaMailSenderImpl
JavaScriptUtils
JaxRpcPortClientInterceptor
JaxRpcPortProxyFactoryBean
JaxRpcServicePostProcessor
JBossNativeJdbcExtractor
Jdbc
Access
or
JdbcBeanDefinitionReader
Jdbc
Dao
Support
JdbcOperations
JdbcTemplate
JdbcTransactionObjectSupport
JdbcUpdateAffected
Incor
rect
NumberOfRows
Exception
JdbcUtils
JdkDynamicAopProxy
JdkRegexpMethodPointcut
JdkVersion
Jdo
Access
or
JdoCallback
Jdo
Dao
Support
JdoDialect
JdoInterceptor
JdoObjectRetrievalFailure
Exception
JdoOperations
JdoOptimisticLockingFailure
Exception
JdoResourceFailure
Exception
JdoSystem
Exception
JdoTemplate
JdoTransactionManager
JdoUsage
Exception
JeeNamespaceHandler
Jms
Access
or
JmsDestination
Access
or
Jms
Exception
JmsGatewaySupport
JmsInvokerClientInterceptor
JmsInvokerProxyFactoryBean
JmsInvokerServiceExporter
JmsOperations
JmsResourceHolder
JmsSecurity
Exception
JmsTemplate
JmsTemplate102
JmsTransactionManager
JmsTransactionManager102
JmsUtils
JmxAttributeSource
Jmx
Exception
JmxMeta
data
Utils
JmxUtils
Jndi
Access
or
JndiCallback
Jndi
Data
SourceLookup
JndiDestinationResolver
JndiLocatorSupport
JndiLookupBeanDefinitionParser
JndiObjectFactoryBean
JndiObjectLocator
JndiObjectTargetSource
JndiRmiClientInterceptor
JndiRmiProxyFactoryBean
JndiRmiServiceExporter
JndiTemplate
JndiTemplateEditor
JobDetailAwareTrigger
JobDetailBean
JotmFactoryBean
Jpa
Access
or
JpaCallback
Jpa
Dao
Support
JpaDialect
JpaInterceptor
JpaObjectRetrievalFailure
Exception
JpaOperations
JpaOptimisticLockingFailure
Exception
JpaSystem
Exception
JpaTemplate
JpaTransactionManager
JpaVendorAdapter
JRubyScriptFactory
JRubyScriptUtils
JspAwareRequestContext
JstlUtils
JstlView
JtaAfterCompletionSynchronization
JtaLobCreatorSynchronization
JtaTransactionManager
JtaTransactionObject
KeyHolder
KeyNamingStrategy
LabeledEnum
LabeledEnumResolver
LabelTag
LangNamespaceHandler
LastModified
LazyConnection
Data
SourceProxy
LazyInitTargetSource
LazyInitTargetSourceCreator
LazySingletonMeta
data
AwareAspectInstanceFactoryDecorator
LetterCodedLabeledEnum
Lifecycle
ListableBeanFactory
ListenerExecutionFailed
Exception
ListenerSessionManager
ListFactoryBean
LoadTimeWeaver
LobCreator
LobCreatorUtils
LobHandler
LobRetrievalFailure
Exception
LocalConnectionFactoryBean
LocalContainerEntityManagerFactoryBean
Local
Data
SourceConnectionProvider
Local
Data
SourceConnectionProvider
Local
Data
SourceJobStore
LocaleChangeInterceptor
LocaleContext
LocaleContextHolder
LocaleEditor
LocalEntityManagerFactoryBean
LocaleResolver
LocalizedResourceHelper
LocalJaxRpcServiceFactory
LocalJaxRpcServiceFactoryBean
LocalPersistenceManagerFactoryBean
LocalSessionFactory
LocalSessionFactoryBean
LocalSessionFactoryBean
LocalSessionFactoryBean
LocalSlsbInvokerInterceptor
LocalStatelessSessionBeanDefinitionParser
LocalStatelessSessionProxyFactoryBean
LocalTaskExecutorThreadPool
LocalTransactionManagerLookup
LocalTransactionManagerLookup
LocalVariableTableParameterNameDiscoverer
Location
Log4jConfigListener
Log4jConfigServlet
Log4jConfigurer
Log4jNestedDiagnosticContextFilter
Log4jWebConfigurer
LookupDispatchActionSupport
LookupOverride
MailAuthentication
Exception
Mail
Exception
MailMessage
MailParse
Exception
MailPreparation
Exception
MailSender
MailSend
Exception
ManagedAttribute
ManagedAttribute
ManagedList
ManagedMap
ManagedNotification
ManagedNotification
ManagedNotifications
ManagedOperation
ManagedOperation
ManagedOperationParameter
ManagedOperationParameter
ManagedOperationParameters
ManagedProperties
ManagedResource
ManagedResource
ManagedSet
MapBinding
Result
Map
Data
SourceLookup
MapFactoryBean
MappingCommAreaOperation
MappingDispatchActionSupport
MappingRecordOperation
MappingSqlQuery
MappingSqlQueryWithParameters
MapSqlParameterSource
MatchAlwaysTransactionAttributeSource
MaxUpload
Size
Exceeded
Exception
MBeanClientInterceptor
MBeanExporter
MBeanExporterListener
MBeanExport
Exception
MBeanExportOperations
MBeanInfoAssembler
MBeanInfoRetrieval
Exception
MBeanProxyFactoryBean
MBeanRegistrationSupport
MBeanServerConnectionFactoryBean
MBeanServerFactoryBean
MBeanServerNotFound
Exception
Mergeable
MessageCodesResolver
MessageConversion
Exception
MessageConverter
MessageCreator
MessageEOF
Exception
MessageFormat
Exception
MessageListenerAdapter
MessageListenerAdapter102
MessageNotReadable
Exception
MessageNotWriteable
Exception
MessagePostProcessor
MessageSource
MessageSource
Access
or
MessageSourceAware
MessageSourceResolvable
MessageSourceResourceBundle
MessageTag
Meta
Data
Access
Exception
Meta
data
AwareAspectInstanceFactory
Meta
data
MBeanInfoAssembler
Meta
data
NamingStrategy
MethodBeforeAdvice
MethodBeforeAdviceInterceptor
MethodExclusionMBeanInfoAssembler
MethodInvocation
Exception
MethodInvocationProceedingJoinPoint
MethodInvoker
MethodInvokingFactoryBean
MethodInvokingJobDetailFactoryBean
MethodInvokingJobDetailFactoryBean.MethodInvokingJob
MethodInvokingJobDetailFactoryBean.StatefulMethodInvokingJob
MethodInvokingRunnable
MethodInvokingTimerTaskFactoryBean
MethodLocatingFactoryBean
MethodMapTransactionAttributeSource
MethodMatcher
MethodMatchers
MethodNameBasedMBeanInfoAssembler
MethodNameResolver
MethodOverride
MethodOverrides
MethodParameter
MethodReplacer
MimeMailMessage
MimeMessageHelper
MimeMessagePreparator
MockActionRequest
MockActionResponse
MockExpressionEvaluator
MockFilterConfig
MockHttpServletRequest
MockHttpServletResponse
MockHttpSession
MockMultipartActionRequest
MockMultipartFile
MockMultipartHttpServletRequest
MockPageContext
MockPortalContext
MockPortletConfig
MockPortletContext
MockPortletPreferences
MockPortletRequest
MockPortletRequestDispatcher
MockPortletResponse
MockPortletSession
MockPortletURL
MockRenderRequest
MockRenderResponse
MockRequestDispatcher
MockServletConfig
MockServletContext
ModelAndView
ModelAndView
ModelAndViewDefining
Exception
ModelAndViewDefining
Exception
ModelMap
ModelMBeanNotificationPublisher
MultiActionController
MultipartActionRequest
Multipart
Exception
MultipartFile
MultipartFilter
MultipartHttpServletRequest
MultipartResolver
MutablePersistenceUnitInfo
MutablePropertyValues
MutableSortDefinition
MySQLMaxValueIncrementer
NamedBean
NamedParameterJdbc
Dao
Support
NamedParameterJdbcOperations
NamedParameterJdbcTemplate
NamedParameterUtils
NameMatchMethodPointcut
NameMatchMethodPointcutAdvisor
NameMatchTransactionAttributeSource
NamespaceHandler
NamespaceHandlerResolver
NamespaceHandlerSupport
NativeJdbcExtractor
NativeJdbcExtractorAdapter
NestedChecked
Exception
Nested
Exception
Utils
NestedIO
Exception
NestedPathTag
NestedRuntime
Exception
NestedServlet
Exception
NestedTransactionNotSupported
Exception
NoRollbackRuleAttribute
NoSuchBeanDefinition
Exception
NoSuchMessage
Exception
NoSuchRequestHandlingMethod
Exception
NotAnAtAspect
Exception
NotificationListenerBean
NotificationPublisher
NotificationPublisherAware
NoTransaction
Exception
NotReadableProperty
Exception
NotSupportedRecordFactory
NotWritableProperty
Exception
NullSafeComparator
NullSourceExtractor
NullValueInNestedPath
Exception
NumberUtils
ObjectError
ObjectFactory
ObjectFactoryCreatingFactoryBean
ObjectNameManager
ObjectNamingStrategy
ObjectOptimisticLockingFailure
Exception
ObjectRetrievalFailure
Exception
ObjectUtils
OC4JClassPreprocessorAdapter
OC4JLoadTimeWeaver
OncePerRequestFilter
OpenEntityManagerInViewFilter
OpenEntityManagerInViewInterceptor
OpenPersistenceManagerInViewFilter
OpenPersistenceManagerInViewInterceptor
OpenSessionInViewFilter
OpenSessionInViewFilter
OpenSessionInViewInterceptor
OpenSessionInViewInterceptor
OptimisticLockingFailure
Exception
OptionsTag
OptionTag
OptionWriter
OracleLobHandler
OracleLobHandler.LobCallback
OracleSequenceMaxValueIncrementer
Order
OrderComparator
Ordered
PagedListHolder
PagedListSourceProvider
ParameterDisposer
ParameterHandlerMapping
ParameterizableViewController
ParameterizableViewController
ParameterizedRowMapper
ParameterMapper
ParameterMappingInterceptor
ParameterMethodNameResolver
ParameterNameDiscoverer
ParsedSql
ParserContext
ParseState
ParseState.Entry
PassThroughSourceExtractor
PasswordInputTag
PathMap
PathMatcher
PathMatchingResourcePatternResolver
PatternMatchUtils
PerformanceMonitorInterceptor
PerformanceMonitorListener
Perl5RegexpMethodPointcut
PermissionDenied
Data
Access
Exception
PersistenceAnnotationBeanPostProcessor
Persistence
Exception
TranslationAdvisor
Persistence
Exception
TranslationInterceptor
Persistence
Exception
TranslationPostProcessor
Persistence
Exception
Translator
PersistenceManagerFactoryUtils
PersistenceManagerHolder
PersistenceUnitManager
PersistenceUnitPostProcessor
PersistenceUnitReader
PessimisticLockingFailure
Exception
PlatformTransactionManager
PluggableSchemaResolver
Pointcut
PointcutAdvisor
PointcutComponentDefinition
PointcutEntry
Pointcuts
PoolingConfig
PortletApplicationContextUtils
PortletApplicationObjectSupport
PortletConfigAware
PortletContentGenerator
PortletContextAware
PortletContextAwareProcessor
PortletContextResource
PortletContextResourceLoader
PortletContextResourcePatternResolver
PortletModeHandlerMapping
PortletModeNameViewController
PortletModeParameterHandlerMapping
PortletMultipartResolver
PortletRequestAttributes
PortletRequestBinding
Exception
PortletRequest
Data
Binder
PortletRequestHandledEvent
PortletRequestParameterPropertyValues
PortletRequestUtils
PortletRequestWrapper
PortletSessionRequired
Exception
PortletUtils
PortletWebRequest
PortletWrappingController
PostgreSQLSequenceMaxValueIncrementer
PreferencesPlaceholderConfigurer
PreparedStatementCallback
PreparedStatementCreator
PreparedStatementCreatorFactory
PreparedStatementSetter
PrioritizedParameterNameDiscoverer
Problem
ProblemReporter
ProducerCallback
Propagation
PropertiesBeanDefinitionReader
PropertiesEditor
PropertiesFactoryBean
PropertiesLoaderSupport
PropertiesLoaderUtils
PropertiesMethodNameResolver
PropertiesPersister
Property
Access
Exception
Property
Access
or
Property
Access
orUtils
PropertyBatchUpdate
Exception
PropertyComparator
PropertyEditorRegistrar
PropertyEditorRegistry
PropertyEditorRegistrySupport
PropertyEntry
PropertyMatches
PropertyOverrideConfigurer
PropertyPathFactoryBean
PropertyPlaceholderConfigurer
PropertyResourceConfigurer
PropertyValue
PropertyValues
PropertyValuesEditor
PrototypeAspectInstanceFactory
PrototypeTargetSource
ProxyConfig
ProxyFactory
ProxyFactoryBean
ProxyMethodInvocation
QuartzJobBean
QuickTargetSourceCreator
RadioButtonTag
RdbmsOperation
ReaderContext
ReaderEventListener
RecordCreator
RecordExtractor
RecordTypeNotSupported
Exception
Redi
rect
View
ReflectionUtils
ReflectionUtils.FieldCallback
ReflectionUtils.FieldFilter
ReflectionUtils.MethodCallback
ReflectionUtils.MethodFilter
ReflectiveAspectJAdvisorFactory
ReflectiveAspectJAdvisorFactory.SyntheticInstantiationAdvisor
ReflectiveLoadTimeWeaver
ReflectiveMethodInvocation
ReflectiveVisitorHelper
Refreshable
RefreshablePagedListHolder
RefreshableScriptTargetSource
RegexpMethodPointcutAdvisor
ReloadableResourceBundleMessageSource
Remote
Access
Exception
Remote
Access
or
RemoteConnectFailure
Exception
RemoteExporter
RemoteInvocation
RemoteInvocationBased
Access
or
RemoteInvocationBasedExporter
RemoteInvocationExecutor
RemoteInvocationFactory
RemoteInvocation
Result
RemoteInvocationTraceInterceptor
RemoteInvocationUtils
RemoteLookupFailure
Exception
RemoteProxyFailure
Exception
RemoteStatelessSessionBeanDefinitionParser
ReplaceOverride
Repository
RequestAttributes
RequestContext
RequestContextAwareTag
RequestContextFilter
RequestContextHolder
RequestContextListener
RequestContextUtils
RequestHandledEvent
RequestScope
RequestToViewNameTranslator
RequestUtils
Required
RequiredAnnotationBeanPostProcessor
Resource
ResourceAllocation
Exception
ResourceArrayPropertyEditor
ResourceBundleEditor
ResourceBundleMessageSource
ResourceBundleThemeSource
ResourceBundleViewResolver
ResourceEditor
ResourceEditorRegistrar
ResourceEntityResolver
ResourceFactoryBean
ResourceHolderSupport
ResourceJobScheduling
Data
Processor
ResourceLoader
ResourceLoaderAware
ResourceMapFactoryBean
ResourceOverridingShadowingClassLoader
ResourcePatternResolver
ResourcePatternUtils
ResourceScriptSource
ResourceServlet
ResourceUtils
ResponseTimeMonitor
ResponseTimeMonitorImpl
Result
SetExtractor
Result
SetSupportingSqlParameter
Result
SetWrappingSqlRowSet
Result
SetWrappingSqlRowSetMeta
Data
RmiBasedExporter
RmiClientInterceptor
RmiClientInterceptorUtils
RmiInvocationHandler
RmiInvocationWrapper
RmiProxyFactoryBean
RmiRegistryFactoryBean
RmiServiceExporter
RollbackRuleAttribute
RootBeanDefinition
RootClassFilter
RowCallbackHandler
RowCountCallbackHandler
RowMapper
RowMapper
Result
SetExtractor
RuleBasedTransactionAttribute
RuntimeBeanNameReference
RuntimeBeanReference
RuntimeTestWalker
SavepointManager
ScheduledExecutorFactoryBean
ScheduledExecutorTask
ScheduledTimerListener
ScheduledTimerTask
SchedulerContextAware
SchedulerFactoryBean
SchedulingAwareRunnable
Scheduling
Exception
SchedulingTaskExecutor
Scope
ScopedBeanInterceptor
ScopedObject
ScopedProxyBeanDefinitionDecorator
ScopedProxyFactoryBean
ScriptBeanDefinitionParser
ScriptCompilation
Exception
ScriptFactory
ScriptFactoryPostProcessor
ScriptSource
SelectedValueComparator
SelectTag
SelfNaming
ServerSessionFactory
ServerSessionFactory
ServerSessionMessageListenerContainer
ServerSessionMessageListenerContainer102
ServiceLocatorFactoryBean
ServletConfigAware
ServletContextAttributeExporter
ServletContextAttributeFactoryBean
ServletContextAware
ServletContextAwareProcessor
ServletContextFactoryBean
ServletContextParameterFactoryBean
ServletContextPropertyPlaceholderConfigurer
ServletContextRequestLoggingFilter
ServletContextResource
ServletContextResourceLoader
ServletContextResourcePatternResolver
ServletEndpointSupport
ServletForwardingController
ServletRequestAttributes
ServletRequestBinding
Exception
ServletRequest
Data
Binder
ServletRequestHandledEvent
ServletRequestParameterPropertyValues
ServletRequestUtils
ServletWebRequest
ServletWrappingController
SessionAwareMessageListener
SessionBrokerSessionFactory
SessionCallback
SessionFactory
SessionFactoryUtils
SessionFactoryUtils
SessionFactoryUtils
SessionHolder
SessionHolder
SessionHolder
SessionLocaleResolver
SessionReadCallback
SessionScope
SessionThemeResolver
SetFactoryBean
ShadowingClassLoader
SharedEntityManagerBean
SharedEntityManagerCreator
ShortCodedLabeledEnum
SimpleApplicationEventMulticaster
SimpleAsyncTaskExecutor
SimpleConnectionHandle
SimpleControllerHandlerAdapter
SimpleControllerHandlerAdapter
SimpleFormController
SimpleFormController
SimpleHttpInvokerRequestExecutor
SimpleInstantiationStrategy
SimpleInstrumentableClassLoader
SimpleJdbc
Dao
Support
SimpleJdbcOperations
SimpleJdbcTemplate
SimpleLoadTimeWeaver
SimpleLocaleContext
SimpleMailMessage
SimpleMapping
Exception
Resolver
SimpleMapping
Exception
Resolver
SimpleMessageConverter
SimpleMessageConverter102
SimpleMessageListenerContainer
SimpleMessageListenerContainer102
SimpleNamingContext
SimpleNamingContextBuilder
SimpleNativeJdbcExtractor
SimplePortletHandlerAdapter
SimplePortletPostProcessor
SimplePropertyNamespaceHandler
SimpleRecordOperation
SimpleReflectiveMBeanInfoAssembler
SimpleRemoteSlsbInvokerInterceptor
SimpleRemoteStatelessSessionProxyFactoryBean
SimpleSaxErrorHandler
SimpleServerSessionFactory
SimpleServletHandlerAdapter
SimpleServletPostProcessor
SimpleTheme
SimpleThreadPoolTaskExecutor
SimpleThrowawayClassLoader
SimpleTraceInterceptor
SimpleTransactionStatus
SimpleTransformErrorListener
SimpleTriggerBean
SimpleTypeConverter
SimpleUrlHandlerMapping
SingleColumnRowMapper
SingleConnection
Data
Source
SingleConnectionFactory
SingleConnectionFactory
SingleConnectionFactory102
Single
Data
SourceLookup
SingleSessionFactory
SingletonAspectInstanceFactory
SingletonBeanFactoryLocator
SingletonBeanRegistry
SingletonMeta
data
AwareAspectInstanceFactory
SingletonTargetSource
Smart
Data
Source
SmartMimeMessage
SmartSessionBean
SmartTransactionObject
SortDefinition
SourceExtractor
SpringBeanJobFactory
SpringBindingActionForm
SpringConfiguredBeanDefinitionParser
SpringJtaSynchronizationAdapter
SpringLobCreatorSynchronization
SpringModelMBean
SpringPersistenceUnitInfo
SpringResourceLoader
SpringSessionContext
SpringSessionSynchronization
SpringSessionSynchronization
SpringTemplateLoader
SpringVersion
SqlCall
SQLErrorCodes
SQLErrorCodesFactory
SQLErrorCodeSQL
Exception
Translator
SQL
Exception
Translator
SqlFunction
SqlInOutParameter
SqlLobValue
SqlMapClientCallback
SqlMapClient
Dao
Support
SqlMapClientFactoryBean
SqlMapClientOperations
SqlMapClientTemplate
SqlOperation
SqlOutParameter
SqlParameter
SqlParameterSource
SqlProvider
SqlQuery
SqlReturn
Result
Set
SqlReturnType
SqlRowSet
SqlRowSetMeta
Data
SqlRowSet
Result
SetExtractor
SQLStateSQL
Exception
Translator
SqlTypeValue
SqlUpdate
SQLWarning
Exception
StatementCallback
StatementCreatorUtils
StaticApplicationContext
StaticLabeledEnum
StaticLabeledEnumResolver
StaticListableBeanFactory
StaticMessageSource
StaticMethodMatcher
StaticMethodMatcherPointcut
StaticMethodMatcherPointcutAdvisor
StaticPortletApplicationContext
StaticScriptSource
StaticWebApplicationContext
StopWatch
StopWatch.TaskInfo
StoredProcedure
StringArrayPropertyEditor
StringCodedLabeledEnum
StringMultipartFileEditor
StringTrimmerEditor
StringUtils
StylerUtils
SynchedLocalTransactionFailed
Exception
SyncTaskExecutor
SystemPropertyUtils
TagIdGenerator
TagUtils
TagWriter
TargetSource
TargetSourceCreator
TaskExecutor
TextareaTag
Theme
ThemeChangeInterceptor
ThemeResolver
ThemeSource
ThemeTag
ThreadLocalTargetSource
ThreadLocalTargetSourceStats
ThreadPoolTaskExecutor
ThrowawayController
ThrowawayControllerHandlerAdapter
ThrowsAdvice
ThrowsAdviceAdapter
ThrowsAdviceInterceptor
TilesConfigurer
TilesJstlView
TilesView
TimerFactoryBean
TimerManagerFactoryBean
TimerTaskExecutor
TomcatInstrumentableClassLoader
TopLink
Access
or
TopLinkCallback
TopLink
Dao
Support
TopLinkInterceptor
TopLinkJdbc
Exception
TopLinkJpaDialect
TopLinkJpaVendorAdapter
TopLinkOperations
TopLinkOptimisticLockingFailure
Exception
TopLinkQuery
Exception
TopLinkSystem
Exception
TopLinkTemplate
TopLinkTransactionManager
ToStringCreator
ToStringStyler
Transactional
TransactionAspectSupport
TransactionAttribute
TransactionAttributeEditor
TransactionAttributeSource
TransactionAttributeSourceAdvisor
TransactionAttributeSourceEditor
TransactionAwareConnectionFactoryProxy
TransactionAwareConnectionFactoryProxy
TransactionAware
Data
SourceConnectionProvider
TransactionAware
Data
SourceConnectionProvider
TransactionAware
Data
SourceProxy
TransactionAwarePersistenceManagerFactoryProxy
TransactionAwareSessionAdapter
TransactionCallback
TransactionCallbackWithout
Result
TransactionDefinition
Transaction
Exception
TransactionInProgress
Exception
TransactionInterceptor
TransactionProxyFactoryBean
TransactionRolledBack
Exception
TransactionStatus
TransactionSuspensionNotSupported
Exception
TransactionSynchronization
TransactionSynchronizationAdapter
TransactionSynchronizationManager
TransactionSynchronizationUtils
TransactionSystem
Exception
TransactionTemplate
TransactionTimedOut
Exception
TransactionUsage
Exception
TransformerUtils
TransformTag
TrueClassFilter
TrueMethodMatcher
TruePointcut
TxAdviceBeanDefinitionParser
TxNamespaceHandler
TxNamespaceUtils
TypeConverter
TypeConverterDelegate
TypeDefinitionBean
TypedStringValue
TypeMismatch
Data
Access
Exception
TypeMismatch
Exception
TypeMismatchNaming
Exception
TypePatternClassFilter
UiApplicationContextUtils
UnableToRegisterMBean
Exception
UnableToSendNotification
Exception
Uncategorized
Data
Access
Exception
UncategorizedJms
Exception
UncategorizedSQL
Exception
Un
expected
Rollback
Exception
UnionPointcut
UnitOfWorkCallback
UnknownAdviceType
Exception
UnsatisfiedDependency
Exception
Up
data
bleSqlQuery
UrlBasedRemote
Access
or
UrlBasedViewResolver
URLEditor
UrlFilenameViewController
UrlPathHelper
UrlResource
UserCredentialsConnectionFactoryAdapter
UserCredentials
Data
SourceAdapter
UserRoleAuthorizationInterceptor
UserRoleAuthorizationInterceptor
UserTransactionAdapter
UtilNamespaceHandler
ValidationUtils
Validator
ValueFormatter
ValueStyler
VelocityConfig
VelocityConfigurer
VelocityEngineFactory
VelocityEngineFactoryBean
VelocityEngineUtils
VelocityLayoutView
VelocityLayoutViewResolver
VelocityToolboxView
VelocityView
VelocityViewResolver
ViewRendererServlet
ViewResolver
WeakReferenceMonitor
WeakReferenceMonitor.ReleaseListener
WeavingTransformer
WebApplicationContext
WebApplicationContextUtils
WebApplicationContextVariableResolver
WebApplicationObjectSupport
WebAppRootListener
WebContentGenerator
WebContentInterceptor
Web
Data
Binder
WebLogicJndiMBeanServerFactoryBean
WebLogicJtaTransactionManager
WebLogicMBeanServerFactoryBean
WebLogicNativeJdbcExtractor
WebLogicServerTransactionManagerFactoryBean
WebRequest
WebRequestHandlerInterceptorAdapter
WebRequestHandlerInterceptorAdapter
WebRequestInterceptor
WebSphereNativeJdbcExtractor
WebSphereTransactionManagerFactoryBean
WebUtils
WorkManagerTaskExecutor
XAPoolNativeJdbcExtractor
XmlBeanDefinitionParser
XmlBeanDefinitionReader
XmlBeanFactory
XmlPortletApplicationContext
XmlReaderContext
XmlValidationModeDetector
XmlViewResolver
XmlWebApplicationContext
XsltView
XsltViewResolver
解决
org
.
springframework
.
dao
.Empty
Result
Data
Access
Exception
:
Incor
rect
result
size
:
expected
1,
actual
0 的方法
1.捕捉这个异常然后返回null即可
String sql = "select * from gmm_model t where t.person_id = '"+person...
org
.
springframework
.
dao
.Empty
Result
Data
Access
Exception
:
Incor
rect
result
size
:
expected
1,
actual
0
出现这个错误是因为得到的结果长度为0 和预期的不一样。但是这个结果是我们预期想要的,即在MySQL中搜索不到这条结果,这个时候就可以用try-catch来解决。只要cat
ch掉
Data
Access
E...
在学习JDBC时,使用下面的查询语句进行查询时报出了错误:
org
.
springframework
.
dao
.Empty
Result
Data
Access
Exception
:
Incor
rect
result
size
:
expected
1,
actual
0
根据错误提示定位到了下面的语句:
Connection conn = JDBCUtils.getConnection();
String sql = "select * from user where username = ? and
1.
org
.
springframework
.
dao
.
Incor
rect
Result
Size
Data
Access
Exception
:
Incor
rect
result
size
:
expected
1,
actual
3
释义:想要的返回结果是1个,但是却返回了3个。
String sql="select r.id as id,r.area_id as areaId,r.user_i...
使用spring jdbcTemplate查询数据发现错误
org
.
springframework
.
dao
.Empty
Result
Data
Access
Exception
:
Incor
rect
result
size
:
expected
1,
actual
0
spring jdbc 的queryForMap() 或者queryForObject().
这两个函数查询数据库的时候只能查
public User getByUsername(String username1) {
//创建sql语句
String sql = "select * from user where username = ?";
//通过jbbc模板的方法,对数据库进行操作。
return jt.queryForOb
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1,actual 0 1
15548
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1,actual 0 1
weixin_46091824:
Evian_Tian:
MyEclipse使用Maven创建web项目+搭建SSM框架教
qq_25188671: