Jan,
I didn't explicitly configure anything regarding transactions, as a matter of facts I don't remember to see anything about it in the generated files, so for now I have to things to do,
1.- Try with only session.flush() --> I belief this is been executed as a consequence of the call to session.close() in the SessionBean class
2.- Try to open a transaction and then close it.
I'll try this things out and let you know.
Are transactions somehow configured in the UML model or is it a matter of touching some properties in the project files?
You should not worry about transactions when using AndroMDA to generate your code: everything in the scope of a service operation will by default be in a single transaction
when using Spring transactions are being taken care of by Spring itself,
using Hibernate without Spring will have the EJB service take care of transactions
(that's how andromdapp:generates it)
-- Wouter
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
