title: Drools Flow Persistence with MySQL (jpa, hibernate)
body: <p>Needed steps for implementing Drools Flow Persistence with MySQL.</p>
  
  <p>I was following the Drools Flows Documentation on chapter 5.1.3.: Configuring Persistence.(<a href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html_single/index.html#d0e1157" rel="nofollow noreferrer">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html_single/index.html#d0e1157</a> )</p>
  
  <p>Erroo-1:
  Caused by: bitronix.tm.utils.PropertyException: no writeable property 'URL' in class 'com.mysql.jdbc.Driver'</p>
  
  <p>Error-2:
  Caused by: java.lang.ClassCastException: com.mysql.jdbc.Driver cannot be cast to javax.sql.XADataSource</p>
  
  <p>Thanks in Advance........</p>