Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » specify alternate JDBC drivers folder
specify alternate JDBC drivers folder [message #999351] Fri, 11 January 2013 22:15 Go to next message
Mark Proe is currently offline Mark ProeFriend
Messages: 34
Registered: July 2009
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 22:16]

Report message to a moderator

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

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

Michael

Developer Evangelist, Silanis
Previous Topic:Problem with scripted Dataset
Next Topic:Publishing/Sharing BIRT Reports
Goto Forum:
  


Current Time: Wed Apr 24 16:50:35 GMT 2024

Powered by FUDForum. Page generated in 0.02973 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top