GBean for handling initial database population
----------------------------------------------

         Key: GERONIMO-2144
         URL: http://issues.apache.org/jira/browse/GERONIMO-2144
     Project: Geronimo
        Type: New Feature
    Security: public (Regular issues) 
  Components: databases  
    Versions: Wish List    
    Reporter: Paul McMahan
    Priority: Minor


Some applications like daytrader and liferay need to have a database populated 
before they can run.  It would be nice to have a GBean that could take a 
datasource and SQL as input and handling running the SQL when the application 
is started for the first time.  The GBean would need to also provide a way to 
avoid running the SQL multiple times, perhaps by allowing the deployment plan 
to specify an SQL statement that the GBean can use to determine if the database 
has already been populated.

This idea was originally proposed by David Jencks and discussed in this thread:
http://mail-archives.apache.org/mod_mbox/geronimo-dev/200511.mbox/[EMAIL 
PROTECTED]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to