title: How to use distributed transactions JTA using plain jdbc
body: <p>I have no Idea about JTA,to understand the overall scenarios  please follow this link <a href="https://stackoverflow.com/questions/13269718/how-to-maintain-acid-property-of-3-sequential-transaction-of-three-diffrenet-dat">How to maintain acid property of 3 sequential transaction of three diffrenet databases</a>   ,However based on suggestions from the post,I have to use Distributed transactions. I am using apache-tomcat server.</p>
  
  <p>But As I said i have no idea about JTA, So my problem is that, I have more than 15 database connection, and based on the some condition, their respective database is connected. So I can't create hibernate.cfg.xml and session factories and entities  for each databases .</p>
  
  <p>So My question is that, can i use JTA with plain jdbc? ,and if possible then provide me some links or examples.</p>