sqlitejdbc icon indicating copy to clipboard operation
sqlitejdbc copied to clipboard

Importing .sql file

Open forced-request opened this issue 13 years ago • 0 comments

It would be nice to see support added for easily executing .sql files. For example, the Web Exploitation Framework implements the 'jdbc/sqlite3' library. We have a module that is intended to load and execute .sql files. From what I noticed, there isn't support for such. My workaround for this situation bypasses the library directly and uses shell execution to get the job done.

res = `cat #{ModDatumDb}fingerprint_schemas/#{filename} | sqlite3 #{@db}`

I'm not happy with this solution. If anyone has any suggestions about how to improve this please let me know!

forced-request avatar Jun 21 '12 01:06 forced-request