[jboss-jira] [JBoss JIRA] (AS7-3022) need to wrap org.jboss.jca.adapters.jdbc.WrapperDataSource with a serializable DataSource
Scott Marlow (Closed) (JIRA)
jira-events at lists.jboss.org
Thu Dec 15 23:59:09 EST 2011
[ https://issues.jboss.org/browse/AS7-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow closed AS7-3022.
-----------------------------
> need to wrap org.jboss.jca.adapters.jdbc.WrapperDataSource with a serializable DataSource
> -----------------------------------------------------------------------------------------
>
> Key: AS7-3022
> URL: https://issues.jboss.org/browse/AS7-3022
> Project: Application Server 7
> Issue Type: Sub-task
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Priority: Blocker
> Fix For: 7.1.0.Final
>
>
> I'm trying to serialize a extended persistence context from a test case
> but
> org.jboss.jca.core.connectionmanager.AbstractConnectionManager.writeObject
> throws a "java.io.IOException: This method is not supported"
> See http://pastie.org/3012563
> The org.hibernate.ejb.EntityManagerImpl session, has a
> org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.
> The
> org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess,
> has a org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.
> The org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider,
> has a reference to a org.jboss.jca.adapters.jdbc.WrapperDataSource
> the WrapperDataSource has:
> - org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory
> - org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl
> - and other stuff that also might not be serializable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list