Getting the Available DataSource Names.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sudhakar_Santhanam
Posted On:   Wednesday, November 28, 2001 02:04 AM

Is there any method in the sql package to get all the available Datasource names on my machine and load them in a dropdown list.If so can anybody give me a hint of the code about it.

-Thanks.....

Re: Getting the Available DataSource Names.

Posted By:   Bernie_Acs  
Posted On:   Wednesday, November 28, 2001 09:39 AM

Assuming you are concerned with creating a list of published datasources available in a given app-server's context, you would have to create a class that can recusively list the objects published in the JNDI involved and based on the object's types decide which are datasource objects and then poplulate your listbox using that resultant.
About | Sitemap | Contact