I'm currently using a spatialite lib given here:
What I want is to encrypt the spatialite database, but the problem I don't know where to start.
I'm thinking of using SQLCipher, but If I'am not wrong the sqlcipher replaces all the SQLiteDatabase instances, but how do i do this for spatialite.
Any ideas or has anyone already done something similar? Thanks!!!
Below is the link to discussion with geopaparazzi.
https://github.com/geopaparazzi/libjsqlite-spatialite-android/issues/11
I ended up creating two different db one to store my sensitive data and other for spatial related queries.
Related
Currently I have developed a c# project with Sqlite3. I need to replace Sqlite3 with Berkeley DB.
I need to know the followings,
Is it possible to replace? if yes, what should we follow?
Please advice.
Thank you.
There's an easy way and a hard way to replace sqlite3 with BerkeleyDB.
The easy way is to replace the sqlite3 libraries with the sqlite3 wrapper library (part of modern Berkeley DB) that uses BerkeleyDB as the data store engine under a modified sqlite3 (it's exactly a sqlite3 API).
The harder implementation would be to rewrite the SQL methods to use Berkeley DB. Since Berkeley DB is basically a NoSQL! key->value store, you will likely need to think about whether your schema is simple enough to justify the work involved.
I'm new to Dotnet, can someone please advice - I want to write a CLASS LIBARY which will help multiple functions and they will fetch values from database. This CLASS LIBRARY would then be compiled as DLL and given to other apps to use.
Can anyone provide me link - where I can find good samples of Ado.net or can anyprovide working code which shows me how to fetch multiple or single values from database (writing all this in class library)
Regards
ADO.NET #MSDN is a good starting point.
CodeProject features a good tutorial.
Check this out: Retrieving and Modifying Data in ADO.NET
If you already know how to create and open a connection to database, then read this section: DataAdapters and DataReaders
Go to http://www.w3schools.com/, it will be help lot of can you do better.
Hi do you know any resource wherein they have a complete guide on how to use SQLite on Monotouch (the one with ORM functions)
Have you read this? https://github.com/praeclarum/sqlite-net
Once you read that, you might find https://github.com/jstedfast/MonoTouch.SQLite useful for pulling data from an sqlite db into a UITableViewController.
Are there any add-ons or something that can enable Microsoft Access to save its database as .sqlite?
Or do you know of any other way I can convert them, both ways.
Thanx a lot
If you can find an application (libreoffice?) or language with bindings/reader to access or if you can convert the access "db" into something sane, it shouldn't be too difficult to go to sqlite from there. The code you need will probably be specific to your particular database and not a universal Access->sqlite converter.
Actually, you might see if access could directly talk to sqlite over ODBC. Longshot, but that might be closest to a full answer to your question.
You could see these, for starters:
What do I need to read Microsoft Access databases using Python?
how to deal with .mdb access files with python
SQLite Syntax Error In Union Select Query From MS-Access
How to use sqlite database from inside MS Access?
ODBC/JDBC resources
Bindings and libraries for your favourite languages
I am looking for a good change management application for use with SQLite. In the past I have used SQL Data compare by Redgate, but I have been unable to find anything similar that supports SQLite.
I need to update a fairly large encrypted SQLite database (~1,000,000 rows and 74MB). If possible I would like to generate some scripts to just update the changes rather than force users to download a whole new copy of the database. The version of SQLite we are using is 3.6.23.1. Thanks in advance for any recommendations :)
Have you tried SQLite Compare? It's freeware, and I have used it to compare schemas/data. I think it will also generate SQL update scripts for you too.