Subject Re: [Firebird-Java] Re: Shutting down a database
Author Juan Pedro López Sáez

I can shut down my database passing to the connection string something
like this:


The problem comes when I want to bring the database online.

I tried the following:


without success. After that the database is still shut down.

I supposed isc_dpb_online would do the task but it seems I was wrong.

Any suggestions?

Thank you.

Juan Pedro Lopez.

> > This is very simple question: is there any way to shut down a
> database
> > directly from a java program?
> >
> > I know gfix does this task, but I would like to integrate it into my
> > java application.
> I have never tried, but there's a DPB parameter isc_dpb_shutdown. You
> can try to pass following with connection string:
> where possible values are combination of following flags:
> 1 - shutdown cache
> 2 - shutdown attachments
> 4 - shutdown transaction
> 8 - shutdown force
> If you suceed, please report it here, we will include this in FAQ.
> Best regards,
> Roman Rokytskyy
> Yahoo! Groups Sponsor
> click here
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Juan Pedro López Sáez