geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-2144) GBean for handling initial database population
Date Thu, 22 Jun 2006 16:27:40 GMT
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/%3c0293590575765d45a9bfccfe7220a654@yahoo.com%3e

-- 
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


Mime
View raw message