ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucy Fang <f...@acs.rutgers.edu>
Subject RE: Parameter Map for nested class
Date Tue, 30 Nov 2004 17:26:59 GMT
Thanks.
 
I am using Spring 1.0 with iBatis SQL Map 2.0.
The exception I got is:
javax.servlet.ServletException: (SqlMapClientTemplate): encountered
SQLException [  

--- The error occurred in
edu/rutgers/acs/univ_services/events/dao/ibatis/maps/Organization.xml.  

--- The error occurred while applying a parameter map.  

--- Check the Organization.update-organization-param.  

--- Check the parameter mapping for the 'contact.firstName' property.  

--- Cause: java.sql.SQLException: Invalid column type]; nested exception is
com.ibatis.common.jdbc.exception.NestedSQLException:   

--- The error occurred in
edu/rutgers/acs/univ_services/events/dao/ibatis/maps/Organization.xml.  

--- The error occurred while applying a parameter map.  

--- Check the Organization.update-organization-param.  

--- Check the parameter mapping for the 'contact.firstName' property.  

--- Cause: java.sql.SQLException: Invalid column type

	
net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(Securi
tyEnforcementFilter.java:207)

	
net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:
88)

	
net.sf.acegisecurity.ui.AbstractIntegrationFilter.doFilter(AbstractIntegrati
onFilter.java:170)

	
net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:
88)

	
net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessing
Filter.java:368)

	
net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:
88)

	
edu.rutgers.acs.commons.helpers.audit.AuditIntegrationFilter.doFilterInterna
l(AuditIntegrationFilter.java:33)

	
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestF
ilter.java:73)



root cause 

org.springframework.jdbc.UncategorizedSQLException: (SqlMapClientTemplate):
encountered SQLException [  

--- The error occurred in
edu/rutgers/acs/univ_services/events/dao/ibatis/maps/Organization.xml.  

--- The error occurred while applying a parameter map.  

--- Check the Organization.update-organization-param.  

--- Check the parameter mapping for the 'contact.firstName' property.  

--- Cause: java.sql.SQLException: Invalid column type]; nested exception is
com.ibatis.common.jdbc.exception.NestedSQLException:   

--- The error occurred in
edu/rutgers/acs/univ_services/events/dao/ibatis/maps/Organization.xml.  

--- The error occurred while applying a parameter map.  

--- Check the Organization.update-organization-param.  

--- Check the parameter mapping for the 'contact.firstName' property.  

--- Cause: java.sql.SQLException: Invalid column type

	
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQ
LStateSQLExceptionTranslator.java:94)

	
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translat
e(SQLErrorCodeSQLExceptionTranslator.java:281)

	
org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemp
late.java:143)

	
org.springframework.orm.ibatis.SqlMapClientTemplate.update(SqlMapClientTempl
ate.java:280)

	
edu.rutgers.acs.univ_services.events.dao.ibatis.SqlMapOrganizationDao.saveOr
ganization(SqlMapOrganizationDao.java:43)

	
edu.rutgers.acs.univ_services.events.service.support.EventsManageImpl.update
Organization(EventsManageImpl.java:59)

	
edu.rutgers.acs.univ_services.events.web.OrganizationController.createOrUpda
teOrganization(OrganizationController.java:156)

	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

	
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

	java.lang.reflect.Method.invoke(Method.java:324)

	
org.springframework.web.servlet.mvc.multiaction.MultiActionController.invoke
NamedMethod(MultiActionController.java:352)

	
org.springframework.web.servlet.mvc.multiaction.MultiActionController.handle
RequestInternal(MultiActionController.java:305)

	
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abstrac
tController.java:128)

	
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(Si
mpleControllerHandlerAdapter.java:44)

	
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServle
t.java:522)

	
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.ja
va:321)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

	
net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.proceedWithObje
ct(FilterSecurityInterceptor.java:87)

	
net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.interceptor(Abstr
actSecurityInterceptor.java:318)

	
net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSe
curityInterceptor.java:78)

	
net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(Securi
tyEnforcementFilter.java:165)

	
net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:
88)

	
net.sf.acegisecurity.ui.AbstractIntegrationFilter.doFilter(AbstractIntegrati
onFilter.java:170)

	
net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:
88)

	
net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessing
Filter.java:368)

	
net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:
88)

	
edu.rutgers.acs.commons.helpers.audit.AuditIntegrationFilter.doFilterInterna
l(AuditIntegrationFilter.java:33)

	
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestF
ilter.java:73)

Mime
View raw message