0 Replies Latest reply on Apr 24, 2016 10:43 AM by jseanjensen

    How do I add MySQL access to a helloworld-rf from quickstarts

    jseanjensen

      I'm trying  to learn how to build a fairly straightforward application.  It takes in files, parses them and stores some entries in the database.  I used the jboss-helloworld-rf quickstart and it works just fine.  However I thought I was building an app that accessed the H2 database that I saw in other apps.  It turns out in my ignorance I chose a template that doesn't save to the H2 database.  I don't understand how it is persisting my data but not putting it in a database.  I would really like to be able to convert my existing app so that it accesses my MySQL database.  Can someone give me the steps to convert my simple Richfaces app into one that persists in a MySQL database?

      I'm using JDevStudio, a more or less current version of MySQL and Java8.  I will post more of my code if it is needed but I'm pretty sure I haven't done anything but build the quickstart and put in my bean code.

       

      Any help would be appreciated.