On 16-2-2019 16:04, Dimitry Sibiryakov wrote:
16.02.2019 15:57, Mark Rotteveel wrote:
I was wondering if it was considered to also set these options through the DPB. Especially for time zone support, I'm currently considering not supporting this for Java 7 in Jaybird, and it would save some headaches if it were possible to control this through the DPB (eg explicit property or maybe using isc_dpb_config) instead of having to execute a statement after connect.

  One question: how are you going to decide whether these DPB options must be set (server is 4.0) or not (server 3.0-)?

Thanks, I forgot about the minor annoyance of not being able to use unknown DPB items on lower versions.

In that case, I'll have to hope implementing the minimum needs for protocol v16 (or was it v15?) doesn't give me too many headaches, because that would solve it automatically as populating DPB in the pure Java protocol in Jaybird only happens after connect when the protocol version is known. Native/embedded usage of Jaybird will just need to handle it explicitly (users would need to set a connection property).

Or I'll leave setting this compatibility option entirely to users stuck on Java 7. But then a DPB item is still preferable over having to execute an additional statement after attach.

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to