Go Back   Forum - BIRT Exchange > Designing BIRT Reports Forums > Designing BIRT Reports
FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-21-2008, 01:39 AM
Junior Member
 
Join Date: Nov 2008
Posts: 6
Default How to parameterize the database schema

I want my set of BIRT reports to target 2 different Oracle databases (e.g. test and prod), according to a report parameter. This can be done with the data source property bindings, by adding if - then logic in the various fields of the JDBC connection.

Now the problem is that these 2 databases have different schema names (but with same tables in them of course). What are my options to handle this?
- in the Data Set SQL request, I can put the schema before each table name <schema>.<table> but this cannot be parameterized AFAIK
- in the Data Source connection, I have seen that some databases provided a property in the JDBC URL connection to set the default schema. But I can't find any for Oracle.

I am using Birt RCP designer 2.3.0 and Oracle ojdbc14 driver.
Anyone had a similar problem ?

Last edited by Laxapanj : 11-21-2008 at 06:34 AM.
Reply With Quote
Reply


Thread Tools
Display Modes




All times are GMT -7. The time now is 05:56 PM.


Content Relevant URLs by vBSEO 3.1.0