Subject Re: Shutting down a database
Author Roman Rokytskyy
> 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:

jdbc:...my.gdb?shutdown=<value>

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