You'll have to elaborate a little. What is the driver class in your local-tx
datasource? If the driver doesn't support XA then it really won't matter what
the app server is doing. (there's more to that but the point is we need to know
what your configuration is)
What are you seeing that makes
My apologies. I've searched and searched. I'm confused about my current
configuration for Hibernate.
Basically we use Hibernate.getCurrentSession() to 'get' and 'save' information.
We have CMT and an XA-datasource configured.
Is Hibernate using any part of JCA for its work? (the example mysq
Thanks, I assumed I would need to make these calls to an RA. But let's suppose
I do that. Will that help my transaction issue?
Will the RA be treated as a resource manager (for inclusion in XA)? In other
words, will the following be true if I write and deploy an RA that makes the
calls to Wo
Note about above:
the call to WorkManager.scheduleWork takes an empty ExecutionContext. I've
considered creating an ExecutionContext and setting the Xid to simulate
transaction-importing. But I cannot for the life of me get the Xid of the
first transaction (TX1 above).
So if anyone has ideas
If a stateless EJB gets a JBossWorkManager (see code below) without going
through an RA, should everything still work?
The problem I'm seeing is:
1) A CMT transaction TX1 is created in the EJB via hibernate call.
2) the ejb schedules work in the WorkManager [workManager.scheduleWork(myWork,
Work
First, the environment:
One EJB and one database table (SearchSession) managed by Hibernate.
JBoss 4.2.2 GA and MySQL 5.x on Windows XP Pro
Using CMP, the ejb saves a session in the table and saves the PK id.
Then 3 tasks need to be completed asynchronously so we use the
javax.resource.spi.work