I tried to write a simple java app to connect, retrieve data from a Progress Database.I have connected to the database but have some problems need helps.
1.I used 'data administrator' + 'data dictionary' to create database + table and 'Procedure editor' to insert data (Test db, Customer table). Create an account id:test, user:test, pass:test
2.Start the database in the port 4000 from Command Prompt:
proserve Test -S 4000
3.And use the followed code to the Test database from java
String url= new String("jdbc:jdbcprogress:T:localhost:4000:test");
Connection con= null;
try{
Class.forName ("com.progress.sql.jdbc.JdbcProgressDriver");
}catch(Exception e1){
System.out.println("Load driver failed");
}
try{
con = DriverManager.getConnection ( url, user, pass);
}catch(Exception e2){
System.out.println("Established connection failed");
}
I connected to the database but cann't retrieved any data from it. An error is occured : 'The table was not found'
. What's this problem?
Thanks.
1.I used 'data administrator' + 'data dictionary' to create database + table and 'Procedure editor' to insert data (Test db, Customer table). Create an account id:test, user:test, pass:test
2.Start the database in the port 4000 from Command Prompt:
proserve Test -S 4000
3.And use the followed code to the Test database from java
String url= new String("jdbc:jdbcprogress:T:localhost:4000:test");
Connection con= null;
try{
Class.forName ("com.progress.sql.jdbc.JdbcProgressDriver");
}catch(Exception e1){
System.out.println("Load driver failed");
}
try{
con = DriverManager.getConnection ( url, user, pass);
}catch(Exception e2){
System.out.println("Established connection failed");
}
I connected to the database but cann't retrieved any data from it. An error is occured : 'The table was not found'

Thanks.