FB JDBC version?

2024-08-22 Thread OCsite via Webobjects-dev
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 l

Re: FB JDBC version?

2024-08-22 Thread Jesse Tayler via Webobjects-dev
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 Webob

Re: FB JDBC version?

2024-08-22 Thread Ramsey Gurley via Webobjects-dev
Are you sure you don't have more than one jdbc jar floating around in your application build path? With ant, I forget how it determines which jar wins. With maven, you can just open the pom.xml in eclipse and check in the Dependency Hierarchy tab. From: OCsite vi