I have developed a small custom (tailor made) orm which is able to map complex data structure to equivalent java objects. this orm is called from the ejb, connection is sent to this framework from dao. as the transactions are taken care by ejb i didnt include provide extra transaction management features into the framework.
now i wish to make the cycle complete but including transaction management into this. is jdbc autocommit technique enough before transactions starts? what if this framework was used not from the ejb but directly from the struts?