How to configure Grails to work with Apache Derby? -


How to Configure Grails to Work with Apache Derby instead of HSQLDB

  1. Install the derby driver in your application's Lib folder.
  2. Configure datasource:

    driver classname = "org.apache.derby.jdbc.ClientDriver"
    dbCreate = "create-drop" url = "jdbc: Derby: // Localhost: 1527 / The Database "

  3. Start the Derby Server.

  4. Create an empty database (via ij or graphical sql client).
  5. Start Grails.

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -