Hi,
I'm using JBoss 3.0.6 with Linux and Hibernate for persistence. Since last week it's necessary for
my application to connect to a second database through
the same app-server. I setup a second datasource and
a second Hibernate-service. It all comes up with no
errors and it works but each time I access one of my
EJB's the following warning is shown:
WARN [LocalTxConnectionManager$LocalConnectionEventListener] prepare called on a local tx. You are not getting the semantics you expect!
I posted the same question in the Hibernate forum and
these guys said my hibernate-config is ok. So I try
it here.
Any ideas
Thanks in advance
You need to learn about 2 phase commit and XA
A local database connection has no prepare, only commit,
using two in the same transaction is not reliable.
Regards,
Adrian