Re: FB JDBC version?
Re: FB JDBC version?
- Subject: Re: FB JDBC version?
- From: ocs--- via Webobjects-dev <email@hidden>
- Date: Fri, 23 Aug 2024 13:13:40 +0200
Jesse,
I might be wrong, but I understand this is not the driver version, but a JDBC
compatibility level or something like that. Anyway, the FrontBase driver
version is three-part (like 2.5.10), not just major.minor.
Thanks!
OC
> On 22. 8. 2024, at 22:48, Jesse Tayler <email@hidden> wrote:
>
> I happen to use a different API, perhaps results are different.
>
> java.sql.Driver driver = java.sql.DriverManager.getDriver(“my login string…”);
> ERXApplication.log.info("Driver Version: " + driver.getMajorVersion() + "." +
> driver.getMinorVersion());
>
>
>> On Aug 22, 2024, at 3:54 PM, OCsite via Webobjects-dev
>> <email@hidden> wrote:
>>
>> Hi there,
>>
>> how does one properly determine the current FB JDBC driver version?
>>
>> Lately we were not sure whether all our installations contain the newest
>> release, and thus I've added a code to log out the version. The code I've
>> found — is there another, better, and more reliable variant? — looks like
>> this:
>>
>> ===
>> def eoa=EOAdaptor.adaptorWithModel(model)
>> def pin=eoa.plugIn()
>> logln "using driver $eoa.plugInName ${pin.jdbcInfo['DRIVER_VER']}"
>> ===
>>
>> The problem is, this code gives me different results (sometimes 2.5.10,
>> sometimes 2.5.9) for the very same frontbasejdbc.jar (which should really be
>> 2.5.20 — 240643 bytes, md5 72266d135712d26c60bc5cc1e1dc7c94). What do I
>> overlook?
>>
>> Thanks,
>> OC
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden