This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Error code -104, SQL state 42601: [SQL0104] Token <END-OF-STATEMENT> was not valid. Valid tokens: + - AS <IDENTIFIER>. Legacy Database specifically AS400 have columns '#'. This is unfortunate but there appears to be know way to specify these in a select or insert. DbVisualizer and Intellij support this out of the box.
It was fixed in issue 172904. If you have another failing use case, please reopen this issue.