meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
android2012:qeta [2012/10/17 11:01]
aknutas [Questions & Answers]
android2012:qeta [2012/10/17 14:20]
aknutas [Development / Java]
Line 10: Line 10:
 ===== Development / Java ===== ===== Development / Java =====
  
 +\\ **Q:** How I can make custom web addresses?
 +\\ **A:** See the Grails guide at section about [[URL Mappings|http://grails.org/doc/2.1.0/guide/single.html#urlmappings]]
 ===== The SCRUM Development Process ===== ===== The SCRUM Development Process =====
 == User stories == == User stories ==
Line 28: Line 30:
 **Q:** My database does not reset each time or the database console is not available. **Q:** My database does not reset each time or the database console is not available.
 \\ **A:** Check from your project preferences Grails section that your project is set to //dev// instead of //prod//. \\ **A:** Check from your project preferences Grails section that your project is set to //dev// instead of //prod//.
 +
 +== Grails database, persistence ==
 +**Q:** How can I store the default H2 database to file, so that it won't reset with each server restart and redeployment?
 +\\ **A:** Change the connection url from the conf/DataSource.groovy file according to the instructions in [[http://www.h2database.com/html/features.html#database_url]] . Example: 
 +<code>
 +    development {
 +        dataSource {
 +            dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', ''
 +            url = "jdbc:h2:file:~/myproject.h2db;MVCC=TRUE;LOCK_TIMEOUT=10000"
 +        }
 +    }
 +</code>
  
 == Virtual Machines in Classroom 6216 == == Virtual Machines in Classroom 6216 ==
 **Q:** My VM doesn't start and makes a permission error. What should I do? **Q:** My VM doesn't start and makes a permission error. What should I do?
 \\ **A:** Your VM has insufficient permissions to run after extraction from the ZIP file. Right-click the extracted directory, go to //properties//, then the //security tab// and grant the //full control// permission to //authenticated users//. \\ **A:** Your VM has insufficient permissions to run after extraction from the ZIP file. Right-click the extracted directory, go to //properties//, then the //security tab// and grant the //full control// permission to //authenticated users//.