I have some trouble connecting to an MS Access database ( or even an Oracle XE database ). Both problems are probably database-URL related.
Concerning the Access DB: I created a datasource and used the URL from a previous post ( jdbc
dbc:datasource_name ), but this doesn't seem to work.
For the Oracle database i tried the following URL: jdbc
racle://127.0.0.1:1524/XE
( and several other combinations to construct an url ).
Whatever url i use, i keep getting the following error-description:
java.lang.IllegalArgumentException: Write statement should be an insert / update / delete sql statement
at org.mule.providers.jdbc.JdbcMessageDispatcher.doDi spatch(JdbcMessageDispatcher.java:95)
at org.mule.providers.AbstractMessageDispatcher$Worke r.run(AbstractMessageDispatcher.java:257)
at org.mule.impl.work.WorkerContext.run(WorkerContext .java:290)
at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650)
at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.run(ThreadPoolExecutor.java :675)
at java.lang.Thread.run(Unknown Source)
{}
additional info:
I tested the INSERT statement on the database(s) and it was Ok. So no problem in the insert command.
Logging on with another tool to the database(s) works ( so usern./passw. is correct ).
Does someone have any experience in logging on to:
1. an Access database
2. an Oracle XE database
thanks for any help :-)
Jan
Concerning the Access DB: I created a datasource and used the URL from a previous post ( jdbc

For the Oracle database i tried the following URL: jdbc

( and several other combinations to construct an url ).
Whatever url i use, i keep getting the following error-description:
java.lang.IllegalArgumentException: Write statement should be an insert / update / delete sql statement
at org.mule.providers.jdbc.JdbcMessageDispatcher.doDi spatch(JdbcMessageDispatcher.java:95)
at org.mule.providers.AbstractMessageDispatcher$Worke r.run(AbstractMessageDispatcher.java:257)
at org.mule.impl.work.WorkerContext.run(WorkerContext .java:290)
at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650)
at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.run(ThreadPoolExecutor.java :675)
at java.lang.Thread.run(Unknown Source)
{}
additional info:
I tested the INSERT statement on the database(s) and it was Ok. So no problem in the insert command.
Logging on with another tool to the database(s) works ( so usern./passw. is correct ).
Does someone have any experience in logging on to:
1. an Access database
2. an Oracle XE database
thanks for any help :-)
Jan
Comment