[CONJ-540] Class not found exception: QueryException Created: 2017-10-23  Updated: 2017-11-21  Resolved: 2017-11-21

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 2.1.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Christian Bourque Assignee: Diego Dupin
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Hibernate 4.3.5


Attachments: File mariadb.log    

 Description   

I tried to upgrade our MariaDB connector to 2.1.2 but I got a weird exception on a query that is working perfectly fine with our current version (1.5.4)! I get a serialization exception from Hibernate but there's also a nested exception coming from the driver itself: class not found exception (org.mariadb.jdbc.internal.util.dao.QueryException)!

I'm not sure what is the root cause of the issue yet but I'll try to isolate and reproduce the exception in a simple test case and then I'll update this ticket.



 Comments   
Comment by Christian Bourque [ 2017-10-25 ]

My bad! It appears that at some point in the past the class "org.mariadb.jdbc.internal.util.dao.QueryException" was serialized and persisted in the database but since this class has been deleted from the driver at version 1.6.0 well it can't be deserialized correctly with 2.1.2!

You can close this issue and sorry for the trouble...

Comment by Diego Dupin [ 2017-11-21 ]

closing has requested

Generated at Thu Feb 08 03:16:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.