#1 2013-02-15 13:35:11

corchi72
Member
Registered: 2010-12-10
Posts: 232

Example 16: why I not see the list of tables of *.sqlite file?

I can not see the list of tables in a Database generated with mMormot Framework.

Thanks corchi

Offline

#2 2013-02-15 14:10:51

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Example 16: why I not see the list of tables of *.sqlite file?

No problem from here, compiled with Delphi 7.

Offline

#3 2013-02-15 14:13:05

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: Example 16: why I not see the list of tables of *.sqlite file?

I compiled with Delphi XE2 update 4

Synopse framework 1.18

SQLite3 engine  3.7.15.2

Last edited by corchi72 (2013-02-15 14:24:47)

Offline

#4 2013-02-15 15:26:40

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Example 16: why I not see the list of tables of *.sqlite file?

Do simple SELECT commands work?

Are you sure you are pointing to the right .sqlite file?

Offline

#5 2013-02-15 15:46:32

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: Example 16: why I not see the list of tables of *.sqlite file?

The path to the *. Sqlite is correct, but I can not do any query, I left the server name white,and I filled in all the other fields, Admin, synopse.

I have noticed that I only sqliteadmin using the system table sqlite_sequence and I do not see sqlite_master, while if I use pro sqlite2009 see both the system tables.
What do you think?

Offline

#6 2013-02-15 17:27:49

esmondb
Member
From: London
Registered: 2010-07-20
Posts: 299

Re: Example 16: why I not see the list of tables of *.sqlite file?

I've just tried it and it works for some tables but not for others in XE2. The AuthGroup table shows fine but Users table gives this exception:

Project Project16Client.exe raised exception class EInterfaceFaceFactoryException with message 'Invalid fake IRemoteSQL.Execute interface call:'.

Offline

#7 2013-02-15 22:03:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Example 16: why I not see the list of tables of *.sqlite file?

Yes, there is an issue with the new RawJSON kind of parameter.

I'll fix it ASAP, and add some regression tests.

Offline

#8 2013-02-16 12:16:20

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Example 16: why I not see the list of tables of *.sqlite file?

Issue should be fixed by http://synopse.info/fossil/info/e40d9d5a49

I've tested it with Delphi 7 and XE2, and works as expected.

@corchi: to use SQLite3 engine, follow the TSQLDBSQLite3Properties.Create pattern, i.e. put the DB file name as server name, and leave other fields blank.

Offline

#9 2013-02-18 08:47:36

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: Example 16: why I not see the list of tables of *.sqlite file?

ok, I just tested the fix and it works fine!!
thanks

Offline

Board footer

Powered by FluxBB