I believe that reserved keywords should be valid column table names if quoted propertly, but both SELECT [Row] FROM mytable and SELECT `Row` FROM mytable result in the following error
net.ucanaccess.jdbc.UcanaccessSQLException: UCAExc:::3.0.4 unexpected token: FROM required: (
at net.ucanaccess.jdbc.UcanaccessStatement.execute(UcanaccessStatement.java:154)
at COM.safe.fme.JdbcReader.readHelper(JdbcReader.java:495)
at COM.safe.fme.JdbcReader.read(JdbcReader.java:354)
Caused by: java.sql.SQLSyntaxErrorException: unexpected token: FROM required: (
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.execute(Unknown Source)
at net.ucanaccess.jdbc.Execute.executeWrapped(Execute.java:56)
at net.ucanaccess.jdbc.AbstractExecute.executeBase(AbstractExecute.java:152)
at net.ucanaccess.jdbc.Execute.execute(Execute.java:46)
at net.ucanaccess.jdbc.UcanaccessStatement.execute(UcanaccessStatement.java:152)
... 2 more
Caused by: org.hsqldb.HsqlException: unexpected token: FROM required: (
at org.hsqldb.error.Error.parseError(Unknown Source)
at org.hsqldb.ParserBase.unexpectedTokenRequire(Unknown Source)
at org.hsqldb.ParserBase.checkIsThis(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesValueExpressionPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesFactor(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesTerm(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesCommonValueExpression(Unknown Source)
at org.hsqldb.ParserDQL.XreadValueExpression(Unknown Source)
at org.hsqldb.ParserDQL.XreadSelect(Unknown Source)
at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
at org.hsqldb.ParserCommand.compilePart(Unknown Source)
at org.hsqldb.ParserCommand.compileStatements(Unknown Source)
at org.hsqldb.Session.executeDirectStatement(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
... 8 more
Last edit: RavenAtSafe 2016-05-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I believe that reserved keywords should be valid column table names if quoted propertly, but both
SELECT [Row] FROM mytable
andSELECT `Row` FROM mytable
result in the following errorLast edit: RavenAtSafe 2016-05-04
it looks like an trivial omission in the "row" keyword handling (it wasn't listed as a keyword).
It will be fixed in the 3.0.5.
Cheers Marco
Last edit: Marco Amadei 2016-05-04