You are not logged in.
Database created by mORMot Framework can Not be operated by 3rd tools
like Navicat
take Sqlite3\sample\ 30 - MVC Server for demo,
navicat can open and do select Query operation
but write operation like Insert will trigger an error:
no such collation sequence: SYSTEMNOCASE
Offline
I think you'll have to disable those mORMot's built-in collations, I can't tell the details so please check the document.
Last edited by edwinsn (2020-01-16 12:41:47)
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Just inherit from TSQLRecordNoCase or TSQLRecordCaseSensitive instead of plain TSQLRecord, if you don't want to use SYSTEMNOCASE.
You can also override the procedure InternalDefineModel() but it is a bit more verbose.
Offline
Hi @ab
If the db created with mORMot by using a password, it can't be open in any 3rd tools. Would you please use https://github.com/utelle/wxsqlite3 for the db engine. It is shipped with encryption and 3rd tools can use the dll from there to open the db files.
This help a lot when debugging because I can take a look into the db, execute SQL query and see the result in 3rd tools.
Thank you very much!
Offline
You can use wxsqlite3 with mORMot with the dynamic linking mode. Search 'wxsqlite' in https://synopse.info/files/html/Synopse … 01.18.html
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
I know the dynamic linking mode. I mean static link mode! wxlsqlite provides full source code with encryption and can be built with C++Builder for linking into the app!
Last edited by DelphiRio (2020-01-17 05:02:54)
Offline
There is no standard encryption way with SQlite3.
The wxlsqlite version is not standard either.
Our SynDBExplorer tool handles our encryption scheme, and allow to inspect the DB files.
If anyone is willing to find out what is wrong with Delphi XE4 linking bug, and provide a fix, you are welcome!
Offline
If anyone is willing to find out what is wrong with Delphi XE4 linking bug, and provide a fix, you are welcome!
I guess your last line was intended to reply "Delphi 64bit sqlite compilation" ( https://synopse.info/forum/viewtopic.php?id=5127)
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline