[hibernate-dev] [OGM] Package structure in OGM modules

Gunnar Morling gunnar at hibernate.org
Wed Jul 3 05:34:11 EDT 2013


Hi,

I'm wondering about the package structure in the provider-specific OGM
modules (hibernate-ogm-mongodb etc.). Why is it e.g.:

    org.hibernate.ogm.{datastore|dialect|type|...}.mongodb

instead of

    org.hibernate.ogm.mongodb.{datastore|dialect|type|...}

?

Intuitively I'd have expected the latter, as I'd consider the provider as
the more global concept and the different sub-structures of a given
provider as a more specific (sub)-concept.

It surely works both ways, I'm just wondering what the rationale was to go
for the current approach.

Thanks,

--Gunnar


More information about the hibernate-dev mailing list