JDBC and Progress 9.1c

IvanSalazar

New Member
Hi, I'm trying to log in to a DB using Progress 9.1c
this is my code:

Class.forName("com.progress.sql.jdbc.JdbcProgressDriver");
cnn = DriverManager.getConnection(url, user, pass);

url, user and pass, are obviously Strings. url is already defined as the Logic url of the database, I get user and pass from a user input. But I discovered I had this trouble:
for Example, user = "NoCode" pass = "Hello", this user is inside the DB definition
but the main trouble, is that somehow, the user string changes to the username in the Windows session which in this case may be "Lateralus", I just do not know how to avoid this. I just need to solve it, all other work is already done, and all my development team don't want to change or dispose all the hard work done. Please, any help? THNX
 
Top