You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since JDBC 4.0 Java uses the Service Provider mechanism for locating java.sql.Driver implementations (removing the need of using Class.forName(...) to explicitly load drivers). Jaybird currently does not provide the required Service Provider information.
See JDBC 4.0 specification paragraph 9.2.1:
"The DriverManager.getConnection method has been enhanced to support the Java Standard Edition Service Provider mechanism. JDBC 4.0 Drivers must include the file META-INF/services/java.sql.Driver. This file contains the name of the JDBC driver's implementation of java.sql.Driver."
Solution:
Add a file META-INF/services/java.sql.Driver containing one line:
org.firebirdsql.jdbc.FBDriver
description: Since JDBC 4.0 Java uses the Service Provider mechanism for locating java.sql.Driver implementations (removing the need of using Class.forName(...) to explicitly load drivers). Jaybird currently does not provide the required Service Provider information.
See JDBC 4.0 specification paragraph 9.2.1:
"The DriverManager.getConnection method has been enhanced to support the Java Standard Edition Service Provider mechanism. JDBC 4.0 Drivers must include the file META-INF/services/java.sql.Driver. This file contains the name of the JDBC driver's implementation of java.sql.Driver."
Solution:
Add a file META-INF/services/java.sql.Driver containing one line:
org.firebirdsql.FBDriver
=>
Since JDBC 4.0 Java uses the Service Provider mechanism for locating java.sql.Driver implementations (removing the need of using Class.forName(...) to explicitly load drivers). Jaybird currently does not provide the required Service Provider information.
See JDBC 4.0 specification paragraph 9.2.1:
"The DriverManager.getConnection method has been enhanced to support the Java Standard Edition Service Provider mechanism. JDBC 4.0 Drivers must include the file META-INF/services/java.sql.Driver. This file contains the name of the JDBC driver's implementation of java.sql.Driver."
Solution:
Add a file META-INF/services/java.sql.Driver containing one line:
org.firebirdsql.jdbc.FBDriver
Submitted by: @mrotteveel
Assigned to: Roman Rokytskyy (rrokytskyy)
Since JDBC 4.0 Java uses the Service Provider mechanism for locating java.sql.Driver implementations (removing the need of using Class.forName(...) to explicitly load drivers). Jaybird currently does not provide the required Service Provider information.
See JDBC 4.0 specification paragraph 9.2.1:
"The DriverManager.getConnection method has been enhanced to support the Java Standard Edition Service Provider mechanism. JDBC 4.0 Drivers must include the file META-INF/services/java.sql.Driver. This file contains the name of the JDBC driver's implementation of java.sql.Driver."
Solution:
Add a file META-INF/services/java.sql.Driver containing one line:
org.firebirdsql.jdbc.FBDriver
Commits: 6f469c5
The text was updated successfully, but these errors were encountered: