Is this issue stalled? Revision 504234 only removed REFRESH and PUBLICATION.
I had a quick look, and it seems to me that the reason why a user would possibly want to return this is if it's assumed these keywords have a special effect, i.e. are reserved keywords.
Maybe someone can check on the JDBC spec and say whether this is true, but even if it is not explicit about this, I would suggest we return the list of reserved non-SQL 92 keywords.
So, instead of the current list: ALIAS,BIGINT,BOOLEAN,CALL,CLASS,COPY,DB2J_DEBUG,EXECUTE,EXPLAIN,FILE,FILTER,GETCURRENTCONNECTION,INDEX,INSTANCEOF,METHOD,NEW,OFF,PROPERTIES,RECOMPILE,RENAME,RUNTIMESTATISTICS,STATEMENT,STATISTICS,TIMING,WAIT
we make this method return the contents of the sqlgrammar.jj section titled '/* Additional JSQL reserved keywords – non-SQL92 reserved Keywords */'
However, I - possibly erroneously - assumed that reserved meant that you'd get a syntax error if you tried to use them in a create table statement; but this is not the case, for instance, I can create a table with the name 'curdate' for instance. So, are the items listed here 'really' reserved (non-sql 92) keywords? How can I find out?
Assuming the ones on this list really are reserved keywords, I'd suggest toreturn: