Running Seam 2.0.1.GA on JBoss 4.2.2.GA, local-tx-datasource, transaction-type="JTA" and SMPC
I have a web service that recieves data and updates the DB through the DB just normally. The DAO class that uses the entitymanager is a POJO and it has a @Transactional annotation.
The problem is that the changes are never flushed to the database. I was under the impression that it should be automatic when the method execution ends? Tried various joinTransaction() and flush() calls to the entitymanager but to no avail. Tried handling the transaction myself from the entitymanager but apparently that is not allowed for JTA-type.
(and have mercy on my n00bish soul and don't send me over to rot at the hibernate forum) ;-)
Scratch that. Not enough coffee. Or too much. Too soon to tell.