connecteur mysql

1
0
-1

Bonjour,
Je suis en train de tester un connecteur à une base de donnée mysql et j'ai trouvé l'erreur suivante:

java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: org.bonitasoft.engine.connector.exception.SConnectorException: org.bonitasoft.engine.connector.ConnectorException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''bonita'. 'patient' ( 'cin_patient', 'nom_patient', 'prenom_patient', 'tele' at line 1

SVP quelqu'un m'aider?

Cordialement

Comments

Submitted by Sean McP on Mon, 01/25/2016 - 15:02

what is the full SQL statement?

regards
Seán

Submitted by azouzisameh on Mon, 01/25/2016 - 16:45

insert into 'bonita'. 'patient' ( 'cin_patient', 'nom_patient', 'prenom_patient', 'telephone_patient', 'adresse_patient', 'date_naissance') values( '${cin_patient}', '${nom_patient}', '${prenom_patient}', '${telephone_patient}', '${adresse_patient}', '${date_naissance}');

Submitted by Sean McP on Mon, 01/25/2016 - 19:32

and do you have a copy of the SQL that is actually being executed?

I suspect that you may have a value incorrect. i.e. ' in a name? or date is incorrect?

Seán

Submitted by azouzisameh on Tue, 01/26/2016 - 11:48

j'ai installé mysql 6.3 et bonita 7:
je suis sur que les noms des variables sont les mêmes que se soit dans la table ou dans la requette.

Submitted by Sean McP on Tue, 01/26/2016 - 13:42

Bien sur. Mais ce que je veux voir est la déclaration de défaut complet. Y compris les données ...

Au lieu d'écrire l'instruction SQL que vous avez, changer pour une expression groovy et construire le SQL dans le code et retourner la déclaration comme une chaîne. De cette façon, vous pouvez aussi écrire de la déclaration dans le journal et l'utiliser pour travailler sur la question en utilisant la console ...

No answers yet.
Notifications