Quantcast

does run-script restart the grails instance?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

does run-script restart the grails instance?

eeno

If I execute a run-script command in dev mode at the grails
console (grails 2.1), does the app get restarted?  Meaning,
if I have create-drop defined in my development DataSource,
will the db get flushed of all prior objects?

The reason I'm asking is because I have a script that saves
domain objects into the db... but everytime I re-run the script,
I end up with the same number of objects in the db rather
than duplicates like I expected.




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Loading...