Hi,
i have a strange problem with JBoss&hibernate as a .sar: I have a SessionBean, that has to persist classes into the db, using the Hibernate-Sessions fetched from the .sar - I get no exceptions neither on openSession, beginTransaction, nor on tx.commit() - but the value is never saved to the Database - is there anything else I am missing here???!
And what happens if i just want to join a transaction - I see from the logs, that hibernate starts a user_transaction, when i sess.beginTransaction(); - what do i have to do when i just want to join a container-transaction?! Just skip the .beginTransaction/.commit()?!
|