Read Only IBCConnection

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mariusz
Posts: 62
Joined: Wed 16 Jul 2008 21:04
Location: Poland / Poznan
Contact:

Read Only IBCConnection

Post by mariusz » Sat 06 Dec 2008 13:58

How to make Read Only IBCConnection. It's needed for embedded firebird database on CD.

thanks
M

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 08 Dec 2008 09:12

You can make read-only connection only to a database that has the read-only flag.
You should set the read-only flag by the following command before you write the database on a CD:

gfix -mode read_only foo.gdb

All connections to this database will automatically be readonly.

Post Reply