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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.