I am creating an application using Grails Framework for which I plan to use the database which is provided by Grails.
Just wanted to be sure of the advantages/disadvantages before proceeding.
Does using the internal database invite issues?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By default, Grails has an in-memory database, which means, that whenever you shut down your application, all your data is lost… probably not what you want.
You could change this to a file-database, and this file-database would by default end up in your Grails application root. If you deploy this to an app server and undeploy again, your data is lost… again, probably not what you want.
I would recomend installing a MySql database. It’s easy, and you have your data separate from your application.