linghengqian commented on issue #4352:
URL: https://github.com/apache/gravitino/issues/4352#issuecomment-2453295083

   - We discussed this at 
https://lists.apache.org/thread/rqmq3t0b31fg3cz7jsm80rzpk18srnts . In an asf 
project, any logic code that uses the hibernate jar needs to be placed in a 
separate maven module or gradle module, and the hibernate dependency itself 
needs to have the `optional` set to `true` in the maven module or gradle module.
   ```xml
   <dependency>
       <groupId>org.hibernate.orm</groupId>
       <artifactId>hibernate-core</artifactId>
       <version>6.6.1.Final</version>
       <optional>true</optional>
   </dependency>
   ```
   - Direct replacement of hibernate is not allowed. The logic code related to 
hibernate can only be an optional module.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to