How do I pass Database Parameter Buffer (DPB) parameters?
If you use FBWrappingDataSource, you specify DPB parameters in FBConnectionRequestInfo. If you are using java.sql.DriverManager you can pass any DPB parameter by stripping the “isc_dpb_” from the DPB parameter name and putting it in the URL. In case of roles and character encoding this could be: …my.gdb?sql_role_name=guest&lc_ctype=WIN1251 See the InterBase API Guide Chapter 4, “Working with Databases” for more details. The following table is a listing of DPB parameters.