yuqi1129 commented on code in PR #4948:
URL: https://github.com/apache/gravitino/pull/4948#discussion_r1772694796


##########
core/src/main/java/org/apache/gravitino/storage/relational/database/H2Database.java:
##########
@@ -54,6 +54,12 @@ public String startH2Database(Config config) {
 
     String connectionUrl = constructH2URI(originalJDBCUrl, storagePath);
 
+    try {
+      Class.forName("org.h2.Driver");

Review Comment:
   <img width="1778" alt="image" 
src="https://github.com/user-attachments/assets/372e1998-acbf-444b-852a-d607e102eeaa";>
   
   There are many files named `META-INF/services/java.sql.Driver` and can only 
retain one after shadowing all jars. According to picture above, the content is 
not right, it should be `org.h2.Driver`



-- 
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