SQLCipher and SQLiteJDBC

695 views
Skip to first unread message

Ralf H.

unread,
Apr 28, 2010, 2:31:56 AM4/28/10
to SQLCipher Users
Hello,

first of all I want to thank Stephen Lombardo for publishing
SQLCipher. Two weeks ago I found an article about it on the web. It
was exactly that what I was looking for. We wanted to have a encrypted
database that we could use for an iPhone application. This SQLite
database is created on a JBoss application server. So we needed a JDBC
driver for creating this database. Fortunately there is also an open-
source JDBC driver named SQLiteJDBC published by David Crawshaw
available on github. So I could build my own JDBC driver that can
write encrypted databases.

thanks
Ralf

Stephen Lombardo

unread,
Apr 28, 2010, 9:29:20 AM4/28/10
to sqlc...@googlegroups.com
Hi Ralf,

I can confirm this is possible, as I ran through this same exercise a few months ago testing the JDBC driver build with SQLCipher for a project. In fact, it only required some minor changes to the Makefile to get working. I just pushed my changes up to a github fork, in case it would help accelerate your work.


Here is the diff:


Basically, these changes replace the default amalgamation source with that of sqlcipher and add some compile time flags and linker options to enable the build. 

Good luck!

Cheers,
Stephen
Reply all
Reply to author
Forward
0 new messages