Can We Execute SQL on XLS in Java?
An indirect way is through a Java embedded database. We first load xls to it and then execute SQL. The advantage is that it makes full use of SQL’s computing ability, and disadvantages include extremely low real-time capability and a complicated loading process that involves checking if the same table name already exists, deleting and creating a table, parsing the file, importing data, creating the index, and so on. Moreover, data loading would fail if the source file has an irregular format. The direct way is to invoke the xls-based JDBC driver in Java, such as XLSJDBC, xlSQL and CDATA
...