Bonjour chers Collègues (je ne sais pas si je suis sur le bon forum)!
J'ai un petit soucis avec mon code Java pour accéder à une base de type DB2 sur un serveur AS400
1 2 3 4 5
| public DataBase(String url, String login, String pass) throws SQLException {
Connection connection = DriverManager.getConnection(url, login, pass);
Statement stt = connection.createStatement();
ResultSet resultat = stt.executeQuery("SELECT * FROM MINOSFIC.UB001V01"); |
Le programme bute à l'executeQuerry en me sortant :
Exception in thread "main" java.sql.SQLException: [SQL0443] *N
Je suis allé voir sur le site d'IBM pour trouver de quoi il en retourne :
Message Text: Trigger program or external routine detected an error.
Cause Text: Either a trigger program, external procedure, or external function detected and returned an error to SQL. If the error occurred in a trigger program, the trigger was on table &4 in schema &5. If the error occurred in an external procedure or function, the external name is &4 in schema &5. The associated text is &6. If the error occurred in a trigger program, the associated text is the type of trigger program. If the error occurred in an external function, the associated text is the text of the error message returned from the external function.
Recovery Text: Refer to the joblog for more information regarding the detected error. Correct the error and try the request again.
Le soucis c'est que ça ne m'a pas plus aidé que ça ... Quelqu'un saurait m'aiguiller ou me fournir une solution adéquate ? Merci
Partager