|Re: DataSource connection in runtime [message #528528 is a reply to message #528400]
||Tue, 20 April 2010 15:23
| Jason Weathersby
Registered: July 2009
You can do this like:
reader = new FileReader("c:\\mycred.txt");
data = reader.read();
put code in your beforeOpen.
You may want to look at connection profiles which does this for you BTW.
sen K wrote:
> Thanks for your reply.I have gone through with this examle, it was
> useful one.
> I feel that my question was not clear in my previous post.
> Actually I am looking some help in, how to read the content from <some
> filename>.txt or <some filename>.properties from java file.Is it
> possible to load the DataSoruce and DataSet values ( like SQL query )
> from file like .TXT or .properties file using java during runtime.
> Please give some example for my better understand.
Powered by FUDForum
. Page generated in 0.02480 seconds