java.lang.UnsupportedOperationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Help « Exception « JPA Q&A
    via by Unknown author,
  • Help with spring/hibernate/tomcat
    via springframework by *anonymous
    ,
  • Database Options
    via wsabi4axis by mikeoliveraz
    ,
  • 13:01:56,265 INFO [Environment] Hibernate 2.1.2 13:01:56,296 INFO [Environment] loaded properties from resource hibernate.properties: {hibernate.cglib.use_reflection_optimizer=false, hibernate.dialect=net.sf.hibern 13:01:56,296 INFO [Configuration] configuring from resource: /hibernate.cfg.xml 13:01:56,296 INFO [Configuration] Configuration resource: /hibernate.cfg.xml 13:01:56,500 INFO [Configuration] Mapping resource: org/efs/openreports/objects/Report.hbm.xml 13:01:56,687 INFO [Binder] Mapping class: org.efs.openreports.objects.Report -> REPORT 13:01:56,843 INFO [Binder] Mapping collection: org.efs.openreports.objects.Report.parameters -> REPORT_PARAMETER_MAP 13:01:56,906 INFO [Configuration] Mapping resource: org/efs/openreports/objects/ReportDataSource.hbm.xml 13:01:56,937 INFO [Binder] Mapping class: org.efs.openreports.objects.ReportDataSource -> REPORT_DATASOURCE 13:01:57,000 INFO [Configuration] Mapping resource: org/efs/openreports/objects/ReportGroup.hbm.xml 13:01:57,031 INFO [Binder] Mapping class: org.efs.openreports.objects.ReportGroup -> REPORT_GROUP 13:01:57,031 INFO [Binder] Mapping collection: org.efs.openreports.objects.ReportGroup.reports -> REPORT_GROUP_MAP 13:01:57,031 INFO [Configuration] Mapping resource: org/efs/openreports/objects/ReportParameter.hbm.xml 13:01:57,046 INFO [Binder] Mapping class: org.efs.openreports.objects.ReportParameter -> REPORT_PARAMETER 13:01:57,046 INFO [Configuration] Mapping resource: org/efs/openreports/objects/ReportUser.hbm.xml 13:01:57,062 INFO [Binder] Mapping class: org.efs.openreports.objects.ReportUser -> REPORT_USER 13:01:57,125 INFO [Binder] Mapping collection: org.efs.openreports.objects.ReportUser.groups -> USER_GROUP_MAP 13:01:57,125 INFO [Configuration] Mapping resource: org/efs/openreports/objects/ReportLog.hbm.xml 13:01:57,140 INFO [Binder] Mapping class: org.efs.openreports.objects.ReportLog -> REPORT_LOG 13:01:57,140 INFO [Configuration] Mapping resource: org/efs/openreports/objects/ReportChart.hbm.xml 13:01:57,156 INFO [Binder] Mapping class: org.efs.openreports.objects.ReportChart -> REPORT_CHART 13:01:57,156 INFO [Configuration] Mapping resource: org/efs/openreports/objects/ORProperty.hbm.xml 13:01:57,171 INFO [Binder] Mapping class: org.efs.openreports.objects.ORProperty -> OR_PROPERTIES 13:01:57,171 INFO [Configuration] Configured SessionFactory: null 13:01:57,171 INFO [Configuration] processing one-to-many association mappings 13:01:57,500 INFO [Configuration] processing one-to-one association property references 13:01:57,515 INFO [Configuration] processing foreign key constraints 13:01:57,625 INFO [Dialect] Using dialect: net.sf.hibernate.dialect.MySQLDialect 13:01:57,640 INFO [SettingsFactory] Use outer join fetching: true 13:01:57,656 WARN [UserSuppliedConnectionProvider] No connection properties specified - the user must supply JDBC connections 13:01:57,687 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommend 13:01:57,687 INFO [SettingsFactory] Use scrollable result sets: false 13:01:57,687 INFO [SettingsFactory] Use JDBC3 getGeneratedKeys(): false 13:01:57,687 INFO [SettingsFactory] Optimize cache for minimal puts: false 13:01:57,687 INFO [SettingsFactory] Query language substitutions: {} 13:01:57,687 INFO [SettingsFactory] cache provider: net.sf.ehcache.hibernate.Provider 13:01:57,718 INFO [Configuration] instantiating and configuring caches 13:01:57,796 INFO [SessionFactoryImpl] building session factory 13:01:58,171 INFO [SessionFactoryObjectFactory] no JNDI name configured 13:01:58,203 INFO [STDOUT] 13:01:58,203 INFO [SessionFactoryProvider] SessionFactoryProvider Created. 13:01:58,218 INFO [STDOUT] 13:01:58,218 INFO [UserPersistenceProvider] UserPersistenceProvider Created. 13:01:58,250 INFO [STDOUT] 13:01:58,250 INFO [UserProviderImpl] UserProviderImpl created 13:01:58,796 INFO [STDOUT] java.lang.UnsupportedOperationException: The user must supply a JDBC connection 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:32) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:278) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3264) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3244) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:65) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:704) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.loader.Loader.doQuery(Loader.java:185) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.loader.Loader.doList(Loader.java:950) 13:01:58,812 INFO [STDOUT] at net.sf.hibernate.loader.Loader.list(Loader.java:941) 13:01:58,828 INFO [STDOUT] at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:834) 13:01:58,828 INFO [STDOUT] at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1512) 13:01:58,828 INFO [STDOUT] at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1491) 13:01:58,828 INFO [STDOUT] at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1487) 13:01:58,828 INFO [STDOUT] at org.efs.openreports.providers.persistence.UserPersistenceProvider.getUser(UserPersistenceProvider.java:50) 13:01:58,828 INFO [STDOUT] at org.efs.openreports.providers.impl.UserProviderImpl.getUser(UserProviderImpl.java:46) 13:01:58,828 INFO [STDOUT] at org.efs.openreports.actions.LoginAction.execute(LoginAction.java:48) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) 13:01:58,828 INFO [STDOUT] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) 13:01:58,828 INFO [STDOUT] at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:280) 13:01:58,828 INFO [STDOUT] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:250) 13:01:58,828 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 13:01:58,828 INFO [STDOUT] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 13:01:58,828 INFO [STDOUT] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:69) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 13:01:58,828 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 13:01:58,828 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 13:01:58,843 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 13:01:58,843 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) 13:01:58,843 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) 13:01:58,843 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 13:01:58,843 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 13:01:58,843 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 13:01:58,843 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 13:01:58,843 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 13:01:58,843 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) 13:01:58,843 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) 13:01:58,843 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 13:01:58,843 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 13:01:58,843 INFO [STDOUT] at java.lang.Thread.run(Unknown Source)
    via by Rengesh,
  • Hibernate Problem
    via by Vu Pham,
  • Hibernate Problem
    via by Vu Pham,
  • Hibernate 2
    via by lionel brizuela,
    • java.lang.UnsupportedOperationException: The user must supply a JDBC connection at net.sf.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:32) at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:278) at net.sf.hibernate.id.TableGenerator.generate(TableGenerator.java:81) at net.sf.hibernate.id.TableHiLoGenerator.generate(TableHiLoGenerator.java:59) at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:765) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:738) at com.k_buy.accor.servlet.CrearUsuarioPrueba.processRequest(CrearUsuarioPrueba.java:87) at com.k_buy.accor.servlet.CrearUsuarioPrueba.main(CrearUsuarioPrueba.java:32)
    No Bugmate found.