[CONJ-904] Fails with javax.sql.rowset.serial.SerialException Created: 2021-11-14 Updated: 2022-03-04 Resolved: 2022-03-04 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | JDBC 4.2 compatibility |
| Affects Version/s: | 2.7.2, 2.7.3, 2.7.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Andy Gegg | Assignee: | Diego Dupin |
| Resolution: | Not a Bug | Votes: | 2 |
| Labels: | None | ||
| Environment: |
Windows 10 |
||
| Issue Links: |
|
||||||||
| Description |
|
Attempt to connect with DriverManager.getConnection fails with The parameter value for getConnection is: Version 2.7.0 works OK. I've not tried 3.0.0. |
| Comments |
| Comment by Florian Dickbauer [ 2022-01-21 ] |
|
Hi, I'm observing the same error on all versions higher than 2.7.1. Haven't tried 3.0.0 yet. Running it on Java 11.0.13 with Spring Boot version 2.6.2 and Hibernate 5.6.3. BR |
| Comment by Diego Dupin [ 2022-01-21 ] |
|
NoClassDefFoundError error, not ClassNotFoundException. Do you use some module-info for your project ? if so can you add dependency "java.sql.rowset" ? |
| Comment by Andy Gegg [ 2022-01-21 ] |
|
Hi DIego, requires java.sql.rowset; to the module-info class and it now works without problem (version 2.7.4, no others tested). Many thanks, |
| Comment by Andy Gegg [ 2022-01-21 ] |
|
Hi, I hope this has been of help, |
| Comment by Florian Dickbauer [ 2022-01-21 ] |
|
Hi, I found the error. The JVM we're using was missing the module "java.sql.rowset". Added the missing module now everything is running fine. Sorry for reporting this as and error and wasting your time. Many thanks, |