Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » specify alternate JDBC drivers folder
specify alternate JDBC drivers folder [message #999351] Fri, 11 January 2013 17:15 Go to next message
Mark Proe is currently offline Mark Proe
Messages: 26
Registered: July 2009
Junior Member
Is there a way to specify an alternate location for JDBC drivers? According to BIRT's documentation, additional drivers are to be placed in a specific folder(/eclipse/plugins/org.eclipse.birt.report.data.oda.jdbc_x.y.z/drivers).

This poses a major problem for us. Because of the manner in which our company's applications are hosted, end users will not have access to this directory. So we need the ability to place our driver JARs in a different location on the file system.

For the BIRT Runtime, we are able to get around this by setting the following property:

appContext.put("OdaJDBCDriverClassPath", driverLocation);

What we really need is something similar to this that will work with the Report Designer.

Thanks,
Mark

[Updated on: Fri, 11 January 2013 17:16]

Report message to a moderator

Re: specify alternate JDBC drivers folder [message #1000922 is a reply to message #999351] Tue, 15 January 2013 12:39 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1424
Registered: July 2009
Senior Member

Try doing the same, in the beforeOpen of the dataSource, with something like: reportContext.getAppContext().put(OdaJDBCDriverClassPath",driverLocation);

Michael
Actuate – The BIRT Company™

BIRT Developer Center
Check out the new, free BIRT Viewer Toolkit
Previous Topic:Problem with scripted Dataset
Next Topic:Publishing/Sharing BIRT Reports
Goto Forum:
  


Current Time: Mon Apr 21 08:50:03 EDT 2014

Powered by FUDForum. Page generated in 0.01913 seconds