JCASessionFactory.openSession(Interceptor interceptor) does not register connection with application server

Description

All openSession methods with parameters to not enlist their database connections with the application server. they do not use the ConnectionManager.

Because of http://opensource.atlassian.com/projects/hibernate/browse/HB-1318 I cannot preconfigure the interceptor and if I specify it at openSession, the connection is not registered with the J2EE server, hence does not participate in the current transaction.

I would suggest to solve bug 1318 and to not support openSession with parameters in JCA (throw not supported exception).

But at the moment I cannot use Interceptors in an J2EE environment.
I think J2EE is the major goal of version 3.

Environment

Jboss 4.0.1

Assignee

Steve Ebersole

Reporter

Michael Kopp

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Configure