jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Young (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-355) Extract JDBC Connection Init
Date Fri, 17 Mar 2006 00:41:12 GMT
Extract JDBC Connection Init

         Key: JCR-355
         URL: http://issues.apache.org/jira/browse/JCR-355
     Project: Jackrabbit
        Type: Improvement
  Components: core  
    Versions: 0.9, 1.1, 1.0.1, 1.0    
    Reporter: Michael Young
    Priority: Minor

An intermediate step to allowing a PM to be easily configurable through JNDI would be to extract
the connection init. This will allow system integrators to subclass/wrap and dynamically configure
a customized Simple PM. In org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager:

Replace lines (296-298) with


	* Initialize the JDBC connection
	protected void initConnection() throws Exception {
            con = DriverManager.getConnection(url, user, password);

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message