0 Replies Latest reply on Jan 1, 2004 3:14 PM by poconnor4384

    DataSource Switch Breaks CMP finder

    poconnor4384

       

      "poconnor4384" wrote:
      I have a need to switch the DataSourcee which underpins (among other things) my CMP entity beans. The DS switch works fine (my own JDBC code works fine), but when I go to do a find on my CMP entities, I get this:

      javax.ejb.FinderException: Find failed: org.jboss.util.NestedSQLException: Wrong ManagedConnectionFactory sent to allocateConnection!; - nested throwable: (javax.resource.ResourceException: Wrong ManagedConnectionFactory sent to allocateConnection!)

      I am using commit-option C, and JBoss 3.2.3