Daniel.F 28 de out. de 2010
Posta seu mapeamento ai e a descrição dos erro completo.
Só quando acontece este erro quando você preenche o set?
Chuvinha 29 de out. de 2010
Então Daniel, minha classe bean está assim:
@ Entity
@ Table ( name = "tbl_usuario_subarea" )
public class UsuarioSubArea implements Serializable {
private static final long serialVersionUID = 1 L ;
@ Id
@ GeneratedValue ( strategy = GenerationType . IDENTITY )
@ Column ( name = "id_usuario_subarea" )
private Integer idUsuarioSubArea ;
@ ManyToOne
@ JoinColumn ( name = "id_usuario" , referencedColumnName = "id_usuario" )
private Usuario usuario ;
@ ManyToOne
@ JoinColumn ( name = "id_subarea" , referencedColumnName = "id_subarea" )
private SubArea subArea ;
E o erro todo que dá é esse:
INFO : Error performing load command
org . hibernate . exception . SQLGrammarException : could not load an entity : [ br . com . editorasaraiva . repositoriodigital . entity . SubArea #59]
at org . hibernate . exception . SQLStateConverter . convert ( SQLStateConverter . java : 67 )
at org . hibernate . exception . JDBCExceptionHelper . convert ( JDBCExceptionHelper . java : 43 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1874 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 48 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 42 )
at org . hibernate . persister . entity . AbstractEntityPersister . load ( AbstractEntityPersister . java : 3044 )
at org . hibernate . event . def . DefaultLoadEventListener . loadFromDatasource ( DefaultLoadEventListener . java : 395 )
at org . hibernate . event . def . DefaultLoadEventListener . doLoad ( DefaultLoadEventListener . java : 375 )
at org . hibernate . event . def . DefaultLoadEventListener . load ( DefaultLoadEventListener . java : 139 )
at org . hibernate . event . def . DefaultLoadEventListener . proxyOrLoad ( DefaultLoadEventListener . java : 195 )
at org . hibernate . event . def . DefaultLoadEventListener . onLoad ( DefaultLoadEventListener . java : 103 )
at org . hibernate . impl . SessionImpl . fireLoad ( SessionImpl . java : 878 )
at org . hibernate . impl . SessionImpl . internalLoad ( SessionImpl . java : 846 )
at org . hibernate . type . EntityType . resolveIdentifier ( EntityType . java : 557 )
at org . hibernate . type . EntityType . resolve ( EntityType . java : 379 )
at org . hibernate . engine . TwoPhaseLoad . initializeEntity ( TwoPhaseLoad . java : 116 )
at org . hibernate . loader . Loader . initializeEntitiesAndCollections ( Loader . java : 854 )
at org . hibernate . loader . Loader . doQuery ( Loader . java : 729 )
at org . hibernate . loader . Loader . doQueryAndInitializeNonLazyCollections ( Loader . java : 236 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1860 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 48 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 42 )
at org . hibernate . persister . entity . AbstractEntityPersister . load ( AbstractEntityPersister . java : 3044 )
at org . hibernate . event . def . DefaultLoadEventListener . loadFromDatasource ( DefaultLoadEventListener . java : 395 )
at org . hibernate . event . def . DefaultLoadEventListener . doLoad ( DefaultLoadEventListener . java : 375 )
at org . hibernate . event . def . DefaultLoadEventListener . load ( DefaultLoadEventListener . java : 139 )
at org . hibernate . event . def . DefaultLoadEventListener . proxyOrLoad ( DefaultLoadEventListener . java : 195 )
at org . hibernate . event . def . DefaultLoadEventListener . onLoad ( DefaultLoadEventListener . java : 103 )
at org . hibernate . impl . SessionImpl . fireLoad ( SessionImpl . java : 878 )
at org . hibernate . impl . SessionImpl . get ( SessionImpl . java : 815 )
at org . hibernate . event . def . DefaultMergeEventListener . entityIsDetached ( DefaultMergeEventListener . java : 229 )
at org . hibernate . event . def . DefaultMergeEventListener . onMerge ( DefaultMergeEventListener . java : 120 )
at org . hibernate . event . def . DefaultMergeEventListener . onMerge ( DefaultMergeEventListener . java : 53 )
at org . hibernate . impl . SessionImpl . fireMerge ( SessionImpl . java : 677 )
at org . hibernate . impl . SessionImpl . merge ( SessionImpl . java : 661 )
at org . hibernate . impl . SessionImpl . merge ( SessionImpl . java : 665 )
at org . hibernate . ejb . AbstractEntityManagerImpl . merge ( AbstractEntityManagerImpl . java : 235 )
at br . com . editorasaraiva . repositoriodigital . util . JPAUtil . removerPorChave ( JPAUtil . java : 188 )
at br . com . editorasaraiva . repositoriodigital . dao . UsuarioSubAreaDAO . removerUsuarioSubAreaPorId ( UsuarioSubAreaDAO . java : 46 )
at br . com . editorasaraiva . repositoriodigital . action . UsuarioAction . doUpdateSubAreas ( UsuarioAction . java : 389 )
at br . com . editorasaraiva . repositoriodigital . action . UsuarioAction . doUpdate ( UsuarioAction . java : 372 )
at sun . reflect . NativeMethodAccessorImpl . invoke0 ( Native Method )
at sun . reflect . NativeMethodAccessorImpl . invoke ( NativeMethodAccessorImpl . java : 39 )
at sun . reflect . DelegatingMethodAccessorImpl . invoke ( DelegatingMethodAccessorImpl . java : 25 )
at java . lang . reflect . Method . invoke ( Method . java : 597 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invokeAction ( DefaultActionInvocation . java : 399 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invokeActionOnly ( DefaultActionInvocation . java : 262 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 224 )
at com . opensymphony . xwork2 . interceptor . DefaultWorkflowInterceptor . doIntercept ( DefaultWorkflowInterceptor . java : 213 )
at com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . validator . ValidationInterceptor . doIntercept ( ValidationInterceptor . java : 150 )
at org . apache . struts2 . interceptor . validation . AnnotationValidationInterceptor . doIntercept ( AnnotationValidationInterceptor . java : 48 )
at com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ConversionErrorInterceptor . intercept ( ConversionErrorInterceptor . java : 123 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ParametersInterceptor . intercept ( ParametersInterceptor . java : 161 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . StaticParametersInterceptor . intercept ( StaticParametersInterceptor . java : 105 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . CheckboxInterceptor . intercept ( CheckboxInterceptor . java : 83 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . FileUploadInterceptor . intercept ( FileUploadInterceptor . java : 207 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ModelDrivenInterceptor . intercept ( ModelDrivenInterceptor . java : 74 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ScopedModelDrivenInterceptor . intercept ( ScopedModelDrivenInterceptor . java : 127 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . ProfilingActivationInterceptor . intercept ( ProfilingActivationInterceptor . java : 107 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . debugging . DebuggingInterceptor . intercept ( DebuggingInterceptor . java : 206 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ChainingInterceptor . intercept ( ChainingInterceptor . java : 115 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . I18nInterceptor . intercept ( I18nInterceptor . java : 143 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . PrepareInterceptor . intercept ( PrepareInterceptor . java : 115 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . ServletConfigInterceptor . intercept ( ServletConfigInterceptor . java : 170 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . AliasInterceptor . intercept ( AliasInterceptor . java : 123 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ExceptionMappingInterceptor . intercept ( ExceptionMappingInterceptor . java : 176 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . impl . StrutsActionProxy . execute ( StrutsActionProxy . java : 50 )
at org . apache . struts2 . dispatcher . Dispatcher . serviceAction ( Dispatcher . java : 507 )
at org . apache . struts2 . dispatcher . FilterDispatcher . doFilter ( FilterDispatcher . java : 421 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 235 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 206 )
at org . apache . catalina . core . StandardWrapperValve . invoke ( StandardWrapperValve . java : 233 )
at org . apache . catalina . core . StandardContextValve . invoke ( StandardContextValve . java : 191 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 128 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 102 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 109 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 293 )
at org . apache . coyote . http11 . Http11Processor . process ( Http11Processor . java : 849 )
at org . apache . coyote . http11 . Http11Protocol $ Http11ConnectionHandler . process ( Http11Protocol . java : 583 )
at org . apache . tomcat . util . net . JIoEndpoint $ Worker . run ( JIoEndpoint . java : 454 )
at java . lang . Thread . run ( Thread . java : 619 )
Caused by : com . mysql . jdbc . exceptions . jdbc4 . MySQLSyntaxErrorException : Unknown column 'produtoinf1_.id_prd_colecao_fk' in 'field list'
at sun . reflect . NativeConstructorAccessorImpl . newInstance0 ( Native Method )
at sun . reflect . NativeConstructorAccessorImpl . newInstance ( NativeConstructorAccessorImpl . java : 39 )
at sun . reflect . DelegatingConstructorAccessorImpl . newInstance ( DelegatingConstructorAccessorImpl . java : 27 )
at java . lang . reflect . Constructor . newInstance ( Constructor . java : 513 )
at com . mysql . jdbc . Util . handleNewInstance ( Util . java : 406 )
at com . mysql . jdbc . Util . getInstance ( Util . java : 381 )
at com . mysql . jdbc . SQLError . createSQLException ( SQLError . java : 1030 )
at com . mysql . jdbc . SQLError . createSQLException ( SQLError . java : 956 )
at com . mysql . jdbc . MysqlIO . checkErrorPacket ( MysqlIO . java : 3491 )
at com . mysql . jdbc . MysqlIO . checkErrorPacket ( MysqlIO . java : 3423 )
at com . mysql . jdbc . MysqlIO . sendCommand ( MysqlIO . java : 1936 )
at com . mysql . jdbc . MysqlIO . sqlQueryDirect ( MysqlIO . java : 2060 )
at com . mysql . jdbc . ConnectionImpl . execSQL ( ConnectionImpl . java : 2542 )
at com . mysql . jdbc . PreparedStatement . executeInternal ( PreparedStatement . java : 1734 )
at com . mysql . jdbc . PreparedStatement . executeQuery ( PreparedStatement . java : 1885 )
at org . hibernate . jdbc . AbstractBatcher . getResultSet ( AbstractBatcher . java : 186 )
at org . hibernate . loader . Loader . getResultSet ( Loader . java : 1787 )
at org . hibernate . loader . Loader . doQuery ( Loader . java : 674 )
at org . hibernate . loader . Loader . doQueryAndInitializeNonLazyCollections ( Loader . java : 236 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1860 )
... 148 more
29 / 10 / 2010 11 : 19 : 50 org . hibernate . event . def . DefaultLoadEventListener onLoad
INFO : Error performing load command
org . hibernate . exception . SQLGrammarException : could not load an entity : [ br . com . editorasaraiva . repositoriodigital . entity . SubArea #59]
at org . hibernate . exception . SQLStateConverter . convert ( SQLStateConverter . java : 67 )
at org . hibernate . exception . JDBCExceptionHelper . convert ( JDBCExceptionHelper . java : 43 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1874 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 48 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 42 )
at org . hibernate . persister . entity . AbstractEntityPersister . load ( AbstractEntityPersister . java : 3044 )
at org . hibernate . event . def . DefaultLoadEventListener . loadFromDatasource ( DefaultLoadEventListener . java : 395 )
at org . hibernate . event . def . DefaultLoadEventListener . doLoad ( DefaultLoadEventListener . java : 375 )
at org . hibernate . event . def . DefaultLoadEventListener . load ( DefaultLoadEventListener . java : 139 )
at org . hibernate . event . def . DefaultLoadEventListener . proxyOrLoad ( DefaultLoadEventListener . java : 195 )
at org . hibernate . event . def . DefaultLoadEventListener . onLoad ( DefaultLoadEventListener . java : 103 )
at org . hibernate . impl . SessionImpl . fireLoad ( SessionImpl . java : 878 )
at org . hibernate . impl . SessionImpl . internalLoad ( SessionImpl . java : 846 )
at org . hibernate . type . EntityType . resolveIdentifier ( EntityType . java : 557 )
at org . hibernate . type . EntityType . resolve ( EntityType . java : 379 )
at org . hibernate . engine . TwoPhaseLoad . initializeEntity ( TwoPhaseLoad . java : 116 )
at org . hibernate . loader . Loader . initializeEntitiesAndCollections ( Loader . java : 854 )
at org . hibernate . loader . Loader . doQuery ( Loader . java : 729 )
at org . hibernate . loader . Loader . doQueryAndInitializeNonLazyCollections ( Loader . java : 236 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1860 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 48 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 42 )
at org . hibernate . persister . entity . AbstractEntityPersister . load ( AbstractEntityPersister . java : 3044 )
at org . hibernate . event . def . DefaultLoadEventListener . loadFromDatasource ( DefaultLoadEventListener . java : 395 )
at org . hibernate . event . def . DefaultLoadEventListener . doLoad ( DefaultLoadEventListener . java : 375 )
at org . hibernate . event . def . DefaultLoadEventListener . load ( DefaultLoadEventListener . java : 139 )
at org . hibernate . event . def . DefaultLoadEventListener . proxyOrLoad ( DefaultLoadEventListener . java : 195 )
at org . hibernate . event . def . DefaultLoadEventListener . onLoad ( DefaultLoadEventListener . java : 103 )
at org . hibernate . impl . SessionImpl . fireLoad ( SessionImpl . java : 878 )
at org . hibernate . impl . SessionImpl . get ( SessionImpl . java : 815 )
at org . hibernate . event . def . DefaultMergeEventListener . entityIsDetached ( DefaultMergeEventListener . java : 229 )
at org . hibernate . event . def . DefaultMergeEventListener . onMerge ( DefaultMergeEventListener . java : 120 )
at org . hibernate . event . def . DefaultMergeEventListener . onMerge ( DefaultMergeEventListener . java : 53 )
at org . hibernate . impl . SessionImpl . fireMerge ( SessionImpl . java : 677 )
at org . hibernate . impl . SessionImpl . merge ( SessionImpl . java : 661 )
at org . hibernate . impl . SessionImpl . merge ( SessionImpl . java : 665 )
at org . hibernate . ejb . AbstractEntityManagerImpl . merge ( AbstractEntityManagerImpl . java : 235 )
at br . com . editorasaraiva . repositoriodigital . util . JPAUtil . removerPorChave ( JPAUtil . java : 188 )
at br . com . editorasaraiva . repositoriodigital . dao . UsuarioSubAreaDAO . removerUsuarioSubAreaPorId ( UsuarioSubAreaDAO . java : 46 )
at br . com . editorasaraiva . repositoriodigital . action . UsuarioAction . doUpdateSubAreas ( UsuarioAction . java : 389 )
at br . com . editorasaraiva . repositoriodigital . action . UsuarioAction . doUpdate ( UsuarioAction . java : 372 )
at sun . reflect . NativeMethodAccessorImpl . invoke0 ( Native Method )
at sun . reflect . NativeMethodAccessorImpl . invoke ( NativeMethodAccessorImpl . java : 39 )
at sun . reflect . DelegatingMethodAccessorImpl . invoke ( DelegatingMethodAccessorImpl . java : 25 )
at java . lang . reflect . Method . invoke ( Method . java : 597 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invokeAction ( DefaultActionInvocation . java : 399 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invokeActionOnly ( DefaultActionInvocation . java : 262 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 224 )
at com . opensymphony . xwork2 . interceptor . DefaultWorkflowInterceptor . doIntercept ( DefaultWorkflowInterceptor . java : 213 )
at com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . validator . ValidationInterceptor . doIntercept ( ValidationInterceptor . java : 150 )
at org . apache . struts2 . interceptor . validation . AnnotationValidationInterceptor . doIntercept ( AnnotationValidationInterceptor . java : 48 )
at com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ConversionErrorInterceptor . intercept ( ConversionErrorInterceptor . java : 123 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ParametersInterceptor . intercept ( ParametersInterceptor . java : 161 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . StaticParametersInterceptor . intercept ( StaticParametersInterceptor . java : 105 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . CheckboxInterceptor . intercept ( CheckboxInterceptor . java : 83 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . FileUploadInterceptor . intercept ( FileUploadInterceptor . java : 207 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ModelDrivenInterceptor . intercept ( ModelDrivenInterceptor . java : 74 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ScopedModelDrivenInterceptor . intercept ( ScopedModelDrivenInterceptor . java : 127 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . ProfilingActivationInterceptor . intercept ( ProfilingActivationInterceptor . java : 107 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . debugging . DebuggingInterceptor . intercept ( DebuggingInterceptor . java : 206 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ChainingInterceptor . intercept ( ChainingInterceptor . java : 115 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . I18nInterceptor . intercept ( I18nInterceptor . java : 143 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . PrepareInterceptor . intercept ( PrepareInterceptor . java : 115 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . ServletConfigInterceptor . intercept ( ServletConfigInterceptor . java : 170 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . AliasInterceptor . intercept ( AliasInterceptor . java : 123 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ExceptionMappingInterceptor . intercept ( ExceptionMappingInterceptor . java : 176 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . impl . StrutsActionProxy . execute ( StrutsActionProxy . java : 50 )
at org . apache . struts2 . dispatcher . Dispatcher . serviceAction ( Dispatcher . java : 507 )
at org . apache . struts2 . dispatcher . FilterDispatcher . doFilter ( FilterDispatcher . java : 421 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 235 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 206 )
at org . apache . catalina . core . StandardWrapperValve . invoke ( StandardWrapperValve . java : 233 )
at org . apache . catalina . core . StandardContextValve . invoke ( StandardContextValve . java : 191 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 128 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 102 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 109 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 293 )
at org . apache . coyote . http11 . Http11Processor . process ( Http11Processor . java : 849 )
at org . apache . coyote . http11 . Http11Protocol $ Http11ConnectionHandler . process ( Http11Protocol . java : 583 )
at org . apache . tomcat . util . net . JIoEndpoint $ Worker . run ( JIoEndpoint . java : 454 )
at java . lang . Thread . run ( Thread . java : 619 )
Caused by : com . mysql . jdbc . exceptions . jdbc4 . MySQLSyntaxErrorException : Unknown column 'produtoinf1_.id_prd_colecao_fk' in 'field list'
at sun . reflect . NativeConstructorAccessorImpl . newInstance0 ( Native Method )
at sun . reflect . NativeConstructorAccessorImpl . newInstance ( NativeConstructorAccessorImpl . java : 39 )
at sun . reflect . DelegatingConstructorAccessorImpl . newInstance ( DelegatingConstructorAccessorImpl . java : 27 )
at java . lang . reflect . Constructor . newInstance ( Constructor . java : 513 )
at com . mysql . jdbc . Util . handleNewInstance ( Util . java : 406 )
at com . mysql . jdbc . Util . getInstance ( Util . java : 381 )
at com . mysql . jdbc . SQLError . createSQLException ( SQLError . java : 1030 )
at com . mysql . jdbc . SQLError . createSQLException ( SQLError . java : 956 )
at com . mysql . jdbc . MysqlIO . checkErrorPacket ( MysqlIO . java : 3491 )
at com . mysql . jdbc . MysqlIO . checkErrorPacket ( MysqlIO . java : 3423 )
at com . mysql . jdbc . MysqlIO . sendCommand ( MysqlIO . java : 1936 )
at com . mysql . jdbc . MysqlIO . sqlQueryDirect ( MysqlIO . java : 2060 )
at com . mysql . jdbc . ConnectionImpl . execSQL ( ConnectionImpl . java : 2542 )
at com . mysql . jdbc . PreparedStatement . executeInternal ( PreparedStatement . java : 1734 )
at com . mysql . jdbc . PreparedStatement . executeQuery ( PreparedStatement . java : 1885 )
at org . hibernate . jdbc . AbstractBatcher . getResultSet ( AbstractBatcher . java : 186 )
at org . hibernate . loader . Loader . getResultSet ( Loader . java : 1787 )
at org . hibernate . loader . Loader . doQuery ( Loader . java : 674 )
at org . hibernate . loader . Loader . doQueryAndInitializeNonLazyCollections ( Loader . java : 236 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1860 )
... 148 more
29 / 10 / 2010 11 : 19 : 50 org . apache . catalina . core . StandardWrapperValve invoke
SEVERE : Servlet . service () for servlet default threw exception
com . mysql . jdbc . exceptions . jdbc4 . MySQLSyntaxErrorException : Unknown column 'produtoinf1_.id_prd_colecao_fk' in 'field list'
at sun . reflect . NativeConstructorAccessorImpl . newInstance0 ( Native Method )
at sun . reflect . NativeConstructorAccessorImpl . newInstance ( NativeConstructorAccessorImpl . java : 39 )
at sun . reflect . DelegatingConstructorAccessorImpl . newInstance ( DelegatingConstructorAccessorImpl . java : 27 )
at java . lang . reflect . Constructor . newInstance ( Constructor . java : 513 )
at com . mysql . jdbc . Util . handleNewInstance ( Util . java : 406 )
at com . mysql . jdbc . Util . getInstance ( Util . java : 381 )
at com . mysql . jdbc . SQLError . createSQLException ( SQLError . java : 1030 )
at com . mysql . jdbc . SQLError . createSQLException ( SQLError . java : 956 )
at com . mysql . jdbc . MysqlIO . checkErrorPacket ( MysqlIO . java : 3491 )
at com . mysql . jdbc . MysqlIO . checkErrorPacket ( MysqlIO . java : 3423 )
at com . mysql . jdbc . MysqlIO . sendCommand ( MysqlIO . java : 1936 )
at com . mysql . jdbc . MysqlIO . sqlQueryDirect ( MysqlIO . java : 2060 )
at com . mysql . jdbc . ConnectionImpl . execSQL ( ConnectionImpl . java : 2542 )
at com . mysql . jdbc . PreparedStatement . executeInternal ( PreparedStatement . java : 1734 )
at com . mysql . jdbc . PreparedStatement . executeQuery ( PreparedStatement . java : 1885 )
at org . hibernate . jdbc . AbstractBatcher . getResultSet ( AbstractBatcher . java : 186 )
at org . hibernate . loader . Loader . getResultSet ( Loader . java : 1787 )
at org . hibernate . loader . Loader . doQuery ( Loader . java : 674 )
at org . hibernate . loader . Loader . doQueryAndInitializeNonLazyCollections ( Loader . java : 236 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1860 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 48 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 42 )
at org . hibernate . persister . entity . AbstractEntityPersister . load ( AbstractEntityPersister . java : 3044 )
at org . hibernate . event . def . DefaultLoadEventListener . loadFromDatasource ( DefaultLoadEventListener . java : 395 )
at org . hibernate . event . def . DefaultLoadEventListener . doLoad ( DefaultLoadEventListener . java : 375 )
at org . hibernate . event . def . DefaultLoadEventListener . load ( DefaultLoadEventListener . java : 139 )
at org . hibernate . event . def . DefaultLoadEventListener . proxyOrLoad ( DefaultLoadEventListener . java : 195 )
at org . hibernate . event . def . DefaultLoadEventListener . onLoad ( DefaultLoadEventListener . java : 103 )
at org . hibernate . impl . SessionImpl . fireLoad ( SessionImpl . java : 878 )
at org . hibernate . impl . SessionImpl . internalLoad ( SessionImpl . java : 846 )
at org . hibernate . type . EntityType . resolveIdentifier ( EntityType . java : 557 )
at org . hibernate . type . EntityType . resolve ( EntityType . java : 379 )
at org . hibernate . engine . TwoPhaseLoad . initializeEntity ( TwoPhaseLoad . java : 116 )
at org . hibernate . loader . Loader . initializeEntitiesAndCollections ( Loader . java : 854 )
at org . hibernate . loader . Loader . doQuery ( Loader . java : 729 )
at org . hibernate . loader . Loader . doQueryAndInitializeNonLazyCollections ( Loader . java : 236 )
at org . hibernate . loader . Loader . loadEntity ( Loader . java : 1860 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 48 )
at org . hibernate . loader . entity . AbstractEntityLoader . load ( AbstractEntityLoader . java : 42 )
at org . hibernate . persister . entity . AbstractEntityPersister . load ( AbstractEntityPersister . java : 3044 )
at org . hibernate . event . def . DefaultLoadEventListener . loadFromDatasource ( DefaultLoadEventListener . java : 395 )
at org . hibernate . event . def . DefaultLoadEventListener . doLoad ( DefaultLoadEventListener . java : 375 )
at org . hibernate . event . def . DefaultLoadEventListener . load ( DefaultLoadEventListener . java : 139 )
at org . hibernate . event . def . DefaultLoadEventListener . proxyOrLoad ( DefaultLoadEventListener . java : 195 )
at org . hibernate . event . def . DefaultLoadEventListener . onLoad ( DefaultLoadEventListener . java : 103 )
at org . hibernate . impl . SessionImpl . fireLoad ( SessionImpl . java : 878 )
at org . hibernate . impl . SessionImpl . get ( SessionImpl . java : 815 )
at org . hibernate . event . def . DefaultMergeEventListener . entityIsDetached ( DefaultMergeEventListener . java : 229 )
at org . hibernate . event . def . DefaultMergeEventListener . onMerge ( DefaultMergeEventListener . java : 120 )
at org . hibernate . event . def . DefaultMergeEventListener . onMerge ( DefaultMergeEventListener . java : 53 )
at org . hibernate . impl . SessionImpl . fireMerge ( SessionImpl . java : 677 )
at org . hibernate . impl . SessionImpl . merge ( SessionImpl . java : 661 )
at org . hibernate . impl . SessionImpl . merge ( SessionImpl . java : 665 )
at org . hibernate . ejb . AbstractEntityManagerImpl . merge ( AbstractEntityManagerImpl . java : 235 )
at br . com . editorasaraiva . repositoriodigital . util . JPAUtil . removerPorChave ( JPAUtil . java : 188 )
at br . com . editorasaraiva . repositoriodigital . dao . UsuarioSubAreaDAO . removerUsuarioSubAreaPorId ( UsuarioSubAreaDAO . java : 46 )
at br . com . editorasaraiva . repositoriodigital . action . UsuarioAction . doUpdateSubAreas ( UsuarioAction . java : 389 )
at br . com . editorasaraiva . repositoriodigital . action . UsuarioAction . doUpdate ( UsuarioAction . java : 372 )
at sun . reflect . NativeMethodAccessorImpl . invoke0 ( Native Method )
at sun . reflect . NativeMethodAccessorImpl . invoke ( NativeMethodAccessorImpl . java : 39 )
at sun . reflect . DelegatingMethodAccessorImpl . invoke ( DelegatingMethodAccessorImpl . java : 25 )
at java . lang . reflect . Method . invoke ( Method . java : 597 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invokeAction ( DefaultActionInvocation . java : 399 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invokeActionOnly ( DefaultActionInvocation . java : 262 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 224 )
at com . opensymphony . xwork2 . interceptor . DefaultWorkflowInterceptor . doIntercept ( DefaultWorkflowInterceptor . java : 213 )
at com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . validator . ValidationInterceptor . doIntercept ( ValidationInterceptor . java : 150 )
at org . apache . struts2 . interceptor . validation . AnnotationValidationInterceptor . doIntercept ( AnnotationValidationInterceptor . java : 48 )
at com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ConversionErrorInterceptor . intercept ( ConversionErrorInterceptor . java : 123 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ParametersInterceptor . intercept ( ParametersInterceptor . java : 161 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . StaticParametersInterceptor . intercept ( StaticParametersInterceptor . java : 105 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . CheckboxInterceptor . intercept ( CheckboxInterceptor . java : 83 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . FileUploadInterceptor . intercept ( FileUploadInterceptor . java : 207 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ModelDrivenInterceptor . intercept ( ModelDrivenInterceptor . java : 74 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ScopedModelDrivenInterceptor . intercept ( ScopedModelDrivenInterceptor . java : 127 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . ProfilingActivationInterceptor . intercept ( ProfilingActivationInterceptor . java : 107 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . debugging . DebuggingInterceptor . intercept ( DebuggingInterceptor . java : 206 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ChainingInterceptor . intercept ( ChainingInterceptor . java : 115 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . I18nInterceptor . intercept ( I18nInterceptor . java : 143 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . PrepareInterceptor . intercept ( PrepareInterceptor . java : 115 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . interceptor . ServletConfigInterceptor . intercept ( ServletConfigInterceptor . java : 170 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . AliasInterceptor . intercept ( AliasInterceptor . java : 123 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at com . opensymphony . xwork2 . interceptor . ExceptionMappingInterceptor . intercept ( ExceptionMappingInterceptor . java : 176 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
at com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
at com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
at com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
at org . apache . struts2 . impl . StrutsActionProxy . execute ( StrutsActionProxy . java : 50 )
at org . apache . struts2 . dispatcher . Dispatcher . serviceAction ( Dispatcher . java : 507 )
at org . apache . struts2 . dispatcher . FilterDispatcher . doFilter ( FilterDispatcher . java : 421 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 235 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 206 )
at org . apache . catalina . core . StandardWrapperValve . invoke ( StandardWrapperValve . java : 233 )
at org . apache . catalina . core . StandardContextValve . invoke ( StandardContextValve . java : 191 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 128 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 102 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 109 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 293 )
at org . apache . coyote . http11 . Http11Processor . process ( Http11Processor . java : 849 )
at org . apache . coyote . http11 . Http11Protocol $ Http11ConnectionHandler . process ( Http11Protocol . java : 583 )
at org . apache . tomcat . util . net . JIoEndpoint $ Worker . run ( JIoEndpoint . java : 454 )
at java . lang . Thread . run ( Thread . java : 619 )
Daniel.F 29 de out. de 2010
Esta coluna id_prd_colecao_fk está mapeda em qual tabela??
Tem entidade mapeada pra ela?
Chuvinha 29 de out. de 2010
Resolvi Daniel.
O problema estava nesse campo mesmo.
Esse campo pertence a tabela produto, porém, alteraram o banco recentemente e esse campo foi excluído dessa tabela.
Problema resolvido.
Muito obrigado =))
Quebrou mó galhão.
Abraço
Daniel.F 29 de out. de 2010
De nada.
Eu queria pedir o favor de você editar o título do seu colocando [resolvido] na frente dele.