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 <jtay...@oeinc.com> 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 >> <webobjects-dev@lists.apple.com> 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 (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com >> >> This email sent to jtay...@oeinc.com >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com