org.hsqldb.cmdline.SqlToolError: Failed to get metadata for query by using: "SELECT field1, field2, field, field4 FROM temp_tbl WHERE 1 = 2"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hsqldb by tokajac
, 1 year ago
Failed to get metadata for query by using: "SELECT field1, field2, field, field4 FROM temp_tbl WHERE 1 = 2"
via sourceforge.net by Unknown author, 1 year ago
Failed to get metadata for query by using: "SELECT field1, field2, field, field4 FROM temp_tbl WHERE 1 = 2"
org.hsqldb.HsqlException: user lacks privilege or object not found: FIELD
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.ExpressionColumn.checkColumnsResolved(Unknown Source)
at org.hsqldb.QueryExpression.resolve(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)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
at org.hsqldb.cmdline.SqlFile.importDsv(Unknown Source)
at org.hsqldb.cmdline.SqlFile.processSpecial(Unknown Source)
at org.hsqldb.cmdline.SqlFile.scanpass(Unknown Source)
at test.features.DSVImportSample.main(DSVImportSample.java:29)

Users with the same issue

Once, 2 months ago
5 times, 3 months ago
2 times, 6 months ago
2 times, 7 months ago
24 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.