"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!)