Database Connection Properties [message #207245] |
Tue, 19 December 2006 08:34  |
Eclipse User |
|
|
|
Originally posted by: thangamani.r.gmail.com
Hi,
I am creating a report design file and using a jdbc datasource for the
same. I would like to know if we can pass the connection
properties(username,password , hostname ,url etc.,) for the report design
file from an external properties file (like database.properties).
Thanks & Regards,
ThangamMohan
|
|
|
Re: Database Connection Properties [message #207247 is a reply to message #207245] |
Tue, 19 December 2006 08:46  |
Eclipse User |
|
|
|
Thangam Mohan napsal(a):
> Hi,
> I am creating a report design file and using a jdbc datasource for the
> same. I would like to know if we can pass the connection
> properties(username,password , hostname ,url etc.,) for the report design
> file from an external properties file (like database.properties).
I don't know, if your way is supported, but there is another way: JNDI.
Specify JNDI name in your report and let application server administrator
to configure DB connection as JNDI resource.
Leos
|
|
|
Powered by
FUDForum. Page generated in 0.06322 seconds