SAP Knowledge Base Article - Public

1795147 - How to change JDBC connection of a Crystal report using Unmanaged RAS SDK ?

Symptom

How to change JDBC connection of a  Crystal report using Unmanaged RAS SDK ?

Environment

  • Tomcat 5.5
  • Crystal Reports for Eclipse
  • Unmanaged RAS SDK

Resolution

Attached is the sample code.

The attached sample does the following:

  1. Allows the user to enter database credentials along with the database connection information .
  2. Open the report using Unmanaged RAS SDK.
  3. Create IConnectionInfo Objects to use and assign the old connection info to the reports.
  4. Create a new property bag and update with the existing one .

Keywords

CR4E CRJ Unmanaged RAS SDK , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , How To

Product

Crystal Reports, version for Eclipse 2.0

Attachments

JdbcConnection.txt