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 22:15 Go to next message
Mark Proe is currently offline Mark Proe
Messages: 29
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 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 Williams
Messages: 1639
Registered: July 2009
Senior Member

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

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Problem with scripted Dataset
Next Topic:Publishing/Sharing BIRT Reports
Goto Forum:
  


Current Time: Sat Oct 25 09:42:12 GMT 2014

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

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