Separate DatabaseManager from registering / creating database pool, allow 
datasource to be retrieved from JNDI
--------------------------------------------------------------------------------------------------------------

                 Key: DS-695
                 URL: http://jira.dspace.org/jira/browse/DS-695
             Project: DSpace 1.x
          Issue Type: Improvement
            Reporter: Graham Triggs
            Assignee: Graham Triggs
             Fix For: 1.7.0


Change DatabaseManager to use a Datasource instead of the DriverManager methods.

Separate the registering of the database driver / pool into a separate class 
that returns a new DataSource (this mainly facilitates removing the -dbcp, 
-pool and driver jars from the web application in the case that you are 
retrieving a pre-configured database resource from JNDI.

Will fallback when JNDI not detected to manually create a pool from the 
dspace.cfg (for offline tasks).



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

        

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to