Hello again. =/
Having solved the problems to connect to the DB, now I'm fighting against the Querrys.
Now I'm tryng to make a ResultSet from exequting a Query (statement.executeQuery(params)), but I get an error, saying that the objetc (table) isn't found on the DB or that I have no priviledges to access it.
The DB don't have password, and the Table is there (QBasicaOSS13_3G_13_1900).
=/
Error:
net.ucanaccess.jdbc.UcanaccessSQLException: UCAExc:::3.0.3.1 usuario no tiene privilegios suficientes o objeto no encontrado: QBASICAOSS13_3G_13_1900
Thanks for your help
PS: I can't execute the console for that DB, because it lacks from heap size (I'm using 1g heap size to work with the data).
Copy this db and delete from this copy all things that aren't QBasicaOSS13_3G_13_1900 related. Than you'll be able to connect with the console and send the console output.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think Marco was referring to the innermost nested IIf() in the first column of the [Q_OSS13_RBSW13_RbsLocalCell] saved query. When reformatted with the IIf() functions indented as
You may need to adjust your queries to use the formulae for LONGITUDE_REAL and LATITUDE_REAL instead of just their names.
Or, you could create a UCanAccess user-defined function named "longitude_real" and then just use longitude_real(longitude) to get the derived value. There is an example of a user-defined function on the "Getting Started" page of the UCanAccess site.
Last edit: Gord Thompson 2016-01-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello again. =/
Having solved the problems to connect to the DB, now I'm fighting against the Querrys.
Now I'm tryng to make a ResultSet from exequting a Query (statement.executeQuery(params)), but I get an error, saying that the objetc (table) isn't found on the DB or that I have no priviledges to access it.
The DB don't have password, and the Table is there (QBasicaOSS13_3G_13_1900).
=/
Error:
Thanks for your help
PS: I can't execute the console for that DB, because it lacks from heap size (I'm using 1g heap size to work with the data).
Last edit: Alexis 2016-01-27
Copy this db and delete from this copy all things that aren't QBasicaOSS13_3G_13_1900 related. Than you'll be able to connect with the console and send the console output.
In the latest nested iif, add one argument to fit IIF(BOOLEAN,VARCHAR, VARCHAR)
I believe it were already like you said:
=/
I think Marco was referring to the innermost nested IIf() in the first column of the [Q_OSS13_RBSW13_RbsLocalCell] saved query. When reformatted with the IIf() functions indented as
it looks like this:
Notice that the innermost IIf() has ...
but no "value_if_false".
Last edit: Gord Thompson 2016-01-28
Solved that (in all the Querys)... but still getting the same problem =/
The query has a derived column named [longitude_real]
and is trying to refer to that column by name in another one of its derived columns. The HSQLDB backing database does not seem to like that.
Simplified example: For an Access table named [locations]
the saved query [TestQuery] works fine in Access itself
but UCanAccess' "console.bat" utility reports
You may need to adjust your queries to use the formulae for LONGITUDE_REAL and LATITUDE_REAL instead of just their names.
Or, you could create a UCanAccess user-defined function named "longitude_real" and then just use
longitude_real(longitude)to get the derived value. There is an example of a user-defined function on the "Getting Started" page of the UCanAccess site.Last edit: Gord Thompson 2016-01-28