Jump to content
We've recently updated our Privacy Statement, available here ×

Differences between Jaspersoft JDBC drivers and original db jdbc drivers


hozawa
Go to solution Solved by elizam,

Recommended Posts

In JasperReports Server 5.6.1., there are now several jdbc drivers provided by Jaspersoft. I was wondering what the differences are between them and those provided by database providers. I've tested several open source jdbc drivers and found those from the original database providers offer more stability than those and have reverted back. Nevertheless, if there are additional features that are offered by Jaspersoft JDBC drivers, I sure would like to know about them.

 

BTW, are those jdbc drivers included in Jaspersoft Studio? If not, it should be because it may cause Studio to behave differently from JasperReports Server.

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

TIBCO uses a version of the DataDirect Progress Drivers.  There are some difference from the vendor drivers.

The full documentation set is here: http://media.datadirect.com/download/docs/jdbc/alljdbc/help.html

In some cases, these drivers provide additional functionality. For example, you can specify a SysLoginRole, and set it to be SYSDBA or SYSOPER.  This allows you to run the database with less privileges.  See this link for a list of available connection properties:

http://media.datadirect.com/download/docs/jdbc/alljdbc/help.html#page/userguide/rfi1359986110785.html

However, these drivers do not always support the same SQL syntax (used in Domains and elsewhere). For example, the following query does not work with the TIBCO JDBC drivers: 

SELECT account_id+account_description AS account_concat from account

The correct syntax for the TIBCO JDBC drivers is as follows:

SELECT {fn CONCAT(account_id,account_description)} AS account_concat from account

See the PROGRESS DataDirect  page on scalar functions for more information:
http://media.datadirect.com/download/docs/jdbc/alljdbc/help.html#page/reference/rfi1359985772456.html

The install guide provides the information you need to use the vendor's driver instead of the TIBCO driver. If you are updating from an earlier version of JasperReports Server, it is probably easier to copy over your existing driver & use your existing default_master.properties. This should install correctly.

The same drivers are available in JSS. You can select them from thedata connection menu after you have selected JDBC connection.

NOTE: The TIBCO JDBC drivers and the vendor drivers can co-exist.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...