0

My code is un without a password but now I just encrypt SQLite file by using Db Browser and enter password pjjf so now how to connect it, now the old code is that how to pass the password

conn=DriverManager.getConnection("jdbc:sqlite:LiberaryNew.sqlite");

because

conn=DriverManager.getConnection("jdbc:sqlite:LiberaryNew.sqlite","pjjf");

not working

hong4rc
  • 3,999
  • 4
  • 21
  • 40

1 Answers1

0

JDBC doesn't support out of the box SQLCipher. Although you can use a modified version of the JDBC driver (sqlcipher-jdbc) from decamp that supports it. Yo