Data source URL [message #636838] |
Wed, 03 November 2010 00:26  |
Eclipse User |
|
|
|
Hi,
I have one basic question on the deployment of reports to the server.
In a normal scenario the developers work on a development server. Now once the release is closed it has to be migrated. Coming to the reports, all reports use the data source and in this we will give the URL. For development the data base is located as "localhost". But once in production the data base server changes. If this is the case the report where we used the URL using localhost will fail. How would we overcome these kind of problems.
Thanks in advance,
Sham.
|
|
|
Re: Data source URL [message #636996 is a reply to message #636838] |
Wed, 03 November 2010 12:55  |
Eclipse User |
|
|
|
There are a lot of ways to overcome this. a)You can use a connection
profile, b)property binding to change the db url, c)or script to change
the db url.
Take a look at this example that modifies a query using property binding
or script.
http://www.eclipse.org/birt/phoenix/examples/reports/birt2.1 /querymod/index.php
Although you are changing dburl the process will be similar.
Jason
On 11/3/2010 12:28 AM, Neo wrote:
> Hi,
> I have one basic question on the deployment of reports to the server.
> In a normal scenario the developers work on a development server. Now
> once the release is closed it has to be migrated. Coming to the reports,
> all reports use the data source and in this we will give the URL. For
> development the data base is located as "localhost". But once in
> production the data base server changes. If this is the case the report
> where we used the URL using localhost will fail. How would we overcome
> these kind of problems.
>
> Thanks in advance,
> Sham.
|
|
|
Powered by
FUDForum. Page generated in 0.06782 seconds