Subject | Re: [firebird-support] how to run embedded firebird in a CD in |
---|---|
Author | Helen Borrie |
Post date | 2004-07-25T23:16:47Z |
At 05:47 PM 25/07/2004 -0400, you wrote:
MODE=READ_ONLY.
/heLen
>"Helen Borrie" <helebor@...> wrote in messageThe Params aren't documented anywhere, unfortunately; but you could try
>news:<5.2.0.9.2.20040211192342.0820fcf8@...>...
> > At 06:52 AM 11/02/2004 +0000, you wrote:
> > >I want to use embedded firebird as the database in my application,
> > >but because on the CD the file is always set to readonly, and when I
> > >try to connect to the database via jdbc, the system say Resource
> > >Exception. no permission for read-write access to database
> > >Reason: no permission for read-write access to database Error Code:
> > >335544352 SQL State: HY000
> > >does any one know, how to use the database in readonly mode?
> >
> > Yes.
> >
> > You actually have to make it a read-only database *before* you copy it
> > to
> > the CD.
> > Either
> > restore it from a backup with the -mode read_only switch
>
>I'm trying to do this programmatically using the IBOAdmin restore component.
>How do you set this property there? Is there a setting in Params to add for
>this?
MODE=READ_ONLY.
/heLen