Introduce short names for MongoDialect/MongoConnectionProvider, rename com.mongodb.hibernate.dialect/com.mongodb.hibernate.jdbc to com.mongodb.hibernate.internal.dialect/com.mongodb.hibernate.internal.jdbc

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None

      See https://docs.jboss.org/hibernate/orm/6.6/integrationguide/html_single/Hibernate_Integration_Guide.html#_strategyselector for more details.

      The short names we decide on, will be part of our API, and should follow the usual Hibernate ORM conventions for such names (I wasn't able to quickly find out what they are.

      Note that there is a linked PoC for this ticket

      We should also make the com.mongodb.hibernate.dialect, com.mongodb.hibernate.jdbc packages internal, and remove the corresponding exclude statements from build.gradle.kts. This means that we will have to move the API documentation from MongoDialect, MongoConnectionProvider somewhere. The overview API page (see -overview at https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options) seems to be the ideal place, but I was unable to make it work even when running javadoc manually. Another place is the module API documentation, which we may try if we do HIBERNATE-52.

            Assignee:
            Unassigned
            Reporter:
            Valentin Kavalenka
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: