been having an issue with an update query stored in the access file.
the callable statement throws the exception mentioned in the title.
while the prepared statement in the comments below it, works fine (SQL string was copied from the stored query with [#]'s changed to (?)'s).
also tested the stored query in access and it works.
i've triple-checked to see that the query name in the call statement matches the query name in the file.
can provide the database file if needed.
i want to limit the usage of SQL within the java code for this little project, so it's really important for me that anything that should be callable, will be called.
hi Igal, as you can see using the UCanAccess console, UCanAccess can't load the qryEditProduct procedure whilst it can load all the other ones. We are working on this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It will be fixed in the next release. In the meantime I suggest to declere explicitly all qryEditProduct parameters (in the query declaration in access).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys,
UCanAccess is truly great.
been having an issue with an update query stored in the access file.
the callable statement throws the exception mentioned in the title.
while the prepared statement in the comments below it, works fine (SQL string was copied from the stored query with [#]'s changed to (?)'s).
also tested the stored query in access and it works.
i've triple-checked to see that the query name in the call statement matches the query name in the file.
can provide the database file if needed.
i want to limit the usage of SQL within the java code for this little project, so it's really important for me that anything that should be callable, will be called.
thanks!
connection string:
Last edit: Igal Klebanov 2016-09-29
hi Igal, as you can see using the UCanAccess console, UCanAccess can't load the qryEditProduct procedure whilst it can load all the other ones. We are working on this.
It will be fixed in the next release. In the meantime I suggest to declere explicitly all qryEditProduct parameters (in the query declaration in access).
thank you for the response. looking forward to the next release. is there an ETA?
Fixed in the 3.0.7