Menu

Spring Live Myusers sample web app problem

2004-07-19
2004-07-19
  • PrettyHandling

    PrettyHandling - 2004-07-19

    Hi guys,

        I hv downloaded myusers sample web app and also Spring Live Chapter 2(http://sourcebeat.com/downloads/) and successfully changed the database to Mysql. I hv also inserted a few data into the table using Mysql CC. But once I reload myusers in Tomcat 5.0.27, all the data in the table is gone. I really don't know what happened. I just followed the Spring Live chapter 2. Pls help !

    regards,
    prettyhand

     
    • Matt Raible

      Matt Raible - 2004-07-19

      This is because the HSQL database is an in-memory database that is re-created each time you start Tomcat.  This is expected behavior.  If you'd like to change this behavior, please contact me off list at mattr AT sourcebeat.com.

      Thanks,

      Matt

      P.S.  Any Spring Live related questions should be posted to the Equinox forums (https://equinox.dev.java.net/servlets/ForumMessageList?forumID=790) or users mailing list (https://equinox.dev.java.net/servlets/SummarizeList?listName=users).  Especially since since this is a non-Spring related question.

       

Log in to post a comment.

MongoDB Logo MongoDB