Japanese Auto Reloading

Last updated by admin 4 years ago

{excerpt:hidden=true} Auto Reloading {excerpt}??????

{excerpt:hidden=true} When a Grails application is executed via the 'grails run-app' command it is configured for auto-reloading (development mode). This mode is disabled when a WAR is created via the 'grails war' command.{excerpt} Grails?????????'grails run-app'????????????????????(?????)??????????????'grails war'?????WAR???????????????

{excerpt:hidden=true} All Grails artifacts (controllers, tag libs, services etc.) are reloadable in Grails, however there are some quirks:{excerpt} ???Grails??????????controllers, tag libs, services etc.????????????????????????(??)????? {excerpt:hidden=true} * Services can currently only be reloaded if the 'transactional' property is set to false

  • Domain Classes are re-mapped to the database at runtime. If the data source is configured to auto-generate the database via the 'update' setting of the 'dbCreate' property it will do its best effort to update the database. This process doesn't always go smoothly however and changing domain classes occasionally require an application restart
{excerpt}
  • ??????'transactional'??????? false?????????????
  • ???????????????????????????????????'dbCreate'???????'update'??????????????????????????????????????????????????????????????????????????????????????????????????