xunliu commented on PR #4948:
URL: https://github.com/apache/gravitino/pull/4948#issuecomment-2371013533

   @mchades 
   > I am confused about why it worked before without needing an explicit call?
   
   Because the module after the shadow, there is no longer this file structure 
`META-INF/services/java.sql.Driver` , so you can not find the h2database 
through the SPI, you must show the call `Class.forName("org.h2.Driver");` 
function
   
   <img width="1125" alt="image" 
src="https://github.com/user-attachments/assets/b78afffb-0d40-46fa-880b-0cce56ed66c6";>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to