Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java Triggers for Progress Database

Status
Not open for further replies.

jonatan

Programmer
Mar 24, 2003
14
BR
I'm developing an application in Java, that accesses an Progress database. I want to create triggers in Java for the application, to make some validations and replications.

1. Is there anyway to send the exception data to the application, such as the error message? I tried to update a table with an exception, and I've got an SQLException containing only the code of the message, without the message I past to the DhSQLException.

2. In the progress guide there is only information to use the Progress specific classes (SQLIStatement, SQLCursor). Is it possible to use the java.sql/javax.sql default classes (PreparedStatement, Connection, DriverManager)? If it is, how can I do that? Does anybody have some material to do that?

Thanks,

Jonatan Schroeder
Medisoft - Brazil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top