apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://gravitino.apache.org
Apache License 2.0
918 stars 297 forks source link

[FEATURE] Would consider replacing mybatis with hibernate? #4352

Open melin opened 1 month ago

melin commented 1 month ago

Describe the feature

Would consider replacing mybatis with hibernate? tob enterprise has a lot of various databases, such as requiring the use of dameng database, mybatis dialect support is weak。 unitycatalog uses hibernate

Motivation

No response

Describe the solution

No response

Additional context

No response

yuqi1129 commented 1 month ago

@melin Thanks for your attention. This is a valid point; the community is also going to support additional databases besides MySQL, H2, like PG, Oracle, and so on, and Mybatis, which may not be well-suited for handling multiple dialects.

Would you like to work on this?

justinmclean commented 1 month ago

Currently, Hibernate is under a GPL license, which is not compatible with the Apache license, so it can't be used in ASF software or, in fact, any Apache licensed software.

melin commented 1 month ago

unitycatalog is an Apache license. Why can unitycatalog be used? https://github.com/unitycatalog/unitycatalog/?tab=Apache-2.0-1-ov-file#readme

justinmclean commented 1 month ago

They shouldn't see https://github.com/unitycatalog/unitycatalog/issues/75

melin commented 1 month ago

EclipseLink can be an alternative