on 10-24-2007 3:24 PM
Hi Guru.
I have a question for you:
How can I retrive the JDBC deployed in a J2EE engine?
I need to populate a DropDown in a webdynpro with the JDBC driver deployed.
Is it possible?
Thanks
Manuel Chiarelli
Hello
maybe this helps
import java.util.*
import java.sql.*
....
Enumeration e = DriverManager.getDrivers();
while (e.hasMoreElements()) {
Driver drv = (Driver)e.nextElement();
System.out.println (drv.getClass().getName());
}
regards
franz
reward points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manuel
If you need to run the JDBC Driver in WebDyn pro app, then create a method in webDynpro app.
use this method for getting connection object & cal this method in <b>public void wdDoInit()</b> metod of webdynpro view.
use another method or create a java class for dropdown populate and then call this in wdDoInit () method after getting connection.
hope this will help.
Cheers
Chinmaya
Reward points for helpful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.